首页 | 官方网站   微博 | 高级检索  
     

基于主动学习的跨项目软件缺陷预测方法
引用本文:米文博,李勇,陈囿任.基于主动学习的跨项目软件缺陷预测方法[J].科学技术与工程,2022,22(32):14275-14281.
作者姓名:米文博  李勇  陈囿任
作者单位:新疆师范大学
基金项目:国家自然科学(61562087);新疆自治区天山青年计划项目(2020Q019);新疆自治区高校科研计划项目(XJEDU2017S031)
摘    要:通过软件缺陷预测可以有效地提高软件测试效率,保证软件产品的质量。针对新开发的项目面临训练数据不足,标注代价高以及源项目与目标项目的缺陷模式难以匹配的问题,提出基于主动学习的跨项目软件缺陷预测方法。首先使用主动学习方法对目标项目进行筛选标注,其次将得到的标签集与跨项目数据进行数据融合和模式匹配,最后构建跨项目软件缺陷预测模型。采用真实的软件缺陷数据进行实验,与传统方法比较性能有所提升。结果表明该方法可以通过模式匹配有效提高跨项目软件缺陷预测模型的性能。

关 键 词:软件缺陷预测    跨项目预测    主动学习    软件缺陷模式    朴素贝叶斯
收稿时间:2021/10/14 0:00:00
修稿时间:2022/7/30 0:00:00

An Active Learning-Based Approach to Cross-Project Software Defect PredictioMI Wen-bo1, LI Yong1,2,3*, CHEN You-ren1,2
Mi Wenbo,Li Yong,Chen Youren.An Active Learning-Based Approach to Cross-Project Software Defect PredictioMI Wen-bo1, LI Yong1,2,3*, CHEN You-ren1,2[J].Science Technology and Engineering,2022,22(32):14275-14281.
Authors:Mi Wenbo  Li Yong  Chen Youren
Affiliation:Xinjiang Normal University
Abstract:Software defect prediction techniques can effectively improve software testing efficiency and ensure the quality of software products. For newly developed projects, they face the problems of insufficient training data, high annotation cost, and difficulty matching the defect patterns of source and target projects. This paper proposes a cross-project software defect prediction method based on active learning. Firstly, the target project is filtered and labeled using the active learning method. Secondly, the obtained label set is fused with cross-project data and pattern matching is performed. Finally, a cross-project software defect prediction model is constructed. Real software defect data is used for experiments, and the performance is improved compared with the traditional method. The results show that the method can effectively improve the performance of cross-project software defect prediction models through pattern matching.
Keywords:software defect prediction  cross-project prediction  active learning  software defect mode  naive bayes
点击此处可从《科学技术与工程》浏览原始摘要信息
点击此处可从《科学技术与工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号