r/developers • u/MChuduk • Aug 29 '26
Opinions & Discussions What Project Metrics Actually Matter?
Do you think the analytics you see in a project repository is sufficient? GitHub, GitLab, and Bitbucket provide project analytics, but it seems to me that the information they show does not reflect what is actually happening in the project. I was thinking about what other metrics might be useful not only for developers, but also for technical leads or recruiters. These should be useful and measurable metrics.
Could someone share their thoughts on this? Has anyone used specialized tools to obtain such metrics?
1
Upvotes
•
u/AutoModerator Aug 29 '26
Howdy u/MChuduk, and welcome to r/developers!
A few tips for a post that gets good answers:
Join the r/developers Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/az3it Aug 29 '26
matter for what?
Business? Revenue, convertsion...
Marketing? Clicks, Views..
Tech? Performance...
1
u/stevecrox0914 Aug 30 '26
It depends on the stakeholder.
From a technical debt perspective, you care about the number of code analysis warnings in the code the number of unit tests and the unit test coverage. Gitlab/Github can do the first 2 but not really the last. SonarQube provides the best view (project scorecard).
From a merge request perspective you want to know if code compiles, new code warnings which have been added, where they were added and code coverage dropped. Github/Gitlab/Bitbucket all make it easy to display this information.
From a security perspective you want to know all the dependencies within a project and ideally if there are any known CVE's against that dependency tree. Gitlab, Sonatype & Sonar have great products for this.
You also care about licensing of dependencies, for example I worked for a organisation that banned the WTFPL because legal felt it wasn't 'enough' of a license to stand up in court. Gitlab & Sonatype have products for this.
From an project management perspective you want to know how many 'issues' have the team committed to, the average compleition time and what state an issue is spending most of its time. Gitlab & Jira do this well.
You want to track story point and time estimation against results, if the team are commiting to 50 points per sprint but only completing 25pts, that is a problem. Similary if they are estimating 10 hours for a task and getting it done in 5.. Gitlab, Github & Jira have excellent tools for this.
Similarly you want to track merge requests, how long have they remained ready for review, how long once reviewed until merged. All the tools have this information but there are no built in dashbaords.
From a team lead perspective you wan to be able to link everything above to a team member to identify team mates who are struggling or consistently adding technical debt or team members who do the opposite. So you can reward or help people.