I recently hosted an episode of Software Engineering Radio called "Eran Yahav on the Tabnine AI Coding Assistant"!

  • Home
  • Teaching
    • Overview
    • Data Abstraction
    • Operating Systems
  • Research
    • Overview
    • Papers
    • Presentations
  • Outreach
    • Software
    • Service
    • Blog
  • About
    • Biography
    • Schedule
    • Contact
    • Blog
    • Service
    • Papers
    • Presentations

An empirical study on the use of defect prediction for test case prioritization

defect prediction
empirical study
software tool
Proceedings of the 12th International Conference on Software Testing, Verification and Validation
Authors

David Paterson

José Campos

Rui Abreu

Gregory M. Kapfhammer

Gordon Fraser

Phil McMinn

Published

2019

Abstract
Test case prioritization has been extensively researched as a means for reducing the time taken to discover regressions in software. While many different strategies have been developed and evaluated, prior experiments have shown them to not be effective at prioritizing test suites to find real faults. This paper presents a test case prioritization strategy based on defect prediction, a technique that analyzes code features — such as the number of revisions and authors — to estimate the likelihood that any given Java class will contain a bug. Intuitively, if defect prediction can accurately predict the class that is most likely to be buggy, a tool can prioritize tests to rapidly detect the defects in that class. We investigated how to configure a defect prediction tool, called Schwa, to maximize the likelihood of an accurate prediction, surfacing the link between perfect defect prediction and test case prioritization effectiveness. Using 6 real-world Java programs containing 395 real faults, we conducted an empirical evaluation comparing this paper’s strategy, called G-clef, against eight existing test case prioritization strategies. The experiments reveal that using defect prediction to prioritize test cases reduces the number of test cases required to find a fault by on average 9.48% when compared with existing coverage-based strategies , and 10.5% when compared with existing history-based strategies.
Details

Paper
Presentation
Presentation
kanonizo/kanonizo

Reference
@inproceedings{Paterson2019,
 author = {David Paterson and José Campos and Rui Abreu and Gregory M.
Kapfhammer and Gordon Fraser and Phil McMinn},
 booktitle = {Proceedings of the 12th International Conference on Software
Testing, Verification and Validation},
 title = {An empirical study on the use of defect prediction for test case
prioritization},
 year = {2019}
}

Return to Paper Listing

GMK

Top