arrow
返回

Ammonia: an approach for deriving project-specific bug patterns

delete2020-03-07
delete5
delete
OA
AI
Y
Yoshiki Higo *
S
Shinpei Hayashi
H
Hideaki Hata
N
Nagappan, Meiyappan
DOI:10.1007/s10664-020-09807-wdelete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Finding and fixing buggy code is an important and cost-intensive maintenance task, and static analysis (SA) is one of the methods developers use to perform it. SA tools warn developers about potential bugs by scanning their source code for commonly occurring bug patterns, thus giving those developers opportunities to fix the warnings (potential bugs) before they release the software. Typically, SA tools scan for general bug patterns that are common to any software project (such as null pointer dereference), and not for project specific patterns. However, past research has pointed to this lack of customizability as a severe limiting issue in SA. Accordingly, in this paper, we propose an approach called Ammonia, which is based on statically analyzing changes across the development history of a project, as a means to identify project-specific bug patterns. Furthermore, the bug patterns identified by our tool do not relate to just one developer or one specific commit, they reflect the project as a whole and compliment the warnings from other SA tools that identify general bug patterns. Herein, we report on the application of our implemented tool and approach to four Java projects: Ant, Camel, POI, and Wicket. The results obtained show that our tool could detect 19 project specific bug patterns across those four projects. Next, through manual analysis, we determined that six of those change patterns were actual bugs and submitted pull requests based on those bug patterns. As a result, five of the pull requests were merged.
Keyword:
Pattern mining
Change patterns
Project-specific bug patterns
Fix recommendation
AI总结

AI总结

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

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

I
Institute of Science Tokyo
学者数:
3.2W
论文数: 2.7W
被引数: 117
N
nara institute of science & technology
学者数:
4.1K
论文数: 3.1K
被引数: 7
T
Tokyo Institute of Technology
学者数:
1.1W
论文数: 9.0K
被引数: 1.9W
T
the university of osaka
学者数:
2.8W
论文数: 1.8W
被引数: 6
学者 查看更多机构
引用论文

引用论文

Balanocarpol, a new polyphenol from Balanocarpus zeylanicus(trimen) and Hopea jucunda(Thw.)(Dipterocarpaceae)
err1985-01-01
err0
PREAI
errM. N. Champika Diyasena; Subramaniam Sotheeswaran; Sivagnanasunderam Surendrakumar; Sinnathamby Balasubramanian; Michael Bokel; Wolfgang Kraus
err分享
err收藏
Androgen receptor CAG repeat polymorphism in prostate cancer from a Brazilian population
err2003-01-01
err0
PREAI
errMariana L.dos Santos; Álvaro S Sarkis; Inês N Nishimoto; Maria A Nagai
err分享
err收藏
A Survey on Software Fault Localization软件故障定位研究综述
err2016-08-01
err741
errOAAI
errWong, W. Eric; Gao, Ruizhi; Li, Yihao; Abreu, Rui; Wotawa, Franz
err分享
err收藏
Mining version histories to guide software changes
err2005-06-01
err469
PREAI
errZimmermann, T; Weissgerber, P; Diehl, S; Zeller, A
err分享
err收藏
Complementary chromosome folding by transcription factors and cohesin
err
IF0
err2018-04-23
err0
PREAI
errM. C. F. Pereira; C. A. Brackley; D. Michieletto; C. Annunziatella; S. Bianco; A. M. Chiariello; M. Nicodemi; D. Marenduzzo
err分享
err收藏
err分享
err收藏
学者 查看更多内容