• Home
  • Search
  • FLUCCS: using code and change metrics to improve fault localization
  • Cite Icon240
  • https://doi.org/10.1145/3092703.3092717Copy DOI Icon

FLUCCS: using code and change metrics to improve fault localization

  • Jul 10, 2017
  • Jeongju Sohn +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

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 formulas 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 formulas, the best of which can rank 49 and 127 faults at the top and within the top five, respectively.

Similar Papers
  • Book Chapter
  • Citations1

A Catalog of Source Code Metrics – A Tertiary Study

  • Jan 01, 2023
  • Umar Iftikhar +3
  • Conference Article
  • Citations11

Application of genetic algorithm as feature selection technique in development of effective fault prediction model

  • Jan 01, 2016
  • Lov Kumar +1
  • Conference Article
  • Citations64

A Study of the Relationships between Source Code Metrics and Attractiveness in Free Software Projects

  • Sep 01, 2010
  • Paulo Meirelles +5
  • Conference Article
  • Citations1

Collection and Analysis of Source Code Metrics for Composition of Programming Learning Profiles

  • Jul 01, 2019
  • Francisco Alan De Oliveira Santos +1
  • Book Chapter
  • Citations3

Detection of Web Service Anti-patterns Using Machine Learning Framework

  • Jan 01, 2020
  • Sahithi Tummalapalli +2
  • PDF
  • Research Article
  • Citations4

Predicting Software Flaws with Low Complexity Models based on Static Analysis Data

  • Apr 14, 2018
  • Journal of Information Systems Engineering & Management
  • Paulo Meirelles +4
  • Conference Article
  • Citations112

“Automated Debugging Considered Harmful” Considered Harmful: A User Study Revisiting the Usefulness of Spectra-Based Fault Localization Techniques with Professionals Using Real Bugs from Large Systems

  • Oct 01, 2016
  • Xin Xia +3
  • Preprint Article

Using Source Code Metrics for Predicting Metamorphic Relations at Method Level

  • May 31, 2022
  • arXiv (Cornell University)
  • Alejandra Duque-Torres +3
  • Conference Article
  • Citations11

Using Source Code Metrics for Predicting Metamorphic Relations at Method Level

  • Mar 01, 2022
  • Alejandra Duque-Torres +3
  • Conference Article
  • Citations27

Machine learning based software fault prediction utilizing source code metrics

  • Oct 01, 2018
  • Guru Prasad Bhandari +1
  • Research Article
  • Citations87

Historical Spectrum Based Fault Localization

  • Nov 01, 2021
  • IEEE Transactions on Software Engineering
  • Ming Wen +6
  • Conference Article
  • Citations1

Hey APR! Integrate Our Fault Localization Skill: Toward Better Automated Program Repair

  • Jun 01, 2022
  • Kyosuke Yamate +4
  • Conference Article
  • Citations17

Android botnet detection: An integrated source code mining approach

  • Dec 01, 2017
  • Basil Alothman +1
  • Conference Article
  • Citations12

GreenSource: A Large-Scale Collection of Android Code, Tests and Energy Metrics

  • May 01, 2019
  • Rui Rua +2
  • Research Article
  • Citations12

Early prediction of quality of service using interface-level metrics, code-level metrics, and antipatterns

  • May 19, 2020
  • Information and Software Technology
  • Chaima Abid +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.