OdegVul: An Approach for Statement-Level Defect Prediction

计算机科学 语句(逻辑) 源代码 数据挖掘 编码(集合论) Java 人工神经网络 图形 代表(政治) 人工智能 机器学习 理论计算机科学 程序设计语言 集合(抽象数据类型) 政治 政治学 法学
作者
Guoqiang Yin,W. Wang,Haiyan Li
出处
期刊:International Journal of Software Engineering and Knowledge Engineering [World Scientific]
卷期号:34 (04): 569-595
标识
DOI:10.1142/s0218194023500614
摘要

Defect prediction research has been conducted for more than 40 years, with the goal of estimating the defect-prone blocks of source code. Prior studies, however, had two major limitations: (1) coarse-grained defect prediction results and (2) weak long-term dependencies modeling. As a result, developers need to review the prediction results to figure out which function or even which line of code produced the issue. In this study, we present OdegVul, a novel statement-level defect prediction model, to address these concerns. To capture both semantic and structural relationships between statements, a statement representation framework combining deep learning and graph neural networks is designed. Then the long-term dependencies between statements are encoded as a partial differential equation of a graph neural network. Through the experiment of 32 releases of 9 open-source Java projects, we found that semantic and structural dependencies are crucial to statement-level defect prediction. OdegVul outperforms other state-of-the-art (SOTA) predictors and achieves reasonable performance in cross-project statement-level defect prediction scenarios. The finer granularity of predicting results reduces the developer’s workforce in reviewing the prediction results and increases the practicality of the defect prediction model. The source code of OdegVul is available at https://github.com/CoderYinDaqiang/OdegVul .
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
刚刚
陈陈欲睡发布了新的文献求助80
1秒前
1秒前
追逐123完成签到 ,获得积分10
1秒前
2秒前
欢呼的烙完成签到 ,获得积分10
2秒前
2秒前
科研通AI6应助汤圆呢醒醒采纳,获得10
2秒前
ran完成签到,获得积分10
2秒前
京阿尼完成签到,获得积分10
2秒前
子叶叶子发布了新的文献求助10
2秒前
佟天问发布了新的文献求助10
3秒前
uwasa完成签到,获得积分10
3秒前
柠檬酸发布了新的文献求助10
3秒前
3秒前
ye发布了新的文献求助10
3秒前
圆锥香蕉发布了新的文献求助30
4秒前
量子星尘发布了新的文献求助10
4秒前
圆锥香蕉发布了新的文献求助30
4秒前
NexusExplorer应助一道光采纳,获得200
4秒前
圆锥香蕉发布了新的文献求助10
4秒前
圆锥香蕉发布了新的文献求助10
4秒前
4秒前
贺禾禾发布了新的文献求助10
5秒前
圆锥香蕉发布了新的文献求助10
5秒前
圆锥香蕉发布了新的文献求助10
5秒前
5秒前
yayaya完成签到 ,获得积分10
5秒前
丘比特应助精神世界采纳,获得10
6秒前
陈陈陈发布了新的文献求助30
7秒前
Mulee发布了新的文献求助30
7秒前
yeggoo发布了新的文献求助10
7秒前
Bessie完成签到,获得积分10
7秒前
7秒前
我本人lrx发布了新的文献求助10
7秒前
摆烂fish完成签到,获得积分10
8秒前
飘逸芹菜完成签到,获得积分20
8秒前
张乔然发布了新的文献求助20
8秒前
华仔应助may采纳,获得10
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Iron toxicity and hematopoietic cell transplantation: do we understand why iron affects transplant outcome? 1500
List of 1,091 Public Pension Profiles by Region 1001
EEG in Childhood Epilepsy: Initial Presentation & Long-Term Follow-Up 500
Latent Class and Latent Transition Analysis: With Applications in the Social, Behavioral, and Health Sciences 500
On the application of advanced modeling tools to the SLB analysis in NuScale. Part I: TRACE/PARCS, TRACE/PANTHER and ATHLET/DYN3D 500
L-Arginine Encapsulated Mesoporous MCM-41 Nanoparticles: A Study on In Vitro Release as Well as Kinetics 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5472618
求助须知:如何正确求助?哪些是违规求助? 4574892
关于积分的说明 14348791
捐赠科研通 4502206
什么是DOI,文献DOI怎么找? 2467049
邀请新用户注册赠送积分活动 1454960
关于科研通互助平台的介绍 1429235