稳健性(进化)
计算机科学
人工智能
机器学习
适应性
数据挖掘
软件
水准点(测量)
深度学习
软件错误
软件质量
提交
精确性和召回率
基线(sea)
灵活性(工程)
特征(语言学)
地铁列车时刻表
特征模型
一般化
软件维护
软件系统
编码(集合论)
仿形(计算机编程)
监督学习
源代码
变化(天文学)
人工神经网络
实证研究
软件开发
预测建模
标杆管理
作者
Ziyang Liu,ChunHong Yuan,Hengjun Liu,Xiangyu Li,Shengrui Liu,Xiang Zhou,Zhikui Tian
标识
DOI:10.1007/s44443-025-00401-y
摘要
Just-In-Time Defect Prediction (JITDP), as an important means to improve software quality and reduce maintenance costs, has received widespread attention in recent years. However, existing methods generally neglect multi-scale temporal features during the development process, lack dynamic modeling of developer behavior and project lifecycle, and have limited robustness when facing concept drift. To address these limitations, this paper proposes a novel Multi-Scale Temporal Defect Prediction framework (MSTDP) that integrates commit behavior patterns at temporal granularities of hours, days, and weeks, combining code semantic information, developer behavioral features, and lifecycle-aware mechanisms to comprehensively characterize the dynamic evolution patterns of defect introduction. MSTDP achieves deep feature fusion through cross-attention mechanisms and constructs a concept drift analysis module to enhance the model’s adaptability across different evolutionary stages. Empirical results on 9 large-scale open-source projects demonstrate that MSTDP achieves optimal performance across all evaluation metrics: average accuracy of 76.89% (0.56% improvement), precision of 61.02% (0.53% improvement), recall of 67.82% (0.64% improvement), F1-score of 60.93% (0.46% improvement), and AUC of 81.88% (0.52% improvement), significantly outperforming 7 mainstream baseline methods including JITBoost, FENSE, and JIT-CF. Wilcoxon signed-rank tests confirm the statistical significance of these improvements ( \(\varvec{p < 0.05}\) ). The research results validate the effectiveness of this method for efficient and accurate defect prediction in dynamic software engineering environments, demonstrating stronger generalization capability and robustness against concept drift.
科研通智能强力驱动
Strongly Powered by AbleSci AI