Closed
Bug 1075942
Opened 11 years ago
Closed 10 years ago
code complexity metrics
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: catlee, Unassigned)
References
Details
One of the KPIs we identified was a measure of our code complexity. More code, and more complex code, leads to harder to maintain systems. We should aim to have less code, and simpler code, wherever possible.
This bug tracks collecting and reporting this data into the dashboard.
Let's pick a few repositories to start with:
- buildbot-configs
- buildbotcustom
- tools
- mozharness
And collect a few metrics:
- SLOC
- complexity (e.g. mccabe complexity)
- PEP8 compliance?
| Reporter | ||
Comment 1•11 years ago
|
||
Some tools that may be helpful:
http://radon.readthedocs.org/en/latest/
https://pypi.python.org/pypi/flake8
| Reporter | ||
Comment 2•10 years ago
|
||
We decided against tracking this as a KPI
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•