吉林大学学报(理学版) ›› 2021, Vol. 59 ›› Issue (2): 372-378.

• • 上一篇    下一篇

可缓解类重叠问题的跨版本软件缺陷预测方法

曲豫宾1,2, 陈翔3, 李龙1   

  1. 1. 桂林电子科技大学 广西可信软件重点实验室, 广西 桂林 541004;
    2. 江苏工程职业技术学院 信息工程学院, 江苏 南通 226001;
    3. 南通大学 信息科学技术学院, 江苏 南通 226019
  • 收稿日期:2020-05-13 出版日期:2021-03-26 发布日期:2021-03-26
  • 通讯作者: 曲豫宾 E-mail:qyb156@gmail.com

Cross-Version Software Defect Prediction Method for Relieving Class Overlap Problem

QU Yubin1,2 , CHEN Xiang3, LI Long1   

  1. 1. Guangxi Key Laboratory of Trusted Software, Guilin University of Electronic Technology, Guilin 541004, Guangxi Zhuang Autonomous Region, China;  2. School of Information Engineering, Jiangsu College of Engineering and Technology, Nantong 226001, Jiangsu Province, China; 3. School of Information Science and Technology, Nantong University, Nantong 226019, Jiangsu Province, China
  • Received:2020-05-13 Online:2021-03-26 Published:2021-03-26

摘要: 针对软件缺陷预测过程中未充分使用源代码语义特征以及训练数据集中的类重叠问题, 提出一种面向类重叠的跨版本软件缺陷深度特征学习方法. 该方法采用混合式最近邻清理策略缓解深度学习语义特征中存在的类重叠问题. 在PROMISE公开数据集上进行测试的结果表明, 该策略能提升基于深度语义学习的软件缺陷预测性能, 分类性能最多在中值上提升14.8%. 实验结果表明, 在跨版本深度缺陷预测问题中可采用混合式最近邻清理策略缓解类重叠问题.

关键词: 软件缺陷预测, 深度学习, 类重叠, 语义特征

Abstract: Aiming at the problem that semantic features of source code were not fully used in the process of software defect prediction and class overlap in training data set, we proposed a cross-version software defect deep feature learning method for class overlap. This method used a hybrid nearest neighbor cleaning strategy to alleviate class overlap problem in deep learning semantic features. The test results on open data set PROMISE show that this strategy can improve the performance of software defect prediction based on deep semantic learning, and the classification performance can be improved by 14.8% at most in the median value. The experimental results show that a hybrid nearest neighbor cleaning strategy can be used to alleviate the class overlap problem in the cross-version deep defect prediction problem.

Key words: software defect prediction, deep learning, class overlap, semantic features

中图分类号: 

  • TP311