Sciweavers

ICSE
2011
IEEE-ACM

Inferring better contracts

13 years 3 months ago
Inferring better contracts
Considerable progress has been made towards automatic support for one of the principal techniques available to enhance program reliability: equipping programs with extensive contracts. The results of current contract inference tools are still often unsatisfactory in practice, especially for programmers who already apply some kind of basic Design by Contract discipline, since the inferred contracts tend to be simple assertions—the very ones that programmers find easy to write. We present new, completely automatic inference techniques and a supporting tool, which take advantage of the presence of simple programmer-written contracts in the code to infer sophisticated assertions, involving for example implication and universal quantification. Applied to a production library of classes covering standard data structures such as linked lists, arrays, stacks, queues and hash tables, the tool is able, entirely automatically, to infer 75% of the complete contracts—contracts yielding the f...
Yi Wei, Carlo A. Furia, Nikolay Kazmin, Bertrand M
Added 29 Aug 2011
Updated 29 Aug 2011
Type Journal
Year 2011
Where ICSE
Authors Yi Wei, Carlo A. Furia, Nikolay Kazmin, Bertrand Meyer
Comments (0)