[Paper Review] Assessing and Comparing Mutation-based Fault Localization Techniques
This paper evaluates and compares two mutation-based fault localization techniques, Metallaxis and MUSE, on real-world faults in industrial-scale programs. Using CoREBench, it shows that Metallaxis outperforms MUSE, requiring only 18% of statements to locate faults versus 37% for MUSE, with Metallaxis achieving 50% and 80% fault localization accuracy when examining 10 and 25 statements, respectively.
Recent research demonstrated that mutation-based fault localization techniques are relatively accurate and practical. However, these methods have never been compared and have only been assessed with simple hand-seeded faults. Therefore, their actual practicality is questionable when it comes to real-wold faults. To deal with this limitation we asses and compare the two main mutation-based fault localization methods, named Metallaxis and MUSE, on a set of real-world programs and faults. Our results based on three typical evaluation metrics indicate that mutation-based fault localization methods are relatively accurate and provide relevant information to developers. Overall, our result indicate that Metallaxis and MUSE require 18% and 37% of the program statements to find the sought faults. Additionally, both methods locate 50% and 80% of the studied faults when developers inspect 10 and 25 statements.
Motivation & Objective
- To assess the practical effectiveness of mutation-based fault localization techniques on real-world faults, not just hand-seeded ones.
- To compare Metallaxis and MUSE, two leading mutation-based fault localization methods, in terms of accuracy and efficiency.
- To evaluate whether these techniques produce relevant, developer-friendly rankings that maintain interest during debugging.
- To provide empirical evidence on whether mutation-based methods can outperform spectrum-based techniques in real-world settings.
Proposed method
- Employs CoREBench, a benchmark of real-world faults in industrial programs, to evaluate fault localization techniques.
- Applies Metallaxis, which ranks statements based on mutants killed by failing test cases that are coupled with the actual fault.
- Applies MUSE, which ranks statements based on mutants that turn failing test cases into passing ones, inspired by automated repair.
- Uses three standard evaluation metrics: fault localization accuracy at top-k statements, average relevance of top-10 statements, and statement inspection cost.
- Performs quantitative analysis on fault localization rates at 10, 25, and 100% of statements, and qualitative analysis of ranking relevance.
- Compares results across both techniques using statistical evaluation and relevance analysis of top-ranked statements.
Experimental results
Research questions
- RQ1How effective are Metallaxis and MUSE in localizing real-world faults compared to spectrum-based methods?
- RQ2Which of the two techniques—Metallaxis or MUSE—performs better in terms of fault localization accuracy and efficiency?
- RQ3To what extent do the top-ranked statements in each method’s ranking contain the actual faulty statements?
- RQ4How does the inspection cost (number of statements to review) compare between Metallaxis and MUSE for achieving high fault localization rates?
- RQ5Are the rankings produced by these methods sufficiently relevant to maintain developer interest during debugging?
Key findings
- Metallaxis localizes 50% of the studied faults when developers inspect only the top 10 statements, increasing to 80% when inspecting the top 25 statements.
- MUSE requires 37% of the program statements to locate the same faults, indicating significantly higher inspection cost compared to Metallaxis.
- Metallaxis achieves 18% statement inspection cost to locate all studied faults, compared to 37% for MUSE, showing Metallaxis is more efficient.
- The average relevance of the top 10 statements is 28.16% for Metallaxis and 25.88% for MUSE, meaning at least one relevant statement is in the top 10 for 80% of faults.
- Metallaxis produces twice as accurate results as MUSE, with significantly better fault localization precision and lower inspection cost.
- Both methods produce rankings with high relevance to actual faults, supporting their practical value in real-world debugging scenarios.
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.