计算机科学
公制(单位)
软件
数据挖掘
集合(抽象数据类型)
软件度量
预测建模
机器学习
软件错误
百分位
交叉验证
软件质量
算法
软件开发
人工智能
工程类
数学
统计
运营管理
程序设计语言
作者
Xingguang Yang,Huiqun Yu,Guisheng Fan,Kang Yang
标识
DOI:10.1142/s0218194021500108
摘要
Software defect prediction is an effective approach to save testing resources and improve software quality, which is widely studied in the field of software engineering. The effort-aware just-in-time software defect prediction (JIT-SDP) aims to identify defective software changes in limited software testing resources. Although many methods have been proposed to solve the JIT-SDP, the effort-aware prediction performance of the existing models still needs to be further improved. To this end, we propose a differential evolution (DE) based supervised method DEJIT to build JIT-SDP models. Specifically, first we propose a metric called density-percentile-average (DPA), which is used as optimization objective on the training set. Then, we use logistic regression (LR) to build a prediction model. To make the LR obtain the maximum DPA on the training set, we use the DE algorithm to determine the coefficients of the LR. The experiment uses defect data sets from six open source projects. We compare the proposed method with state-of-the-art four supervised models and four unsupervised models in cross-validation, cross-project-validation and timewise-cross-validation scenarios. The empirical results demonstrate that the DEJIT method can significantly improve the effort-aware prediction performance in the three evaluation scenarios. Therefore, the DEJIT method is promising for the effort-aware JIT-SDP.
科研通智能强力驱动
Strongly Powered by AbleSci AI