Please use this identifier to cite or link to this item: https://hdl.handle.net/2440/139187
Citations
Scopus Web of Science® Altmetric
?
?
Type: Journal article
Title: Program transformation landscapes for automated program modification using Gin
Author: Petke, J.
Alexander, B.
Barr, E.T.
Brownlee, A.E.I.
Wagner, M.
White, D.R.
Citation: Empirical Software Engineering: an international journal, 2023; 28(4):104-104
Publisher: SPRINGER
Issue Date: 2023
ISSN: 1382-3256
1573-7616
Statement of
Responsibility: 
Justyna Petke, Brad Alexander, Earl T. Barr, Alexander E.I. Brownlee, Markus Wagner, David R. White
Abstract: Automated program modification underlies two successful research areas—genetic improvement and program repair. Under the generate-and-validate strategy, automated program modification transforms a program, then validates the result against a test suite. Much work has focused on the search space of application of single fine-grained operators — copy, delete, replace, and swap at both line and statement granularity. This work explores the limits of this strategy. We scale up existing findings an order of magnitude from small corpora to 10 real-world Java programs comprising up to 500k LoC. We decisively show that the grammar-specificity of statement granular edits pays off: its pass rate triples that of line edits and uses 10% less computational resources. We confirm previous findings that delete is the most effective operator for creating test-suite equivalent program variants.We go farther than prior work by exploring the limits of delete’s effectiveness by exhaustively applying it. We show this strategy is too costly in practice to be used to search for improved software variants. We further find that pass rates drop from 12–34% for single statement edits to 2–6% for 5-edit sequences, which implies that further progress will need human-inspired operators that target specific faults or improvements. A program is amenable to automated modification to the extent to which automatically editing it is likely to produce test-suite passing variants. We are the first to systematically search for a code measure that correlates with a program’s amenability to automated modification. We found no strong correlations, leaving the question open.
Keywords: Automated program modification; Genetic improvement; Automated program repair; Search-based software engineering
Rights: © The Author(s) 2023. This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
DOI: 10.1007/s10664-023-10344-5
Grant ID: http://purl.org/au-research/grants/arc/DE160100850
http://purl.org/au-research/grants/arc/DP200102364
http://purl.org/au-research/grants/arc/DP210102670
Published version: http://dx.doi.org/10.1007/s10664-023-10344-5
Appears in Collections:Computer Science publications

Files in This Item:
File Description SizeFormat 
hdl_139187.pdfPublished version1.31 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.