Speeding Up Genetic Improvement via Regression Test Selection
Open Access
- 19 November 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 33 (8) , 1-31
Abstract
Genetic Improvement (GI) uses search-based optimisation algorithms to automatically improve software with respect to both functional and non-functional properties. Our previous work showed that Regression Test Selection (RTS) can help speed up the use of GI and enhance the overall results while not affecting the software system’s validity. This article expands upon our investigation by answering further questions about safety and applying a GI algorithm based on Local Search (LS) in addition to the previously explored Genetic Programming (GP) approach. Further, we extend the number of subjects to 12 by analysing five larger real-world open-source programs. We empirically compare two state-of-the-art RTS techniques combined with GP and LS for these 12 programs. The results show that both RTS techniques are safe to use and can reduce the cost of GI by up to 80% and by 31% on average across programs. We also observe that both search-based algorithms impact the effectiveness gains of GI differently, and that various RTS strategies achieve differing gains in terms of efficiency. These results serve as further evidence that RTS must be used as a core component of the GI search process to maximise its effectiveness and efficiency.Keywords
Funding Information
- ERC (741278)
- EPSRC (EP/P023991/1)
This publication has 43 references indexed in Scilit:
- Program transformation landscapes for automated program modification using GinEmpirical Software Engineering, 2023
- An empirical comparison of four Java-based regression test selection techniquesJournal of Systems and Software, 2022
- Software Improvement with Gin: A Case StudyLecture Notes in Computer Science, 2019
- A correlation study between automated program repair and test-suite metricsEmpirical Software Engineering, 2017
- Object-Oriented Genetic Improvement for Improved Energy Consumption in Google Guava2015
- Regression testing minimization, selection and prioritization: a surveySoftware Testing, Verification and Reliability, 2012
- Search Based Software Engineering: Techniques, Taxonomy, Tutorial2012
- A fast and elitist multiobjective genetic algorithm: NSGA-IIIEEE Transactions on Evolutionary Computation, 2002
- No free lunch theorems for optimizationIEEE Transactions on Evolutionary Computation, 1997
- Use of Ranks in One-Criterion Variance AnalysisJournal of the American Statistical Association, 1952