Toward Speeding up Mutation Analysis by Memoizing Expensive Methods
Ali Ghanbari, Andrian Marcus

TL;DR
This paper introduces MeMu, a memoization-based technique that speeds up mutation analysis by caching expensive method executions, achieving an average 18.15% speed-up on real-world Java programs.
Contribution
The paper presents MeMu, a novel memoization approach integrated with mutation analysis tools to reduce execution time by caching repeated method calls.
Findings
Achieved an average 18.15% speed-up over PITest.
Effective in real-world Java programs.
Potential applicability to other test execution scenarios.
Abstract
Mutation analysis has many applications, such as assessing the quality of test cases, fault localization, test input generation, security analysis, etc. Such applications involve running test suite against a large number of program mutants leading to poor scalability. Much research has been aimed at speeding up this process, focusing on reducing the number of mutants, the number of executed tests, or the execution time of the mutants. This paper presents a novel approach, named MeMu, for reducing the execution time of the mutants, by memoizing the most expensive methods in the system. Memoization is an optimization technique that allows bypassing the execution of expensive methods, when repeated inputs are detected. MeMu can be used in conjunction with existing acceleration techniques. We implemented MeMu on top of PITest, a well-known JVM bytecode-level mutation analysis system, and…
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.
