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.1.tar.gz
.
File metadata
- Download URL: jcci-0.2.1.tar.gz
- Upload date:
- Size: 39.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a05612a4497fa6e63434ca157d4c87b9f724c2d781b3bc8734b6cb52b78796d9 |
|
MD5 | 535eb71d1797f3fe296c75f0de0a3133 |
|
BLAKE2b-256 | 9669e7edd25ec9ad14de9caf2a7459b5976548047b5c91ca3baf2a6bea15afec |
File details
Details for the file jcci-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: jcci-0.2.1-py3-none-any.whl
- Upload date:
- Size: 37.5 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 | ed648c4a354f9d18cad393b9d994d7b687fffcfaeee93c1947d5dd9b456a2df2 |
|
MD5 | 94182ff3de6228ef0d731cae7822d0f2 |
|
BLAKE2b-256 | 72c8a1363042a79a3012b578f8ff54610b2f9ac7402dd8e50b3d8e9567d527ca |