Test Case Reduction: A Framework, Benchmark, and Comparative Study

Kreutzer P, Kunze T, Philippsen M (2021)


Publication Language: English

Publication Status: Accepted

Publication Type: Conference contribution, Conference Contribution

Future Publication Type: Conference contribution

Publication year: 2021

Publisher: IEEE

Pages Range: 58-69

Conference Proceedings Title: Proceedings of the International Conference on Software Maintenance and Evolution (ICSME 2021)

Event location: Luxembourg (LU) LU

ISBN: 978-1-6654-2882-8

URI: https://i2git.cs.fau.de/i2public/publications/-/raw/master/ICSME21.pdf

DOI: 10.1109/ICSME52107.2021.00012

Abstract

Given a program that triggers a bug in a compiler (or other kind of language processor), the goal of test case reduction is to cut away all code that is irrelevant for the bug, i.e., to generate a smaller program that still induces the bug. Research has proposed several language-agnostic reduction techniques that automatically reduce bug-inducing programs in arbitrary programming languages, but there is no large-scale, conclusive evaluation of these algorithms yet. Furthermore, the development of new algorithms is hampered by the unavailability of comparable implementations of previous techniques and of diverse test programs that trigger different bugs in real compilers.

To close these gaps and to foster future research in this area, this paper makes three contributions: (1) A framework that includes efficient, fine-tuned implementations of 6 state-of-the-art reducers, (2) a diverse benchmark that comprises 321 fuzzer-generated programs in two programming languages that trigger 110 different bugs in real compilers, and (3) a comparative study that builds upon our framework and benchmark and compares the reduction techniques w.r.t. their effectiveness and efficiency. Our results show that there is no reduction technique yet that performs best across all test cases and languages.

Our framework and benchmark are available online and we provide the necessary scripts and tools to replicate our study.

Authors with CRIS profile

Related research project(s)

How to cite

APA:

Kreutzer, P., Kunze, T., & Philippsen, M. (2021). Test Case Reduction: A Framework, Benchmark, and Comparative Study. In Proceedings of the International Conference on Software Maintenance and Evolution (ICSME 2021) (pp. 58-69). Luxembourg (LU), LU: IEEE.

MLA:

Kreutzer, Patrick, Tom Kunze, and Michael Philippsen. "Test Case Reduction: A Framework, Benchmark, and Comparative Study." Proceedings of the International Conference on Software Maintenance and Evolution (ICSME 2021), Luxembourg (LU) IEEE, 2021. 58-69.

BibTeX: Download