4.5 Article

An empirical study on software defect prediction with a simplified metric set

期刊

INFORMATION AND SOFTWARE TECHNOLOGY
卷 59, 期 -, 页码 170-190

出版社

ELSEVIER
DOI: 10.1016/j.infsof.2014.11.006

关键词

Defect prediction; Software metrics; Metric set simplification; Software quality

资金

  1. National Basic Research Program of China [2014CB340401]
  2. National Natural Science Foundation of China [61273216, 61272111, 61202048, 61202032]
  3. Science and Technology Innovation Program of Hubei Province [2013AAA020]
  4. Youth Chenguang Project of Science and Technology of Wuhan City [2014070404010232]
  5. open foundation of Hubei Provincial Key Laboratory of Intelligent Information Processing and Real-time Industrial System [znss20138017]

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

Context: Software defect prediction plays a crucial role in estimating the most defect-prone components of software, and a large number of studies have pursued improving prediction accuracy within a project or across projects. However, the rules for making an appropriate decision between within- and cross-project defect prediction when available historical data are insufficient remain unclear. Objective: The objective of this work is to validate the feasibility of the predictor built with a simplified metric set for software defect prediction in different scenarios, and to investigate practical guidelines for the choice of training data, classifier and metric subset of a given project. Method: First, based on six typical classifiers, three types of predictors using the size of software metric set were constructed in three scenarios. Then, we validated the acceptable performance of the predictor based on Top-k metrics in terms of statistical methods. Finally, we attempted to minimize the Top-k metric subset by removing redundant metrics, and we tested the stability of such a minimum metric subset with one-way ANOVA tests. Results: The study has been conducted on 34 releases of 10 open-source projects available at the PROMISE repository. The findings indicate that the predictors built with either Top-k metrics or the minimum metric subset can provide an acceptable result compared with benchmark predictors. The guideline for choosing a suitable simplified metric set in different scenarios is presented in Table 12. Conclusion: The experimental results indicate that (1) the choice of training data for defect prediction should depend on the specific requirement of accuracy; (2) the predictor built with a simplified metric set works well and is very useful in case limited resources are supplied; (3) simple classifiers (e.g., Naive Bayes) also tend to perform well when using a simplified metric set for defect prediction; and (4) in several cases, the minimum metric subset can be identified to facilitate the procedure of general defect prediction with acceptable loss of prediction precision in practice. (C) 2014 Elsevier B.V. All rights reserved.

作者

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

评论

主要评分

4.5
评分不足

次要评分

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

推荐

暂无数据
暂无数据