A command-line tool for analyzing version control activity in Git repositories. This tool provides insights into commit history, identifies bottlenecks, and detects anti-patterns in a project's version control workflow.
- Commit History Analysis: Get detailed statistics about the commit history, including the total number of commits and contributions by each developer.
- Bottleneck Identification: Identify potential bottlenecks in the workflow, such as long-lived branches and infrequent commits.
- Anti-Pattern Detection: Detect common anti-patterns like large commits, force pushes, and other practices that may hinder collaboration and code quality.
Clone the repository
git clone https://github.com/adigulalkari/VC-Analyzer.git
cd VC-Analyzer
Run main
chmod +x build.sh
./build.sh
vc-analyze --help
vc-analyze --help
![image](https://private-user-images.githubusercontent.com/94663423/375643443-4c74e334-c7aa-43b8-b44c-1474e9f8017c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTQ2NjgsIm5iZiI6MTczOTI5NDM2OCwicGF0aCI6Ii85NDY2MzQyMy8zNzU2NDM0NDMtNGM3NGUzMzQtYzdhYS00M2I4LWI0NGMtMTQ3NGU5ZjgwMTdjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE3MTkyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ3ZTA3MjI2ZDUzMjM2MjhiNzdkNmU4M2Q2ZjNlMjQ1YjJjMjM0YmRkOWViNDRhZjlkMWZiNzYzYTQ3YzMzNjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4GpyXR98FinpU1_vUZBn8ZeRlc3N3RVH2uTkPNoFPn0)
vc-analyze calc-stats path/to/local/repo
Provides the following stats:
- All commit history msgs
- Stats on the contributions per author
- Active/Inactive branches
vc-analyze check-anti-patterns path/to/local/repo
Provides the following functionalities
- Checking large commits
- Checking for force pushes
- Flag large binary files in commits that bloat the repository
Contributions are welcome! Please follow these steps to contribute to the project:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
- Make your changes and commit them:
git commit -m "Add new feature"
- Push to the branch:
git push origin feature-branch
- Open a pull request.
Refer to CONTRIBUTING.md for more guidelines!
See the LICENSE file for license rights and limitations (MIT).