Code-based automated program fixing

  • Authors:
  • Yu Pei;Yi Wei;Carlo A. Furia;Martin Nordio;Bertrand Meyer

  • Affiliations:
  • Software Engineering, ETH Zurich, Switzerland;Software Engineering, ETH Zurich, Switzerland;Software Engineering, ETH Zurich, Switzerland;Software Engineering, ETH Zurich, Switzerland;Software Engineering, ETH Zurich, Switzerland

  • Venue:
  • ASE '11 Proceedings of the 2011 26th IEEE/ACM International Conference on Automated Software Engineering
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Initial research in automated program fixing has generally limited itself to specific areas, such as data structure classes with carefully designed interfaces, and relied on simple approaches. To provide high-quality fix suggestions in a broad area of applicability, the present work relies on the presence of contracts in the code, and on the availability of static and dynamic analyses to gather evidence on the values taken by expressions derived from the code. The ideas have been built into the AutoFix-E2 automatic fix generator. Applications of AutoFix-E2 to general-purpose software, such as a library to manipulate documents, show that the approach provides an improvement over previous techniques, in particular purely model-based approaches.