A Multi-Feature Fusion-Based Automatic Detection Method for High-Severity Defects

被引:2
作者
Liu, Jie [1 ]
Liang, Cangming [1 ]
Feng, Jintao [2 ]
Xiao, Anhong [2 ]
Zeng, Hui [2 ]
Wu, Qujin [1 ]
Yu, Tonglan [1 ]
机构
[1] Univ South China, Dept Comp Sci, Hengyang 421001, Peoples R China
[2] Nucl Power Inst China, Chengdu 610213, Peoples R China
基金
中国国家自然科学基金;
关键词
high-severity defect; contextual features; machine learning; multi-feature fusion;
D O I
10.3390/electronics12143075
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
It is crucial to detect high-severity defects, such as memory leaks that can result in system crashes or severe resource depletion, in order to reduce software development costs and ensure software quality and reliability. The primary cause of high-severity defects is usually resource scheduling errors, and in the program source code, these defects have contextual features that require defect context to confirm their existence. In the context of utilizing machine learning methods for defect automatic confirmation, the single-feature label method cannot achieve high-precision defect confirmation results for high-severity defects. Therefore, a multi-feature fusion defect automatic confirmation method is proposed. The label generation method solves the dimensionality disaster problem caused by multi-feature fusion by fusing features with strong correlations, improving the classifier's performance. This method extracts node features and basic path features from the program dependency graph and designs high-severity contextual defect confirmation labels combined with contextual features. Finally, an optimized Support Vector Machine is used to train the automatic detection model for high-severity defects. This study uses open-source programs to manually implant defects for high-severity defect confirmation verification. The experimental results show that compared with existing methods, this model significantly improves the efficiency of confirming high-severity defects.
引用
收藏
页数:14
相关论文
共 28 条
[1]   A Survey on Software Defect Prediction Using Deep Learning [J].
Akimova, Elena N. ;
Bersenev, Alexander Yu ;
Deikov, Artem A. ;
Kobylkin, Konstantin S. ;
Konygin, Anton, V ;
Mezentsev, Ilya P. ;
Misilov, Vladimir E. .
MATHEMATICS, 2021, 9 (11)
[2]   Software Defect Prediction using Tree-Based Ensembles [J].
Aljamaan, Hamoud ;
Alazba, Amal .
PROCEEDINGS OF THE 16TH ACM INTERNATIONAL CONFERENCE ON PREDICTIVE MODELS AND DATA ANALYTICS IN SOFTWARE ENGINEERING, PROMISE 2020, 2020, :1-10
[3]  
Chen Xiang, 2019, Journal of Software, V30, P3694, DOI 10.13328/j.cnki.jos.005604
[4]  
Deng Xiao, 2023, Journal of Software, P625, DOI 10.13328/j.cnki.jos.006696
[5]   SMOKE: Scalable Path-Sensitive Memory Leak Detection for Millions of Lines of Code [J].
Fan, Gang ;
Wu, Rongxin ;
Shi, Qingkai ;
Xiao, Xiao ;
Zhou, Jinguo ;
Zhang, Charles .
2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, :72-82
[6]   Handling Class-Imbalance with KNN (Neighbourhood) Under-Sampling for Software Defect Prediction [J].
Goyal, Somya .
ARTIFICIAL INTELLIGENCE REVIEW, 2022, 55 (03) :2023-2064
[7]   CRaDLe: Deep code retrieval based on semantic Dependency Learning [J].
Gu, Wenchao ;
Li, Zongjie ;
Gao, Cuiyun ;
Wang, Chaozheng ;
Zhang, Hongyu ;
Xu, Zenglin ;
Lyu, Michael R. .
NEURAL NETWORKS, 2021, 141 :385-394
[8]  
Jia xiu-yi, 2021, Journal of Software, P2204, DOI 10.13328/j.cnki.jos.006257
[9]  
Lee S., 2019, P 2019 12 IEEE C SOF
[10]   Sound Non-Statistical Clustering of Static Analysis Alarms [J].
Lee, Woosuk ;
Lee, Wonchan ;
Kang, Dongok ;
Heo, Kihong ;
Oh, Hakjoo ;
Yi, Kwangkeun .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2017, 39 (04)