Search papers, labs, and topics across Lattice.
This study investigates the enhancement of statistical fault localization (SFL) by incorporating execution features, addressing the limitations of traditional SFL methods that rely solely on line execution data. By employing execution feature extraction through EFDD and training random forests for each subject, the authors demonstrate a significant improvement in localization accuracy and reduction in developer inspection effort. The results indicate that integrating execution features not only increases the effectiveness of fault localization but also provides a more nuanced understanding of failure causes in large codebases.
Augmenting statistical fault localization with execution features can dramatically enhance accuracy and reduce developer effort in identifying code faults.
Automated fault localization helps developers find faults in large code bases. Statistical fault localization (SFL) ranks suspicious lines from pass/fail spectra, but line execution alone misses information like data-flow, values, or branch conditions that explain why a failure occurs. This study evaluates whether augmenting SFL with execution features improves localization accuracy and developer-oriented inspection effort. We extract execution features with EFDD for all Tests4Py subjects, train per-subject random forests, map importances to source lines, and combine the resulting weights with established SFL formulas. The evaluation measures reference-patch accuracy, line- and function-level effort, robustness, and feasibility using a confounder-adjusted mixed-effects model, corroborated by paired statistical tests and outcome-neutral quality checks.