Abdelaziz Ahmed, Mahmoud Alia Nabil, Santos Vitor, Freire Mario M
Nova Information Management School (NOVA IMS), Universidade Nova de Lisboa, Campus de Campolide, Lisboa, Portugal.
Information System Department, Higher Technological Institute, HTI, Cairo, Egypt.
PLoS One. 2025 May 12;20(5):e0319562. doi: 10.1371/journal.pone.0319562. eCollection 2025.
The increasing importance of deep learning in software development has greatly improved software quality by enabling the efficient identification of defects, a persistent challenge throughout the software development lifecycle. This study seeks to determine the most effective model for detecting defects in software projects. It introduces an intelligent approach that combines Temporal Convolutional Networks (TCN) with Antlion Optimization (ALO). TCN is employed for defect detection, while ALO optimizes the network's weights. Two models are proposed to address the research problem: (a) a basic TCN without parameter optimization and (b) a hybrid model integrating TCN with ALO. The findings demonstrate that the hybrid model significantly outperforms the basic TCN in multiple performance metrics, including area under the curve, sensitivity, specificity, accuracy, and error rate. Moreover, the hybrid model surpasses state-of-the-art methods, such as Convolutional Neural Networks, Gated Recurrent Units, and Bidirectional Long Short-Term Memory, with accuracy improvements of 21.8%, 19.6%, and 31.3%, respectively. Additionally, the proposed model achieves a 13.6% higher area under the curve across all datasets compared to the Deep Forest method. These results confirm the effectiveness of the proposed hybrid model in accurately detecting defects across diverse software projects.
深度学习在软件开发中日益重要,通过实现对缺陷的高效识别,极大地提高了软件质量,而缺陷识别是贯穿软件开发生命周期的一个长期挑战。本研究旨在确定检测软件项目中缺陷的最有效模型。它引入了一种将时间卷积网络(TCN)与蚁狮优化(ALO)相结合的智能方法。TCN用于缺陷检测,而ALO用于优化网络权重。为解决该研究问题,提出了两种模型:(a)未进行参数优化的基本TCN;(b)将TCN与ALO集成的混合模型。研究结果表明,在包括曲线下面积、灵敏度、特异性、准确率和错误率等多个性能指标方面,混合模型显著优于基本TCN。此外,混合模型超越了诸如卷积神经网络、门控循环单元和双向长短期记忆等当前最先进的方法,准确率分别提高了21.8%、19.6%和31.3%。此外,与深度森林方法相比,所提出的模型在所有数据集中的曲线下面积高出13.6%。这些结果证实了所提出的混合模型在准确检测不同软件项目中的缺陷方面的有效性。