返回
Two-tier deep and machine learning approach optimized by adaptive multi-population firefly algorithm for software defects prediction
DOI:10.1016/j.neucom.2025.129695.png)
摘要
En 中文
Software plays a progressively crucial role, where automated software systems control essential operations. Since development needs also progressively expand, manual code reviews become increasingly difficult, frequently resulting in testing lasting longer than development itself. An encouraging option for enhancing defect identification within the source code involves combining artificial intelligence and natural language processing (NLP). Analyzing source code offers an efficient approach to enhance defect detection and prevent errors in the code. This study investigates source code analysis using NLP and machine learning, where traditional and contemporary techniques of error detection are evaluated. Metaheuristics algorithms are utilized to tune machine learning classifiers, and an altered variant of the well-known firefly algorithm is proposed as part of this research. A two-tier framework is suggested, consisting of a convolutional neural network (CNN), which handles complex feature spaces, while eXtreme gradient boosting (XGBoost), adaptive boosting (AdaBoost), and categorical boosting (CatBoost) classifiers are employed within the second-tier for improving defect detection. Supplementary simulations employing custom term frequency inverse document frequency encoding are also executed to showcase the capabilities of the suggested framework. In total, seven experiments are carried out with publicly accessible datasets. The accuracy of CNN is 80.6% for the defect prediction task, which is enhanced with the second layer using XGBoost, AdaBoost, and CatBoost to nearly 81.5%. The experiments with the NLP approach exhibit superior outcomes, where XGBoost, AdaBoost, and CatBoost achieve accuracies of 99.6%, 99.7%, and 99.8%, indicating the large potential of the suggested approach in the software testing domain.
Keyword:
Natural language processing
Convolutional neural network
Software defect prediction
Metaheuristics optimization
Explainable artificial intelligence
期刊
IF:
6.5
论文数:
2.5W
被引数:
6.5W
机构
引用论文
Enhancing software defect prediction: a framework with improved feature selection and ensemble machine learning增强软件缺陷预测: 具有改进的特征选择和集成机器学习的框架
A Literature Review and Critical Analysis of Metaheuristics Recently Developed最近发展起来的元启发式算法的文献综述和批判性分析
Solution Blow Spun Mats with Beaded-Fiber Morphologies as a Drug Delivery System with Potential Use for Skin Wound Dressing溶体吹喷纺珠状纤维结构无纺布作为具有潜在皮肤伤口敷料用途的药物递送系统
Software defect prediction using a bidirectional LSTM network combined with oversampling techniques使用双向LSTM网络结合过采样技术的软件缺陷预测

