isaacmaffeis / checkstyle-python-pie-chart

Python script to generate pie charts from a checkstyle xml file report

Repository from Github https://github.comisaacmaffeis/checkstyle-python-pie-chartRepository from Github https://github.comisaacmaffeis/checkstyle-python-pie-chart

checkstyle python pie chart

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.

How to start

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.

example:

Checkstyle-charts

About

Python script to generate pie charts from a checkstyle xml file report


Languages

Language:Java 75.3%Language:Python 24.7%