Main functionalities: it collects the individual contributions of the developers and analyzes the impact of commits in Java projects.
- Implement unit tests
- Refactoring design to reach a sustainable level of maintainability
- Change functions based view for class based views
- Separate views from user cases
- Bring some logic to models
Choose a local directory and clone this repository using:
> git clone https://github.com/renatabrasil/mining_my_repository.git
- Python 3.7.4
- GitPython (3.1.3): https://pypi.org/project/GitPython/3.0.2/
- PyDriller (1.9.2): https://pydriller.readthedocs.io/en/latest/intro.html
- Django 3.0 (or above)
- Django-mathfilters: https://pypi.org/project/django-mathfilters/0.4.0/
- PyYAML (5.1.2 or above) = https://pypi.org/project/PyYAML/#history
- numPY
- unicoded
- whitenoise
- matplotlib: https://matplotlib.org/users/installing.html
- pandas: https://pandas.pydata.org/
Instructions for running the application and testing.
> python manage.py migrate
> python manage.py loaddata init.yaml
> python manage.py runserver
> docker-compose up --build
> http://localhost:3000
Loki query:
> {container_name="mining_my_repository_app_1"} | json
To run django unit tests:
> python manage.py test
To run and generate coverage report:
> coverage run manage.py test <module - or empty to run for all Apps>
To generate test coverage report:
> coverage html
- PyDriller - Python Framework to analyse Git repositories
- Renata Brasil
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details