JIT-Align: A Semantic Alignment-Based Ranking Framework for Just-In-Time Defect Prediction

计算机科学 排名(信息检索) 人工智能 情报检索 自然语言处理 数据挖掘
作者
Yujie Ye,Huiqun Yu,Guisheng Fan,Yuguo Liang,Jianan Dong,Wentao Chen
标识
DOI:10.1109/compsac65507.2025.00166
摘要

To promptly identify software defects and prevent defective code changes from being integrated into the repository, Just-In-Time Software Defect Prediction (JIT-SDP) has demonstrated promising research findings. Recent studies have begun to utilize Pre-trained Models (PTMs) for training and prediction, yet these models inherently impose input length limitations, leading to forced truncation of inputs. However, previous work has largely overlooked the impact of forced truncation, even though it may inadvertently discard critical input information, leading to degraded model performance. Moreover, some existing methods fail to maintain consistency in truncation during each model construction process, leading to unexplainable truncations and unstable model performance. In addition, previous datasets suffer from limitations and incompleteness. To this end, we construct a large-scale and comprehensive dataset, MC4Defect. Moreover, we propose JIT-Align, which prioritizes code changes within a commit using a semantic alignment algorithm to make full use of the limited input space of PTMs. To evaluate the feasibility of JIT-Align, we first assess the classification capability of our method by comparing it against four baselines across five datasets. Then, we conduct ablation studies on the proposed semantic alignment framework to validate its effectiveness. Experimental results show that JIT-Align, along with its semantic alignment framework, outperforms all baselines in JIT-SDP tasks, with average F1 score improvements of 3.1%-9.6% and MCC increases of 3.1%-9.7% across all projects, exhibiting higher stability and better interpretability compared to alternative approaches.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
李健的小迷弟的应助被Ren采纳,获得10
刚刚
Julie发布了新的文献求助10
刚刚
下雨节发布了新的文献求助10
刚刚
michael发布了新的文献求助10
刚刚
lucky发布了新的文献求助10
刚刚
huangyi发布了新的文献求助10
1秒前
1秒前
hh关注了科研通微信公众号
2秒前
Crazy_Runner发布了新的文献求助10
2秒前
2秒前
momo完成签到,获得积分10
3秒前
3秒前
3秒前
SneaPea完成签到,获得积分10
4秒前
snooze完成签到,获得积分20
5秒前
dew举报整齐的孤菱的求助涉嫌违规
5秒前
5秒前
Moon完成签到,获得积分10
5秒前
香蕉觅云的应助被旭一凡采纳,获得50
6秒前
科目三的应助被旭一凡采纳,获得10
6秒前
坚定书竹完成签到 ,获得积分10
6秒前
可爱幻桃完成签到,获得积分10
6秒前
顾矜的应助被旭一凡采纳,获得20
6秒前
思源的应助被旭一凡采纳,获得10
6秒前
安安发布了新的文献求助10
6秒前
7秒前
wyx发布了新的文献求助10
8秒前
8秒前
方一完成签到,获得积分10
8秒前
天天快乐的应助被奋斗断秋采纳,获得10
8秒前
222完成签到,获得积分10
8秒前
DJ发布了新的文献求助10
8秒前
韩跑跑完成签到 ,获得积分10
8秒前
ephore的应助被Julie采纳,获得30
9秒前
yangtse完成签到,获得积分10
9秒前
陈M雯发布了新的文献求助10
9秒前
li完成签到,获得积分10
9秒前
9秒前
池载岸发布了新的文献求助10
9秒前
CrisLEE完成签到,获得积分10
9秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Les Mantodea De Guyane 2000
Guidelines for fracture-safe and fatigue-reliable design of steel structures 600
Problems and Solutions for Integer and Combinatorial Optimization: Building Skills in Discrete Optimization 600
Organizational Behavior 510
Atelier, 2nd edition 500
Study of structural arctic steel in a friction pair with ice 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 7996401
求助须知:如何正确求助?哪些是违规求助? 9450689
关于积分的说明 21131018
捐赠科研通 7569478
什么是DOI,文献DOI怎么找? 3379983
关于科研通互助平台的介绍 2513327
邀请新用户注册赠送积分活动 2413751