Python script to generate the csv files and graphs from a checkstyle xml file report generated with Apache Maven Checkstyle Plugin for a Maven Java project.
First of all you need to place this script in the root directory of your Java project, then copy the contents of the
checkstyle-python-pie-chart/src
directory into it.
Then in order to launch it you need to have python installed on your machine and run the following command to install the necessary libraries:
pip install -r scripts/requirements.txt
Then run the following to start the script:
python main.py
Csv files and png images will be saved in target/output
.