亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Code-line-level Bugginess Identification: How Far have We Come, and How Far have We Yet to Go?

计算机科学 杠杆(统计) 源代码行 编码(集合论) 实施 机器学习 鉴定(生物学) 人工智能 启发式 基线(sea) 源代码 边距(机器学习) 程序设计语言 软件 地质学 海洋学 生物 植物 集合(抽象数据类型)
作者
Zhaoqiang Guo,Shiran Liu,Xutong Liu,Wei Lai,Mingliang Ma,Xu Zhang,Chao Ni,Yibiao Yang,Yanhui Li,Lin Chen,Guoqiang Zhou,Yuming Zhou
出处
期刊:ACM Transactions on Software Engineering and Methodology [Association for Computing Machinery]
卷期号:32 (4): 1-55 被引量:8
标识
DOI:10.1145/3582572
摘要

Background. Code-line-level bugginess identification (CLBI) is a vital technique that can facilitate developers to identify buggy lines without expending a large amount of human effort. Most of the existing studies tried to mine the characteristics of source codes to train supervised prediction models, which have been reported to be able to discriminate buggy code lines amongst others in a target program. Problem. However, several simple and clear code characteristics, such as complexity of code lines, have been disregarded in the current literature. Such characteristics can be acquired and applied easily in an unsupervised way to conduct more accurate CLBI, which also can decrease the application cost of existing CLBI approaches by a large margin. Objective. We aim at investigating the status quo in the field of CLBI from the perspective of (1) how far we have really come in the literature, and (2) how far we have yet to go in the industry, by analyzing the performance of state-of-the-art (SOTA) CLBI approaches and tools, respectively. Method. We propose a simple heuristic baseline solution GLANCE (aimin G at contro L - AN d C ompl E x-statements) with three implementations (i.e., GLANCE-MD, GLANCE-EA, and GLANCE-LR). GLANCE is a two-stage CLBI framework: first, use a simple model to predict the potentially defective files; second, leverage simple code characteristics to identify buggy code lines in the predicted defective files. We use GLANCE as the baseline to investigate the effectiveness of the SOTA CLBI approaches, including natural language processing (NLP) based, model interpretation techniques (MIT) based, and popular static analysis tools (SAT). Result. Based on 19 open-source projects with 142 different releases, the experimental results show that GLANCE framework has a prediction performance comparable or even superior to the existing SOTA CLBI approaches and tools in terms of 8 different performance indicators. Conclusion. The results caution us that, if the identification performance is the goal, the real progress in CLBI is not being achieved as it might have been envisaged in the literature and there is still a long way to go to really promote the effectiveness of static analysis tools in industry. In addition, we suggest using GLANCE as a baseline in future studies to demonstrate the usefulness of any newly proposed CLBI approach.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
aliu发布了新的文献求助30
刚刚
1秒前
研友_Zlepz8发布了新的文献求助10
3秒前
4秒前
BowieHuang应助科研通管家采纳,获得10
4秒前
4秒前
4秒前
大国完成签到,获得积分20
7秒前
司空晓山发布了新的文献求助20
10秒前
C_关闭了C_文献求助
18秒前
曹兆发布了新的文献求助100
20秒前
失眠呆呆鱼完成签到 ,获得积分10
30秒前
kluberos完成签到 ,获得积分10
40秒前
45秒前
lvlv完成签到,获得积分10
48秒前
大国发布了新的文献求助10
53秒前
龙卡烧烤店完成签到,获得积分10
58秒前
saflgf完成签到,获得积分10
1分钟前
OvO_4577完成签到,获得积分10
1分钟前
脑洞疼应助满意的世界采纳,获得10
1分钟前
汉堡包应助健忘的板凳采纳,获得10
1分钟前
jcksonzhj完成签到,获得积分10
1分钟前
761997580完成签到 ,获得积分10
1分钟前
Criminology34举报wert求助涉嫌违规
1分钟前
1分钟前
1分钟前
自然千山完成签到,获得积分10
1分钟前
斯文败类应助张志超采纳,获得10
1分钟前
1分钟前
共享精神应助waomi采纳,获得10
1分钟前
充电宝应助健忘的板凳采纳,获得10
1分钟前
1分钟前
1分钟前
1分钟前
老迟到的梦旋完成签到 ,获得积分10
1分钟前
张志超发布了新的文献求助10
1分钟前
C_完成签到,获得积分20
1分钟前
1分钟前
852应助张志超采纳,获得10
1分钟前
一只小锦鲤完成签到 ,获得积分10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Agriculture and Food Systems Third Edition 2000
Clinical Microbiology Procedures Handbook, Multi-Volume, 5th Edition 临床微生物学程序手册,多卷,第5版 2000
人脑智能与人工智能 1000
King Tyrant 720
Silicon in Organic, Organometallic, and Polymer Chemistry 500
Principles of Plasma Discharges and Materials Processing, 3rd Edition 400
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5599690
求助须知:如何正确求助?哪些是违规求助? 4685406
关于积分的说明 14838430
捐赠科研通 4669946
什么是DOI,文献DOI怎么找? 2538158
邀请新用户注册赠送积分活动 1505527
关于科研通互助平台的介绍 1470898