-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
chore: Technical Debt Metrics #26442
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #26442 +/- ##
=======================================
Coverage 67.22% 67.22%
=======================================
Files 1894 1894
Lines 74192 74192
Branches 8244 8244
=======================================
Hits 49877 49877
Misses 22243 22243
Partials 2072 2072
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome! Thanks for working on this @rusackas. It will be a powerful tool to help improve quality.
Accidentally deleted my TODO from the code... adding it here so I can maybe start a kanban board or something... /**
|
6069a2f
to
b4641bd
Compare
c70d976
to
e990e11
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT. Thanks for the feature @rusackas. It will greatly contribute to improving code quality.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SUMMARY
What if you could actually measure various sources of technical debt, upon the merge of each PR? This PR is the start of being able to do so. We will be able to track different piles of work we care about over time, and generate actionable to-do lists for others to tackle.
This is a reboot of an antique branch/PR, for cleanliness. It does the following:
This PR just does this for Javascript - and only for a limited set of rules. We can do the same here for python, and other bits of code and content in our universe. Ultimately, we want to have this all in a nice visible dashboard for all to leverage in either tracking this debt, and/or contributing to its demise. Here's the humble beginning of such a dashboard, using these scripts:
Once Apache adds the secret to the repo to write to GitHub actions, we should actually see this working. That ticket is open. This will run on merges to
master
ormain
so we can get ahead of that change.In time, we can gather a lot more info here... and hopefully make this an example dashboard and a regular touch point of community engagement.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION