Automatic detection of contextual defects based on machine learning

Jintao Feng, Jing Liu, Cangming Liang, Anhong Xiao, Hui Zeng, Qujin Wu, Tonglan YuInternational Journal of Embedded Systems 2023

Abstract

In recent years, automatic detection technology has been widely used in software defect detection, which significantly reduces the cost of manual inspection. Machine learning is one of the common automatic detection technologies. By extracting defect features and using supervised classification algorithms to automatically identify possible software doubtful defects, the key is to design an automatic verification model with high accuracy. This paper focuses on the contextual defects related to control flow, and uses the dynamic checking method in the static testing process. By using control flow to represent the context information of code, the node features and basic path features in control flow graph are proposed, and a new defect automatic verification model based on SVM is designed. The experimental results show that the proposed model has higher recall and F1 than the existing methods, and significantly improves the efficiency of automatic identification of suspected defects.
BibTeX
@article{feng2023automatic,
  author = {Jintao Feng and Jing Liu and Cangming Liang and Anhong Xiao and Hui Zeng and Qujin Wu and Tonglan Yu},
  title = {{Automatic detection of contextual defects based on machine learning}},
  journal = {International Journal of Embedded Systems},
  year = {2023},
  doi = {10.1504/ijes.2023.10056887},
}

Loading related content...

Figure