An experimental assessment of using theoretical defect predictors to guide search-based software testing
Perera, Anjana; Aleti, Aldeida; Turhan, Burak; Böhme, Marcel (2022-01-31)
A. Perera, A. Aleti, B. Turhan and M. Boehme, "An Experimental Assessment of Using Theoretical Defect Predictors to Guide Search-Based Software Testing," in IEEE Transactions on Software Engineering, doi: 10.1109/TSE.2022.3147008
© The Author(s) 2022. This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/.
https://creativecommons.org/licenses/by/4.0/
https://urn.fi/URN:NBN:fi-fe2022042530264
Tiivistelmä
Abstract
Automated test generators, such as search-based software testing (SBST) techniques are primarily guided by coverage information. As a result, they are very effective at achieving high code coverage. However, is high code coverage alone sufficient to detect bugs effectively In this paper, we propose a new SBST technique, predictive many objective sorting algorithm (PreMOSA), which augments coverage information with defect prediction information to decide where to increase the test coverage in the class under test (CUT). Through an experimental evaluation using 420 labelled bugs on the Defects4J benchmark and using theoretical defect predictors, we demonstrate the improved effectiveness and efficiency of PreMOSA in detecting bugs when using any acceptable defect predictor, i.e., a defect predictor with recall and precision 75%, compared to the state-of-the-art dynamic many objective sorting algorithm (DynaMOSA). PreMOSA detects up to 8.3% more labelled bugs on average than DynaMOSA when given a time budget of 2 minutes for test generation per CUT.
Kokoelmat
- Avoin saatavuus [34516]