首页 | 本学科首页   官方微博 | 高级检索  
     


An evaluation of pure spectrum-based fault localization techniques for large-scale software systems
Authors:Simon Heiden  Lars Grunske  Timo Kehrer  Fabian Keller  Andre van Hoorn  Antonio Filieri  David Lo
Affiliation:1. Institute of Computer Science, Software Engineering Group, Humboldt-Universität zu Berlin, Berlin, Germany;2. Institute of Software Technology, Reliable Software Systems Group, Universität Stuttgart, Stuttgart, Germany;3. Department of Computing, Imperial College London, London, UK;4. School of Information Systems, Singapore Management University, Singapore
Abstract:Pure spectrum-based fault localization (SBFL) is a well-studied statistical debugging technique that only takes a set of test cases (some failing and some passing) and their code coverage as input and produces a ranked list of suspicious program elements to help the developer identify the location of a bug that causes a failed test case. Studies show that pure SBFL techniques produce good ranked lists for small programs. However, our previous study based on the iBugs benchmark that uses the Aspect J repository shows that, for realistic programs, the accuracy of the ranked list is not suitable for human developers. In this paper, we confirm this based on a combined empirical evaluation with the iBugs and the Defects4 J benchmark. Our experiments show that, on average, at most ∼40%, ∼80%, and ∼90% of the bugs can be localized reliably within the first 10, 100, and 1000 ranked lines, respectively, in the Defects4 J benchmark. To reliably localize 90% of the bugs with the best performing SBFL metric D, ∼450 lines have to be inspected by the developer. For human developers, this remains unsuitable, although the results improve compared with the results for the Aspect J benchmark. Based on this study, we can clearly see the need to go beyond pure SBFL and take other information, such as information from the bug report or from version history of the code lines, into consideration.
Keywords:debugging  empirical studies  fault localization
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号