PropR: property-based automatic program repair.
Saved in:
| Title: | PropR: property-based automatic program repair. |
|---|---|
| Authors: | Gissurarson, Matthías Páll1 pallm@chalmers.se, Applis, Leonhard2 L.H.Applis@Tudelft.nl, Panichella, Annibale2 A.Panichella@Tudelft.nl, van Deursen, Arie2 Arie.vanDeursen@Tudelft.nl, Sands, David1 dave@chalmers.se |
| Source: | ICSE: International Conference on Software Engineering. 2022, p1768-1780. 13p. |
| Subjects: | Automatic programming (Computer science), Quality control, Localization theory, Software engineering, Computer software |
| Abstract: | Automatic program repair (APR) regularly faces the challenge of overfitting patches --- patches that pass the test suite, but do not actually address the problems when evaluated manually. Currently, overfit detection requires manual inspection or an oracle making quality control of APR an expensive task. With this work, we want to introduce properties in addition to unit tests for APR to address the problem of overfitting. To that end, we design and implement PropR, a program repair tool for Haskell that leverages both property-based testing (via QuickCheck) and the rich type system and synthesis offered by the Haskell compiler. We compare the repair-ratio, time-to-first-patch and overfitting-ratio when using unit tests, property-based tests, and their combination. Our results show that properties lead to quicker results and have a lower overfit ratio than unit tests. The created overfit patches provide valuable insight into the underlying problems of the program to repair (e.g., in terms of fault localization or test quality). We consider this step towards fitter, or at least insightful, patches a critical contribution to bring APR into developer workflows. [ABSTRACT FROM AUTHOR] |
| Copyright of ICSE: International Conference on Software Engineering is the property of Association for Computing Machinery and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) | |
| Database: | Engineering Source |
|
Full text is not displayed to guests.
Login for full access.
|
|
Be the first to leave a comment!