PseudoSweep: A Pseudo-Tested Code Identifier

Megan Maton, Gregory M. Kapfhammer, Phil McMinn · 2024

Software testing remains a crucial practice for en-suring and maintaining code quality. Yet, a critical issue remains: the existence of pseudo-tested statements. Tests cover these statements, but removing them does not trigger test failures. Since no established tools address this challenge, this paper introduces Pseudosweep, a novel tool that automatically identifies pseudo-tested methods and statements in Java projects. PSEUDOSWEEP combines method and statement deletion techniques to reveal these maintenance problems. In addition to explaining the approach used by Pseudo Sweep,this paper details use-cases and overviews results from experiments with Pseudosweep. The tool is available (including set-up instructions and examples) at https://github.com/PseudoTested/PseudoSweep and there is a video demonstration at https://youtu.be/5QCsu7MbiXI.

Read the paper · More papers on PaperTik