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

Analyzing bug fix for automatic bug cause classification

计算机科学 软件错误 抽象语法树 利用 编码(集合论) 安全漏洞 源代码 树(集合论) 过程(计算) 人工智能 语法 程序设计语言 软件 操作系统 计算机安全 数学分析 安全信息和事件管理 集合(抽象数据类型) 云安全计算 云计算 数学
作者
Zhen Ni,Bin Li,Xiaobing Sun,Tianhao Chen,Ben Zhong Tang,Xinchen Shi
出处
期刊:Journal of Systems and Software [Elsevier]
卷期号:163: 110538-110538 被引量:35
标识
DOI:10.1016/j.jss.2020.110538
摘要

During the bug fixing process, developers usually need to analyze the source code to induce the bug cause, which is useful for bug understanding and localization. The bug fixes of historical bugs usually reflects the bug causes when fixing them. This paper aims at exploiting the corresponding relationship between bug causes and bug fixes to automatically classify bugs into their cause categories. First, we define the code-related bug classification criterion from the perspective of the cause of bugs. Then, we propose a new model to exploit the knowledge in the bug fix by constructing fix trees from the diff source code at Abstract Syntax Tree (AST) level, and representing each fix tree based on the encoding method of Tree-based Convolutional Neural Network (TBCNN). Finally, the corresponding relationship between bug causes and bug fixes is analyzed by automatically classifying bugs into their cause categories. We collected 2000 real-world bugs from two open source projects Mozilla and Radare2 to evaluate our approach. The experimental results show the existence of observational correlation between the bug fix and the cause of the historical bugs, and the proposed fix tree can effectively express the characteristics of the historical bugs for bug cause classification.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
5秒前
Orange应助冷艳的小懒虫采纳,获得10
5秒前
wanci应助冷艳的小懒虫采纳,获得10
6秒前
时尚的尔白完成签到,获得积分20
6秒前
10秒前
量子星尘发布了新的文献求助10
14秒前
Johnny完成签到,获得积分10
14秒前
Johnny发布了新的文献求助10
17秒前
柠檬发布了新的文献求助10
23秒前
32秒前
33秒前
月儿完成签到 ,获得积分10
36秒前
49秒前
丘比特应助科研通管家采纳,获得10
51秒前
所所应助科研通管家采纳,获得10
51秒前
1分钟前
小大夫完成签到 ,获得积分10
1分钟前
量子星尘发布了新的文献求助10
1分钟前
柠檬完成签到,获得积分10
2分钟前
lcdt完成签到,获得积分10
2分钟前
2分钟前
熬夜波比应助郭楠楠采纳,获得10
2分钟前
思源应助George采纳,获得10
4分钟前
天天快乐应助现实的乐天采纳,获得10
4分钟前
李爱国应助v哈哈采纳,获得10
4分钟前
酷酷海豚完成签到,获得积分10
4分钟前
4分钟前
v哈哈发布了新的文献求助10
4分钟前
lemon完成签到,获得积分10
4分钟前
科研通AI2S应助科研通管家采纳,获得10
4分钟前
赘婿应助lemon采纳,获得10
4分钟前
Swear完成签到 ,获得积分10
4分钟前
绾妤完成签到 ,获得积分0
5分钟前
wangfaqing942完成签到 ,获得积分10
5分钟前
5分钟前
5分钟前
George发布了新的文献求助10
5分钟前
lemon发布了新的文献求助10
5分钟前
wanci应助George采纳,获得10
5分钟前
v哈哈完成签到 ,获得积分10
5分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Binary Alloy Phase Diagrams, 2nd Edition 8000
Building Quantum Computers 800
Translanguaging in Action in English-Medium Classrooms: A Resource Book for Teachers 700
Natural Product Extraction: Principles and Applications 500
Exosomes Pipeline Insight, 2025 500
Qualitative Data Analysis with NVivo By Jenine Beekhuyzen, Pat Bazeley · 2024 500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5664448
求助须知:如何正确求助?哪些是违规求助? 4861758
关于积分的说明 15107715
捐赠科研通 4823032
什么是DOI,文献DOI怎么找? 2581870
邀请新用户注册赠送积分活动 1536034
关于科研通互助平台的介绍 1494399