arrow
返回

Analyzing bug fix for automatic bug cause classification

自动bug原因分类的bug修复分析

delete2020-05-01
delete33
PRE
AI
Z
Zhen Ni
B
Bin Li
X
Xiaobing Sun *
T
Tianhao Chen
B
Ben Zhong Tang
X
Xinchen Shi
DOI:10.1016/j.jss.2020.110538delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
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. (C) 2020 Elsevier Inc. All rights reserved.
Keyword:
Bug analysis
Fix tree
Bug cause classification
TBCNN
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

On the classification of bug reports to improve bug localization对bug报告进行分类以提高bug的本地化
err2021-03-19
err31
PREAI
errFang, Fan; Wu, John; Li, Yanyan; Ye, Xin; Aljedaani, Wajdi; Mkaouer, Mohamed Wiem
err分享
err收藏
err分享
err收藏
Toward an understanding of bug fix patterns对bug修复模式的理解
err2008-08-13
err172
PREAI
errPan, Kai; Kim, Sunghun; Whitehead, E. James, Jr.
err分享
err收藏
A study of common bug fix patterns in Rust
err2024-02-12
err2
PREAI
errShirzad, Mohammad Robati; Lam, Patrick
err分享
err收藏
A survey on bug-report analysis
err2015-01-13
err89
PREAI
errZhang Jie; Wang XiaoYin; Hao Dan; Xie Bing; Zhang Lu; Mei Hong
err分享
err收藏
Analysis of software bug causes and its prevention
err1999-12-01
err12
PREAI
errNakashima, T; Oyama, M; Hisada, H; Ishii, N
err分享
err收藏

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.5K
被引数:
1.0W

机构

扬州大学 封面图
扬州大学
学者数:
3.5K
论文数: 912
被引数: 1.5W
引用论文

引用论文

Towards an understanding of change types in bug fixing code理解错误修复代码中的更改类型
err2017-06-01
err19
PREAI
errZhao, Yangyang; Leung, Hareton; Yang, Yibiao; Zhou, Yuming; Xu, Baowen
err分享
err收藏
Neuromuscular disorders and sleep
err2005-03-01
err0
PREAI
errIbrahim Oztura; Christian Guilleminault
err分享
err收藏
err分享
err收藏
err分享
err收藏
A Survey of Machine Learning for Big Code and Naturalness面向大代码和自然性的机器学习综述
err2018-07-31
err477
errOAAI
errAllamanis, Miltiadis; Barr, Earl T.; Devanbu, Premkumar; Sutton, Charles
err分享
err收藏
Differential Substrate Recognition by Maltose Binding Proteins Influenced by Structure and Dynamics
err2018-09-11
err0
errOAAI
errShantanu Shukla; Khushboo Bafna; Caeley Gullett; Dean A. A. Myles; Pratul K. Agarwal; Matthew J. Cuneo
err分享
err收藏
学者 查看更多内容