arrow
返回

Two-tier deep and machine learning approach optimized by adaptive multi-population firefly algorithm for software defects prediction

delete2025-05-01
delete0
PRE
AI
J
John Philipose Villoth
M
Miodrag Živković
T
Tamara Živković
M
Mahmoud Abdel-Salam
M
Mohamed Hammad
L
Luka Jovanović
V
Vladimir Šimić *
N
Nebojša Bačanin *
DOI:10.1016/j.neucom.2025.129695delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

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

期刊

Neurocomputing 封面图
Neurocomputing
IF:
6.5
论文数:
2.5W
被引数:
6.5W

机构

P
Prince Sultan University
学者数:
1.9K
论文数: 2.3K
被引数: 2.3K
E
egyptian knowledge bank (ekb)
学者数:
11.6W
论文数: 9.3W
被引数: 84
U
university of belgrade
学者数:
2.8W
论文数: 2.1W
被引数: 25
M
Mansoura University
学者数:
7.6K
论文数: 6.0K
被引数: 1.1W
M
menofia university
学者数:
2.8K
论文数: 2.3K
被引数: 4
学者 查看更多机构
引用论文

引用论文

Cloud-load forecasting via decomposition-aided attention recurrent neural network tuned by modified particle swarm optimization
err2023-11-03
err30
errOAAI
errPredic, Bratislav; Jovanovic, Luka; Simic, Vladimir; Bacanin, Nebojsa; Zivkovic, Miodrag; Spalevic, Petar; Budimirovic, Nebojsa; Dobrojevic, Milos
err分享
err收藏
err分享
err收藏
A Sinh Cosh optimizer一个Sinh Cosh优化器
err2023-12-01
err63
errOAAI
errBai, Jianfu; Li, Yifei; Zheng, Mingpo; Khatir, Samir; Benaissa, Brahim; Abualigah, Laith; Wahab, Magd Abdel
err分享
err收藏
A Convolutional Neural Network approach for image-based anomaly detection in smart agriculture
err2024-08-01
err6
errOAAI
errMendoza-Bernal, Jose; Gonzalez-Vidal, Aurora; Skarmeta, Antonio F.
err分享
err收藏
CNN-Based Transformer Model for Fault Detection in Power System Networks
err2023-01-01
err46
PREAI
errThomas, Jibin B.; Chaudhari, Saurabh G.; Shihabudheen, K. V.; Verma, Nishchal K.
err分享
err收藏
Effect of the electrical double layer on voltammetry at microelectrodes
err2002-05-01
err0
PREAI
errJohn D. Norton; Henry S. White; Stephen W. Feldberg
err分享
err收藏
学者 查看更多内容