Skip to content

This Python/Tkinter application crawls code review data through Gerrit REST API and then uses matplotlib library to visualize the data.

License

Notifications You must be signed in to change notification settings

frhd143/GDA-1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

background

GerritDataAnalyser - GDA-1.0

Description:

This Python application crawls code review data through Gerrit REST API from Android, OpenStack, and Chromium platforms and visualizes it using Matplotlib. The user-friendly GUI built with Tkinter allows users to select the platform and time period for analysis. All the data is then saved in JSON file called data.json in the Storage directory. All the graphs and chart are also exported and stored in the Storage/PDF_Files directory (Check Storage/PDF_Files for examples).

This open-source project is available on Github for contributions to its continuous improvement and expansion.

Credits

The theme used for this application is developed by: https://github.com/rdbende/Azure-ttk-theme.git

Installation:

  • The application is compatible with all major operating systems (Windows, MacOS, Linux, etc.).

Note! To run the application, you will need to have Python 3.7 or higher installed on your system.

Linux:

  1. Download the ZIP file and extract it.
  2. Install pip and Tkinter using:
sudo apt install python3-pip
sudo apt install python3-tk
  1. Install pil and pil.imagetk using:
sudo apt-get install python3-pil python3-pil.imagetk
  1. Install the requiremetns.txt using:
pip install -r requirements.txt
  1. To run the application go to the extracted folder and run the main.py.

(Warning! Every time you run the application, all the data in the Storage directory is removed/replaced with the new data.)

python3 main.py
  1. Enjoy!

Windows OS:

  1. Download the ZIP file and extract it
  2. Install the requiremetns.txt using:
pip install -r requirements.txt
  1. To run the application open cmd, navigate to the folder and run

(Warning! Every time you run the application, all the data in the Storage directory is removed/replaced with the new data.)

python3 main.py
  1. Enjoy!

MacOS

Note! The application has not been tested in MacOS, but it should work if you install the necessary libraries and packages

  1. Download the ZIP file and extract it.
  2. Install python3-pip
  3. Install python3-tk
  4. Install python3-pil and python3-pil.imagetk
  5. Once you have installed these you have to install the requirements.txt using pip:
pip install -r requirements.txt
  1. To run the application open cmd, navigate to the folder and run

(Warning! Every time you run the application, all the data in the Storage directory is removed/replaced with the new data.)

python3 main.py
  1. Enjoy!

How to use the application

  1. Open the sidebar:

one

  1. Choose your platform and choose a time period:

two

  1. It takes some time to crawl data depending on your time period. So be patient!

Contributing

Contributions to this project are welcome. If you find a bug or want to suggest an improvement, please open an issue or submit a pull request. Or email me here: f.asadi2002@gmail.com

License

This code is released under the MIT License.

About

This Python/Tkinter application crawls code review data through Gerrit REST API and then uses matplotlib library to visualize the data.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published