Article (Scientific journals)
Locating Faults with Program Slicing: An Empirical Analysis
Soremekun, Ezekiel; Kirschner, Lukas; Böhme, Marcel et al.
2021In Empirical Software Engineering, 26 (3), p. 1-45
Peer Reviewed verified by ORBi
 

Files


Full Text
s10664-020-09931-7.pdf
Publisher postprint (4.08 MB)
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
Software engineering; Software debugging; Software testing; Automated fault localization; Program slicing; Statistical debugging
Abstract :
[en] Statistical fault localization is an easily deployed technique for quickly determining candidates for faulty code locations. If a human programmer has to search the fault beyond the top candidate locations, though, more traditional techniques of following dependencies along dynamic slices may be better suited. In a large study of 457 bugs (369 single faults and 88 multiple faults) in 46 open source C programs, we compare the effectiveness of statistical fault localization against dynamic slicing. For single faults, we find that dynamic slicing was eight percentage points more effective than the best performing statistical debugging formula; for 66% of the bugs, dynamic slicing finds the fault earlier than the best performing statistical debugging formula. In our evaluation, dynamic slicing is more effective for programs with single fault, but statistical debugging performs better on multiple faults. Best results, however, are obtained by a hybrid approach: If programmers first examine at most the top five most suspicious locations from statistical debugging, and then switch to dynamic slices, on average, they will need to examine 15% (30 lines) of the code. These findings hold for 18 most effective statistical debugging formulas and our results are independent of the number of faults (i.e. single or multiple faults) and error type (i.e. artificial or real errors).
Disciplines :
Computer science
Author, co-author :
Soremekun, Ezekiel ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SerVal
Kirschner, Lukas;  CISPA - Helmholtz Center for Information Security, Saarbrücken, Germany
Böhme, Marcel;  Monash University, Melbourne, Australia
Zeller, Andreas;  CISPA - Helmholtz Center for Information Security, Saarbrücken, Germany
External co-authors :
yes
Language :
English
Title :
Locating Faults with Program Slicing: An Empirical Analysis
Publication date :
01 April 2021
Journal title :
Empirical Software Engineering
ISSN :
1573-7616
Publisher :
Kluwer Academic Publishers, Netherlands
Volume :
26
Issue :
3
Pages :
1-45
Peer reviewed :
Peer Reviewed verified by ORBi
Focus Area :
Security, Reliability and Trust
Available on ORBilu :
since 05 September 2022

Statistics


Number of views
60 (2 by Unilu)
Number of downloads
45 (1 by Unilu)

Scopus citations®
 
22
Scopus citations®
without self-citations
21
OpenCitations
 
6
WoS citations
 
14

Bibliography


Similar publications



Contact ORBilu