Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions toolchain/converter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@ To build a city with separated directories, the following command should be give

`java -jar converter.jar -t sonarqube -i <serverName> -o <outputFilename> -p projects=<projectname> splitDirs=true`

# GitStats CDF converter

This application scans and retrieves usable statistic information from the GitStats git repository statistics generator. It uses the gitstats as type to parse the html and dat files from the given input folder.

**Usage**: `java -jar converter.jar -t <type> -i <input path> [-o <output.xml>]`

* `-i`: input, the path of the folder generated by GitStats. Required.
* `-o`: output, the path of the output XML file. Optional.
* `-t`: type, the type of the conversion. In this case it will be ‘gitstats’. Required.

After execution the tool will generate a Converter output xml which contains git statistics elements like line of code, commits, committed files group by extension with properties of dates.


# About the output XML

The output XML contains the name and the type of the elements and the properties of them.
Expand Down