Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: gathering metrics about commit messages #103

Conversation

konradporeba
Copy link
Collaborator

@konradporeba konradporeba commented Jun 29, 2023

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

…l statistics for all messages in particular repo added. Also prepared README for backend development
@konradporeba konradporeba merged commit 7a38f75 into main Aug 31, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new metric about quality of commit messages to be collected for each repo
1 participant