Mining Software Defects: Should We Consider Affected Releases?
Authors:
- 1 May 2019
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 654-665
Abstract
With the rise of the Mining Software Repositories (MSR) field, defect datasets extracted from software repositories play a foundational role in many empirical studies related to software quality. At the core of defect data preparation is the identification of post-release defects. Prior studies leverage many heuristics (e.g., keywords and issue IDs) to identify post-release defects. However, such the heuristic approach is based on several assumptions, which pose common threats to the validity of many studies. In this paper, we set out to investigate the nature of the difference of defect datasets generated by the heuristic approach and the realistic approach that leverages the earliest affected release that is realistically estimated by a software development team for a given defect. In addition, we investigate the impact of defect identification approaches on the predictive accuracy and the ranking of defective modules that are produced by defect models. Through a case study of defect datasets of 32 releases, we find that that the heuristic approach has a large impact on both defect count datasets and binary defect datasets. Surprisingly, we find that the heuristic approach has a minimal impact on defect count models, suggesting that future work should not be too concerned about defect count models that are constructed using heuristic defect datasets. On the other hand, using defect datasets generated by the realistic approach lead to an improvement in the predictive accuracy of defect classification models.Keywords
This publication has 63 references indexed in Scilit:
- Mining Version Histories for Detecting Code SmellsIEEE Transactions on Software Engineering, 2014
- Evaluating prediction systems in software project estimationInformation and Software Technology, 2012
- Evaluating defect prediction approaches: a benchmark and an extensive comparisonEmpirical Software Engineering, 2011
- An exploratory study of the impact of antipatterns on class change- and fault-pronenessEmpirical Software Engineering, 2011
- Defect prediction from static code features: current results, limitations, new approachesAutomated Software Engineering, 2010
- A systematic and comprehensive investigation of methods to build and evaluate fault prediction modelsJournal of Systems and Software, 2010
- On the relative value of cross-company and within-company data for defect predictionEmpirical Software Engineering, 2009
- When do changes induce fixes?ACM SIGSOFT Software Engineering Notes, 2005
- A validation of object-oriented design metrics as quality indicatorsIEEE Transactions on Software Engineering, 1996
- The meaning and use of the area under a receiver operating characteristic (ROC) curve.Radiology, 1982