Problems with SZZ and Features: An empirical study of the state of practice of defect prediction data collection
Not on the map. Why?
Abstract (arXiv)
Context: The SZZ algorithm is the de facto standard for labeling bug fixing commits and finding inducing changes for defect prediction data. Recent research uncovered potential problems in different parts of the SZZ algorithm. Most defect prediction data sets provide only static code metrics as features, while research indicates that other features are also important. Objective: We provide an empirical analysis of the defect labels created with the SZZ algorithm and the impact of commonly used features on results. Method: We used a combination of manual validation and adopted or improved heuristics for the collection of defect data. We conducted an empirical study on 398 releases of 38 Apache projects. Results: We found that only half of the bug fixing commits determined by SZZ are actually bug fixing. If a six-month time frame is used in combination with SZZ to determine which bugs affect a release, one file is incorrectly labeled as defective for every file that is correctly labeled as defective. In addition, two defective files are missed. We also explored the impact of the relatively small set of features that are available in most defect prediction data sets, as there are multiple publications that indicate that, e.g., churn related features are important for defect prediction. We found that the difference of using more features is not significant. Conclusion: Problems with inaccurate defect labels are a severe threat to the validity of the state of the art of defect prediction. Small feature sets seem to be a less severe threat.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 20 Nov 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 0; 2024: 1; 2025: 2; 2026: 1.
6 papers.
- 2024Are Latent Vulnerabilities Hidden Gems for Software Vulnerability Prediction? An Empirical Studycited by 9
- 2022Studying the explanations for the automated prediction of bug and non-bug issues using LIME and SHAPcited by 4
- 2022SUPERNOVA: Automating Test Selection and Defect Prevention in AAA Video Games Using Risk Based Testing and Machine Learningcited by 1
- 2025ReDef: Do Code Language Models Truly Understand Code Changes for Just-in-Time Software Defect Prediction?cited by 0
- 2025AutoEmpirical: LLM-Based Automated Research for Empirical Software Fault Analysiscited by 0
- 2026TraceVIC: Causal Reasoning over Code Evolution for Identifying Vulnerability-Inducing Commitscited by 0
- 2026TraceVIC: Causal Reasoning over Code Evolution for Identifying Vulnerability-Inducing Commits22 Sep 2026
- 2025AutoEmpirical: LLM-Based Automated Research for Empirical Software Fault Analysis6 Oct 2025
- 2025ReDef: Do Code Language Models Truly Understand Code Changes for Just-in-Time Software Defect Prediction?11 Sep 2025
- 2024Are Latent Vulnerabilities Hidden Gems for Software Vulnerability Prediction? An Empirical Study20 Jan 2024
- 2022Studying the explanations for the automated prediction of bug and non-bug issues using LIME and SHAP15 Sep 2022
- 2022SUPERNOVA: Automating Test Selection and Defect Prevention in AAA Video Games Using Risk Based Testing and Machine Learning10 Mar 2022