![]() |
OpenMake Meister |
Crap4j is a Java implementation of the CRAP (Change Risk Analysis and Predictions) software metric. This Workflow Activity calls CRAP to perform code coverage from automated tests (e.g. JUnit tests) to help you identify code that might be particularly difficult to understand, test, or maintain.
The source code directory is passed in as a parameter
The compiled classes classpath is passed in as parameter
• Parameter should be comma separated
• Only directories are accepted
Install Instructions:
1. Download the latest version of Crap4j from sourceforce
- https://www.crap4j.org/downloads/index.html
2. Select the Ant Task Distribution from the link above https://www.crap4j.org/downloads/crap4j_ant_latest.jar
3. Unzip the file to a local directory on your hard drive
4. Once unzipped locate the jar files (in the crap4/lib directory of the unzipped file)
5. Copy all the jar files from the step above to <MEISTER_INSTALL_PATH>/client/tools/crap4j/lib