Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.28 KB

README.pypi.md

File metadata and controls

29 lines (21 loc) · 1.28 KB

Description

Java code commit impact analysis, is a pure python library that analyzes the impact of two git submissions or code differences between different branches of Java projects on the project and generates tree chart data.

Github: jcci

Installation

pip install jcci

Instructions

Start a new python project, add a new python file, code example:

from jcci import jcci

# Compare different commits on the same branch
jcci.analyze('git@xxxx.git','master','commit_id1','commit_id2', 'username1')

# Compare different branches
jcci.analyze_branches('git@xxxx.git','branch_1','branch_2', 'username1')

At the same time, the project will be cloned in the directory and then analyzed to generate a file with the suffix format commit_id1...commit_id2.cci, which contains the tree diagram data generated by the analysis results, download jcci-result.html , upload analyze result file end with .cci, then can be displayed through the view.

CCI result

result

CCI result tree view

treeView