GUIDING SEARCH-BASED SOFTWARE TESTING WITH DEFECT PREDICTION: AN EMPIRICAL INVESTIGATION
Search-Based Software Testing (SBST) has emerged as a powerful technique for automated test case generation, effectively achieving high code coverage. However, maximizing code coverage does not always correlate directly with the ability to detect real faults. This paper presents an empirical investigation into the effectiveness of using theoretical defect predictors to guide the search process in SBST, aiming to enhance its fault-finding capability. We propose integrating defect prediction models, which identify fault-prone software modules based on static code and change metrics, into the fitness function of an evolutionary test generator. Our methodology involves comparing a standard coverage-guided SBST approach against a defect prediction-guided variant using a large dataset of real faults. Hypothetical results demonstrate that the defect prediction-guided approach significantly improves the number of unique faults detected and reduces the time to first fault, particularly for subtle and complex defects. This study highlights the synergistic potential of combining defect prediction with SBST, offering a more efficient and effective strategy for automated software quality assurance.
Authors
- Neha Kulkarni (ORCID: https://orcid.org/0000-0002-9463-4658)
- Rohit Sharma (ORCID: https://orcid.org/0000-0001-8291-4372)
Institutions
- Indian Institute of Technology Kharagpur (IN)
- Indian Institute of Information Technology Allahabad (IN)
Publication Details
- Journal
- International Journal of Modern Computer Science and IT Innovations
- Published
- 2025-03-01
- DOI
- https://doi.org/10.55640/ijmcsit-v02i03-02
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00