Java code commit impact, java code change impact analysis, java代码改动影响范围分析工具
Project description
Description
Java code commit impact analysis, is a pure python library that analyzes the impact of two git submissions of Java projects on the project and generates tree chart data.
Github: jcci
Achieve Effect
Instructions
Start a new python project, add a new python file, code example:
from jcci.analyze import JCCI
# Compare different commits on the same branch
commit_analyze = JCCI('git@xxxx.git', 'username1')
commit_analyze.analyze_two_commit('master','commit_id1','commit_id2')
# To analyze the impact of methods in a class, use the analyze_class_method method. The last parameter is the line number(s) of the method(s) you want to analyze. If multiple methods are specified, separate their line numbers with commas. If left blank, it will analyze the impact of the entire class.
class_analyze = JCCI('git@xxxx.git', 'username1')
class_analyze.analyze_class_method('master','commit_id1', 'package\src\main\java\ClassA.java', '20,81')
# Compare different branches
branch_analyze = JCCI('git@xxxx.git', 'username1')
branch_analyze.analyze_two_branch('branch_new','branch_old')
At the same time, the project will be cloned in the directory and then analyzed to generate a file with the suffix format xxxx.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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jcci-0.2.0.tar.gz
.
File metadata
- Download URL: jcci-0.2.0.tar.gz
- Upload date:
- Size: 38.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd375d404600432732ec418bc9ea83dea4fc715ee81e0a40456abaa7dacbce40 |
|
MD5 | 32e1e4c2f2aedcdfdb65bdbea1a33f34 |
|
BLAKE2b-256 | 0c8b8e643a43f09c53faf16c978fcbb5cda8aa1481760beb4021c8d99ca62627 |
File details
Details for the file jcci-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: jcci-0.2.0-py3-none-any.whl
- Upload date:
- Size: 37.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53e5e16ba0e4f55758472bf638165d81d99640073a97969cd6fd88147b64c084 |
|
MD5 | 3bcfe38884ec9f4e0c24914e428949f9 |
|
BLAKE2b-256 | f9e9fbbdbe573818335a530c60aeb753152715865795b5c30bf366957ef125a7 |