arrow
返回

Cross-Project Software Defect Prediction Based on Class Code Similarity

delete2022-01-01
delete4
delete
OA
AI
W
Wanzhi Wen *
C
Chenqiang Shen
X
Xiaohong Lu
Z
Zhixian Li
H
Haoren Wang
R
Ruinian Zhang
N
Ningbo Zhu
DOI:10.1109/ACCESS.2022.3211401delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Software defect prediction techniques can help software developers find software defects as soon as possible. It can also reduce the cost of software development. This technique usually predicts the target project through the entire source project. However, the data distribution difference between the entire source project and the target project is generally large, so the software defect prediction accuracy is not high. we propose a cross-project software defect prediction technique based on class code similarity CCS-CPDP. Firstly, this technique converts the code set extracted by AST(Abstract Syntax Tree) into a vector set through the DTI (Doc2Bow and TF-IDF) strategy; Secondly, the similarity will be calculated between the vector set of target projects and training projects; Finally, according to the principle of the majority decision subordinate category in KNN, the number of most similar class instances of the training project is determined, the source project is refined by selecting the class instance, and then software defects are predicted and evaluated. We compared CCS-CPDP with softawre defect prediction methods based on four traditional classification models (KNN, Random Forest, Naive Bayes, and Logistic Regression). Experimental results show that CCS-CPDP can improve the effectiveness of CPDP in terms of recall and f1-score.
Keyword:
Source coding
Software
Machine learning
Feature extraction
Semantics
Predictive models
Diffusion tensor imaging
Source code similarity
source project selection
software defect prediction
machine learning

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

N
Nantong University
学者数:
1.9W
论文数: 1.1W
被引数: 2.0W
引用论文

引用论文

err分享
err收藏
Rent-seeking under a weak institutional environment
err2009-09-01
err0
PREAI
errDavide Infante; Janna Smirnova
err分享
err收藏
Software Defect Prediction Using Ensemble Learning: A Systematic Literature Review基于集成学习的软件缺陷预测: 系统文献综述
err2021-01-01
err75
errOAAI
errMatloob, Faseeha; Ghazal, Taher M.; Taleb, Nasser; Aftab, Shabib; Ahmad, Munir; Khan, Muhammad Adnan; Abbas, Sagheer; Soomro, Tariq Rahim
err分享
err收藏
err分享
err收藏
err分享
err收藏
Vibrational spectroscopy of fossils
err2014-12-18
err0
errOAAI
errAlison Olcott Marshall; Craig P. Marshall
err分享
err收藏
学者 查看更多内容