Our experience with the codecontracts static checker

  • Authors:
  • Francesco Logozzo

  • Affiliations:
  • Microsoft Research, Redmond, WA

  • Venue:
  • VSTTE'12 Proceedings of the 4th international conference on Verified Software: theories, tools, experiments
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this tutorial I will report our experience with CodeContracts [5], and in particular with its static checker (cccheck/clousot) [6]. CodeContracts are a language-agnostic solution to the specification problem. Preconditions, postconditions and object invariants are with opportune method calls acting as specification markers [4]. The CodeContracts API is part of the core .NET standard. The CodeContracts tools have been downloaded more than 50 000 times, and they are currently used in many projects by professional programmers.