FauxPy: A Fault Localization Tool for Python
Mohammad Rezaalipour, Carlo A. Furia

TL;DR
FauxPy is an open-source Python fault localization tool supporting multiple techniques, integrated with popular testing frameworks, and validated on real-world bugs to aid developers in debugging Python programs.
Contribution
FauxPy is the first open-source tool for Python that supports multiple fault localization techniques and integrates with major testing frameworks.
Findings
Successfully applied to 135 real-world bugs
Supports seven fault localization techniques across four families
Demonstrates practical usability for Python debugging
Abstract
This paper presents FauxPy, a fault localization tool for Python programs. FauxPy supports seven well-known fault localization techniques in four families: spectrum-based, mutation-based, predicate switching, and stack trace fault localization. It is implemented as plugin of the popular Pytest testing framework, but also works with tests written for Unittest and Hypothesis (two other popular testing frameworks). The paper showcases how to use FauxPy on two illustrative examples, and then discusses its main features and capabilities from a user's perspective. To demonstrate that FauxPy is applicable to analyze Python projects of realistic size, the paper also summarizes the results of an extensive experimental evaluation that applied FauxPy to 135 real-world bugs from the BugsInPy curated collection. To our knowledge, FauxPy is the first open-source fault localization tool for Python…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputational Physics and Python Applications · Anomaly Detection Techniques and Applications · Advanced Malware Detection Techniques
