清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您科研之路漫漫前行!

DeepLineDP: Towards a Deep Learning Approach for Line-Level Defect Prediction

计算机科学 源代码行 软件错误 软件检查 软件质量保证 编码(集合论) 软件 机器学习 人工智能 软件质量 粒度 过程(计算) 数据挖掘 软件开发 程序设计语言 集合(抽象数据类型)
作者
Chanathip Pornprasit,Chakkrit Tantithamthavorn
出处
期刊:IEEE Transactions on Software Engineering [IEEE Computer Society]
卷期号:49 (1): 84-98 被引量:116
标识
DOI:10.1109/tse.2022.3144348
摘要

Defect prediction is proposed to assist practitioners effectively prioritize limited Software Quality Assurance (SQA) resources on the most risky files that are likely to have post-release software defects. However, there exist two main limitations in prior studies: (1) the granularity levels of defect predictions are still coarse-grained and (2) the surrounding tokens and surrounding lines have not yet been fully utilized. In this paper, we perform a survey study to better understand how practitioners perform code inspection in modern code review process, and their perception on a line-level defect prediction. According to the responses from 36 practitioners, we found that 50% of them spent at least 10 minutes to more than one hour to review a single file, while 64% of them still perceived that code inspection activity is challenging to extremely challenging. In addition, 64% of the respondents perceived that a line-level defect prediction tool would potentially be helpful in identifying defective lines. Motivated by the practitioners’ perspective, we present DeepLineDP, a deep learning approach to automatically learn the semantic properties of the surrounding tokens and lines in order to identify defective files and defective lines. Through a case study of 32 releases of 9 software projects, we find that the risk score of code tokens varies greatly depending on their location. Our DeepLineDP is 17%-37% more accurate than other file-level defect prediction approaches; is 47%-250% more cost-effective than other line-level defect prediction approaches; and achieves a reasonable performance when transferred to other software projects. These findings confirm that the surrounding tokens and surrounding lines should be considered to identify the fine-grained locations of defective files (i.e., defective lines).
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
理学猫完成签到,获得积分10
刚刚
kermitds完成签到 ,获得积分10
6秒前
Ava应助理学猫采纳,获得10
9秒前
cocoli完成签到,获得积分10
33秒前
39秒前
周一更发布了新的文献求助10
43秒前
59秒前
周一更发布了新的文献求助10
1分钟前
wangfaqing942完成签到 ,获得积分10
1分钟前
123完成签到 ,获得积分10
1分钟前
五月完成签到,获得积分10
1分钟前
1分钟前
周一更发布了新的文献求助20
1分钟前
xuan发布了新的文献求助10
1分钟前
1分钟前
xuan发布了新的文献求助10
1分钟前
1分钟前
娟子完成签到,获得积分10
1分钟前
xuan发布了新的文献求助10
2分钟前
2分钟前
xuan发布了新的文献求助30
2分钟前
2分钟前
老老熊完成签到,获得积分10
2分钟前
xuan发布了新的文献求助10
2分钟前
2分钟前
xuan发布了新的文献求助10
2分钟前
2分钟前
xuan发布了新的文献求助10
2分钟前
2分钟前
xuan发布了新的文献求助10
2分钟前
2分钟前
xuan发布了新的文献求助10
2分钟前
2分钟前
xuan发布了新的文献求助10
2分钟前
CES_SH发布了新的文献求助10
2分钟前
2分钟前
xuan发布了新的文献求助30
2分钟前
小马甲应助说话的月亮采纳,获得10
3分钟前
搜集达人应助紧张的夜南采纳,获得10
3分钟前
3分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Römisch-Germanische Forschungen 1000
APA handbook of comparative psychology: Basic concepts, methods, neural substrate, and behavior 1000
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
The fast track to determining transfer functions of linear circuits: The student guide 500
Electric machines: theory, operating applications, and controls 500
The Analytical and Numerical Solution of Electric and Magnetic Fields 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7605357
求助须知:如何正确求助?哪些是违规求助? 9181234
关于积分的说明 19662562
捐赠科研通 7179907
什么是DOI,文献DOI怎么找? 3269491
关于科研通互助平台的介绍 2433439
邀请新用户注册赠送积分活动 2263609