4.4 Article

Problems with SZZ and features: An empirical study of the state of practice of defect prediction data collection

期刊

EMPIRICAL SOFTWARE ENGINEERING
卷 27, 期 2, 页码 -

出版社

SPRINGER
DOI: 10.1007/s10664-021-10092-4

关键词

SZZ; Bug fix labeling; Bug inducing changes; Defect prediction data; Data set

资金

  1. DFG [402774445]

向作者/读者索取更多资源

The SZZ algorithm, a widely used method for labeling bug fixing commits and finding inducing changes, has been found to have potential problems in accurately determining bug fixing commits. Using a larger set of features in defect prediction data sets does not significantly improve results.
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.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.4
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据