FLUCCS: Using Code and Change Metrics to Improve Fault Localization

Cited 117 time in webofscience Cited 0 time in scopus
  • Hit : 620
  • Download : 0
Fault localization aims to support the debugging activities of human developers by highlighting the program elements that are suspected to be responsible for the observed failure. Spectrum Based Fault Localization (SBFL), an existing localization technique that only relies on the coverage and pass/fail results of executed test cases, has been widely studied but also criticized for the lack of precision and limited effort reduction. To overcome restrictions of techniques based purely on coverage, we extend SBFL with code and change metrics that have been studied in the context of defect prediction, such as size, age and code churn. Using suspiciousness values from existing SBFL formulæ and these source code metrics as features, we apply two learn-to-rank techniques, Genetic Programming (GP) and linear rank Support Vector Machines (SVMs). We evaluate our approach with a ten-fold cross validation of method level fault localization, using 210 real world faults from the Defects4J repository. GP with additional source code metrics ranks the faulty method at the top for 106 faults, and within the top five for 173 faults. This is a significant improvement over the state-of-the-art SBFL formulæ, the best of which can rank 49 and 127 faults at the top and within the top five, respectively.
Publisher
ACM Special Interest Group on Software Engineering (SIGSOFT)
Issue Date
2017-07-12
Language
English
Citation

26th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA), pp.273 - 283

DOI
10.1145/3092703.3092717
URI
http://hdl.handle.net/10203/224191
Appears in Collection
CS-Conference Papers(학술회의논문)
Files in This Item
There are no files associated with this item.
This item is cited by other documents in WoS
⊙ Detail Information in WoSⓡ Click to see webofscience_button
⊙ Cited 117 items in WoS Click to see citing articles in records_button

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0