MSTDP: a multi-scale temporal deep learning framework for just-in-time software defect prediction with cross-attention fusion

稳健性(进化) 计算机科学 人工智能 机器学习 适应性 数据挖掘 软件 水准点(测量) 深度学习 软件错误 软件质量 提交 精确性和召回率 基线(sea) 灵活性(工程) 特征(语言学) 地铁列车时刻表 特征模型 一般化 软件维护 软件系统 编码(集合论) 仿形(计算机编程) 监督学习 源代码 变化(天文学) 人工神经网络 实证研究 软件开发 预测建模 标杆管理
作者
Ziyang Liu,ChunHong Yuan,Hengjun Liu,Xiangyu Li,Shengrui Liu,Xiang Zhou,Zhikui Tian
出处
期刊:Journal of King Saud University - Computer and Information Sciences [Springer Science+Business Media]
卷期号:38 (2): 68- 被引量:91
标识
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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
刚刚
整整完成签到,获得积分10
1秒前
HMZ完成签到 ,获得积分10
2秒前
liu完成签到 ,获得积分10
2秒前
牛牛不怕困难完成签到,获得积分10
2秒前
漆漆完成签到 ,获得积分10
3秒前
yyds完成签到,获得积分10
3秒前
Flipped完成签到,获得积分10
3秒前
33完成签到 ,获得积分10
4秒前
xrhk发布了新的文献求助10
4秒前
huan9955发布了新的文献求助10
5秒前
5秒前
坚定的谷芹完成签到,获得积分10
6秒前
微笑的千山完成签到,获得积分10
6秒前
应急食品完成签到,获得积分10
7秒前
七七四十九完成签到,获得积分10
7秒前
yjf完成签到 ,获得积分10
8秒前
guo完成签到 ,获得积分10
8秒前
贾瑞瑞发布了新的文献求助10
8秒前
9秒前
NexusExplorer的应助被科研通管家采纳,获得10
9秒前
星辰大海的应助被Maestro_S采纳,获得10
9秒前
9秒前
wearelulu完成签到,获得积分10
9秒前
天天快乐的应助被科研通管家采纳,获得10
9秒前
ding的应助被科研通管家采纳,获得10
9秒前
bkagyin的应助被科研通管家采纳,获得10
9秒前
猪猪侠完成签到,获得积分10
9秒前
无花果的应助被科研通管家采纳,获得10
9秒前
10秒前
10秒前
wcl完成签到,获得积分10
10秒前
柳烈的应助被科研通管家采纳,获得10
10秒前
10秒前
无极微光的应助被科研通管家采纳,获得20
10秒前
所所的应助被科研通管家采纳,获得10
10秒前
Akim的应助被科研通管家采纳,获得10
10秒前
11秒前
顾矜的应助被科研通管家采纳,获得10
11秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Current status of early diagnosis of pancreatic cancer 600
Comparison of cardiorespiratory responses, kinematic changes and psychological responses between tachi run and moderate intensity constant run 500
Cortex activity fluctuations during TaiChi Run by functional near-inferred spectroscopy 500
高速电流舵型数字模拟转换器 500
Data Driven Casing Collar Feature Detection and Identification for Automated Depth Estimation for Wireline 500
Cellulose and Cellulose Derivatives PART III 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8265160
求助须知:如何正确求助?哪些是违规求助? 9638681
关于积分的说明 22210095
捐赠科研通 7891072
什么是DOI,文献DOI怎么找? 3462074
关于科研通互助平台的介绍 2582518
邀请新用户注册赠送积分活动 2514590