A Software Defect Prediction Method Based on Program Semantic Feature Mining
Wenjun Yao, Muhammad Faisal Shafiq, Xiaoxin Lin et al. · Electronics · 2023
As the size and complexity of software systems grow, knowing how to effectively judge whether there are defects in the programs has attracted extensive attention in research. However, current software defect prediction methods only extract semantic information at the syntactic level and lack features to mine defect manifestations at the semantic level of code, because defective software is incomplete or defective in semantic representation. Defective software exhibits incomplete or flawed semantic behavior. This paper proposes a software defect prediction method based on the program semantics feature mining (PSFM) method. Specifically, the semantic information is first extracted from the code grammatical structure information and code text information. Then, the defect feature is mined through the semantic information. Finally, software defects are predicted by using the mined defect features. The experimental results show that, compared with the existing software defect prediction methods, the method in this paper (PSFM method) obtained a higher F-measure value.
Cited by 22 works. doi:10.3390/electronics12071546 Open-access PDF
Authors
References
- Automatically learning semantic features for defect prediction
- CorrAUC: A Malicious Bot-IoT Traffic Detection Method in IoT Network Using Machine-Learning Techniques
- Software fault prediction metrics: A systematic literature review
- A Distributed Deep Learning System for Web Attack Detection on Edge Devices
- A Survey on Access Control in the Age of Internet of Things
- Selection of effective machine learning algorithm and Bot-IoT attacks traffic identification for internet of things in smart city
- Block-DEF: A secure digital evidence framework using blockchain
- Software Defect Prediction via Convolutional Neural Network
- On the naturalness of software
- A systematic literature review on software defect prediction using artificial intelligence: Datasets, Data Validation Methods, Approaches, and Tools