[Paper Review] An Empirical Study of Fault Localization Families and Their Combinations
This paper presents an empirical study of 11 fault localization techniques across seven families on 357 real-world faults from Defects4J. Using a learning-to-rank approach to combine techniques, the proposed CombineFL framework achieves a 200% improvement in top-1 fault localization compared to the best standalone method, demonstrating that combining diverse information sources significantly enhances effectiveness while accounting for execution time trade-offs.
The performance of fault localization techniques is critical to their adoption in practice. This paper reports on an empirical study of a wide range of fault localization techniques on real-world faults. Different from previous studies, this paper (1) considers a wide range of techniques from different families, (2) combines different techniques, and (3) considers the execution time of different techniques. Our results reveal that a combined technique significantly outperforms any individual technique (200% increase in faults localized in Top 1), suggesting that combination may be a desirable way to apply fault localization techniques and that future techniques should also be evaluated in the combined setting. Our implementation is publicly available for evaluating and combining fault localization techniques.
Motivation & Objective
- To evaluate the effectiveness and efficiency of diverse fault localization techniques on real-world software faults.
- To investigate the correlation between fault localization techniques from different families and assess their potential for combination.
- To design and evaluate a configurable, time-aware combination framework (CombineFL) that balances performance and execution cost.
- To provide an open infrastructure (CombineFL-core) for evaluating and combining fault localization techniques in future research.
- To measure and categorize execution times across fault localization families to guide practical deployment.
Proposed method
- The study evaluates 11 fault localization techniques from seven families: spectrum-based (SBFL), mutation-based (MBFL), dynamic program slicing, stack trace analysis, predicate switching, information-retrieval-based (IR-based), and history-based techniques.
- A learning-to-rank model is used to combine suspiciousness scores from different techniques, treating each as a black box with linear combination of scores.
- Execution time is measured for each technique and used to group techniques into cost levels, enabling time-constrained combinations.
- The evaluation uses the Defects4J dataset with both statement-level and method-level granularity.
- A new metric, $E_{\mathit{inspect}}$, is introduced to handle tied rankings when multiple faulty elements are present.
- The CombineFL-core infrastructure enables automated evaluation of combinations, supporting integration of new techniques via standardized input of scores and execution times.
Experimental results
Research questions
- RQ1How effective are individual fault localization techniques from different families on real-world faults?
- RQ2How correlated are fault localization techniques from different families, and what is the potential for combining them?
- RQ3Can combining techniques from diverse information sources significantly improve fault localization effectiveness compared to standalone methods?
- RQ4How do execution times vary across fault localization families, and how can time costs be used to guide practical combination strategies?
- RQ5Does the combined technique, CombineFL, outperform state-of-the-art approaches in terms of top-1 fault localization accuracy?
Key findings
- All techniques except Bugspots and BugLocator localized more than 6% of faults in the top 10, with SBFL achieving 44% in the top 10.
- Most techniques showed weak correlation, especially across different families, indicating strong potential for complementary combination.
- CombineFL achieved a 200% increase in faults localized in the top 1, and 63%, 51%, and 31% improvements in the top 3, 5, and 10, respectively, compared to the best standalone technique.
- CombineFL outperformed four state-of-the-art approaches—MULTRIC, Savant, FLUCCS, and TraPT—by 133%, 167%, 11%, and 18% in top-1 localization, respectively.
- Execution times varied significantly across families, allowing grouping into cost levels; including all lower-cost techniques did not increase runtime but improved effectiveness.
- The benefits of combining techniques hold at both statement and method granularities, confirming the robustness of the approach.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.