Study on the relevance of the warnings reported by Java']Java bug-finding tools

被引:17
作者
Araujo, J. E. M. [2 ]
Souza, S. [1 ]
Valente, M. T. [2 ]
机构
[1] Pontificia Univ Catolica Minas Gerais, Inst Informat, Belo Horizonte, MG, Brazil
[2] Univ Fed Minas Gerais, Dept Comp Sci, Belo Horizonte, MG, Brazil
关键词
STATIC ANALYSIS;
D O I
10.1049/iet-sen.2009.0083
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Several bug-finding tools have been proposed to detect software defects by means of static analysis techniques. However, there is still no consensus on the effective role that such tools should play in software development. Particularly, there is still no concluding answer to the following question usually formulated by software developers and software quality managers: how relevant are the warnings reported by bug finding tools? The authors first report an in-depth study involving the application of two bug-finding tools (FindBugs and PMD) in five stable versions of the Eclipse platform. Next, in order to check whether the initial conclusions are supported by other systems, the authors describe an extended case study with 12 systems. In the end, it has been concluded that rates of relevance superior to 50% can be achieved when FindBugs is configured in a proper way. On the other hand, in the best scenario considered in the research, only 10% of the warnings reported by PMD have been classified as relevant.
引用
收藏
页码:366 / 374
页数:9
相关论文
共 20 条
[1]  
[Anonymous], 2005, PMD applied
[2]  
[Anonymous], 65 BELL LAB
[3]  
[Anonymous], 1988, Checking C Programs with Lint
[4]  
AYEWAH N, 2007, 7 ACM SIGPLAN SIGSOF, P1
[5]   Using static analysis to find bugs [J].
Ayewah, Nathaniel ;
Pugh, William ;
Hovemeyer, David ;
Morgenthaler, J. David ;
Penix, John .
IEEE SOFTWARE, 2008, 25 (05) :22-29
[6]   Tool support for continuous quality control [J].
Deissenboeck, Florian ;
Juergens, Elmer ;
Hummel, Benjamin ;
Wagner, Stefan ;
Mas y Parareda, Bonedikt ;
Pizka, Markus .
IEEE SOFTWARE, 2008, 25 (05) :60-67
[7]   Improving Software Quality with Static Analysis [J].
Foster, Jeffrey S. ;
Hicks, Michael W. ;
Pugh, William .
PASTE'07 PROCEEDINGS OF THE 2007 ACM SIGPLAN- SIGSOFT WORKSHOP ON PROGRAM ANALYSIS FOR SOFTWARE TOOLS & ENGINEERING, 2007, :83-84
[8]   Finding bugs is easy [J].
Hovemeyer, D ;
Pugh, W .
ACM SIGPLAN NOTICES, 2004, 39 (12) :92-106
[9]  
KIM S, 2007, 4 INT WORKSH MIN SOF, P27, DOI DOI 10.1109/MSR.2007.26
[10]  
Kim S., 2007, EUROPEAN SOFTWARE EN, P45