Sciweavers

ISSTA
2010
ACM

Automated fixing of programs with contracts

14 years 3 months ago
Automated fixing of programs with contracts
In program debugging, finding a failing run is only the first step; what about correcting the fault? Can we automate the second task as well as the first? The AutoFix-E tool automatically generates and validates fixes for software faults. The key insights behind AutoFix-E are to rely on contracts present in the software to ensure that the proposed fixes are ally sound, and on state diagrams using an abstract notion of state based on the boolean queries of a class. Out of 42 faults found by an automatic testing tool in two widely used Eiffel libraries, AutoFix-E proposes successful fixes for 16 faults. Submitting some of these faults to experts shows that several of the proposed fixes are identical or close to fixes proposed by humans. Categories and Subject Descriptors D.2.5 [Software Engineering]: Testing and Debugging— debugging aids, diagnostics; D.2.4 [Software Engineering]: Software Verification—programming by contract, assertion checkers, reliability; F.3.1 [Logics...
Yi Wei, Yu Pei, Carlo A. Furia, Lucas S. Silva, St
Added 15 Aug 2010
Updated 15 Aug 2010
Type Conference
Year 2010
Where ISSTA
Authors Yi Wei, Yu Pei, Carlo A. Furia, Lucas S. Silva, Stefan Buchholz, Bertrand Meyer, Andreas Zeller
Comments (0)