Affiliation:
1. Department of Computer Science, University of South China, Hengyang 421001, China
2. Nuclear Power Institute of China, Chengdu 610213, China
Abstract
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.
Funder
National Natural Science Foundation of China
Research Foundation of Education Bureau of Hunan Province
Subject
Electrical and Electronic Engineering,Computer Networks and Communications,Hardware and Architecture,Signal Processing,Control and Systems Engineering
Reference28 articles.
1. How developers engage with static analysis tools in different contexts;Vassallo;Empir. Softw. Eng.,2020
2. Tracker, and Other Bug Trackers;Serrano;IEEE Softw.,2005
3. Tian, Y., Lo, D., and Sun, C. (2013, January 22–28). DRONE: Predicting Priority of Reported Bugs by Multi-factor Analysis. Proceedings of the 2013 IEEE International Conference on Software Maintenance (ICSM), Eindhoven, The Netherlands.
4. Survey on information retrieval-based software bug localization methods;Li;Ruan Jian Xue Bao/J. Softw.,2021
5. Automatic defect repair and validation approach for C/C++ programs;Zhou;Ruan Jian Xue Bao/J. Softw.,2019