Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 2.39 KB

README.md

File metadata and controls

68 lines (52 loc) · 2.39 KB

tests

GitEvo

Code evolution analysis for Git repositories. It currently supports Python, JavaScript, TypeScript, and Java. Examples of reports: Flask, Pandas, Node, Express, TypeScript, Vue-core, Spring Boot, Mockito, and FastAPI.

More examples: gitevo-examples.

Install

pip install gitevo

Usage

Analyzing the evolution of a Git repository:

$ gitevo <git_repo> -r <python|js|ts|fastapi>

git_repo can be a url or path to a Git repositority.

For example:

$ gitevo https://github.com/pallets/flask -r python
$ gitevo https://github.com/expressjs/express -r js
$ gitevo https://github.com/vuejs/core -r ts
$ gitevo https://github.com/mockito/mockito -r java
$ gitevo https://github.com/fastapi/fastapi -r fastapi

Command line arguments

$ gitevo --help
usage: gitevo [-h] [-r {python,js,ts,java,fastapi}] [-f FROM_YEAR] [-t TO_YEAR] [-m] [-l] repo

Command line for GitEvo

positional arguments:
  repo                  Git repository to be analyzed. It can be a remote Git repository or a path to a local Git repository.

options:
  -h, --help            show this help message and exit
  -r {python,js,ts,java,fastapi}, --report-type {python,js,ts,java,fastapi}
                        Report type to be generated. Default is python.
  -f FROM_YEAR, --from-year FROM_YEAR
                        Filter commits to be analyzed (from year).
  -t TO_YEAR, --to-year TO_YEAR
                        Filter commits to be analyzed (to year).
  -m, --month           Set to analyze commits by month.
  -l, --last-version-only
                        Set to analyze the last version only.