Software-Engineering-Jagiellonian / django-celery-frege

Tool for measuring open source code repositories
GNU General Public License v3.0
6 stars 36 forks source link

feature: gathering metrics about commit messages #103

Closed konradporeba closed 1 year ago

konradporeba commented 1 year ago

feature: gathering metrics about commit messages and preparing overall statistics for all messages in particular repo added. Also prepared README for backend development.

Now before closing repo as analysed besides analysing all files in repository we also are gathering metrics about each commit message, we are calculating basic features like message length, words amount, gunning fog index and type of commit (FEATURE, FIX, MERGE PR, CONFIG CHANGE, UNCLASSIFIED). Then for entire repository we are calculating statistics abut commit messages from which the most important is ratio of meaningful messages (classified as feature, fix, merge or conf change) to non-meaningful ones (unclassified). For now classification is based on keywords present in a message but it can be easily replaced at any time because we are storing in DB all information that is needed to recalculate all metrics if needed.

Screenshot 2023-06-29 at 17 15 30 Screenshot 2023-06-29 at 17 15 41

Panels in Graphana were also updated:

Screenshot from 2023-08-31 12-09-17

Screenshot from 2023-08-31 12-09-51