The document proposes an approach called Muffler that uses mutation analysis to help with fault localization. Muffler instruments a program and runs it against a test suite to collect coverage and test results. It then selects and mutates statements to generate mutants. These mutants are run against the test suite and any changes in test results are used to calculate a suspiciousness score for statements. Statements are then ranked based on their scores to produce a ranking list to help locate faults. An empirical evaluation on several programs shows that Muffler reduces the average code examination effort needed for fault localization by 50.26% compared to an existing technique called Naish.
Related topics: