#program-reducer #minimization #test-case-reduction #java

app treereduce-java

Fast, parallel, syntax-aware program reducer for Java

5 unstable releases

0.3.0 Jul 17, 2023
0.2.2 Apr 7, 2023
0.2.1 Mar 21, 2023
0.2.0 Mar 17, 2023
0.1.0 Mar 11, 2023

#5 in #minimization

MIT license

1.5K SLoC


treereduce is a fast, parallel, syntax-aware test case reducer based on tree-sitter grammars. In other words, treereduce helps you shrink structured data (especially source code) while maintaining some property of interest, for example, that the program causes a compiler crash or outputs a certain message. See the documentation for more information. Documentation is also available online.


~305K SLoC