Metrics capture applications are:
- Lines of code (LOC)
- Effective lines of code (eLOC)
- Blank lines
- Commented lines (cLOC)
- Cyclomatic complexity (Vg)
Metrics browsers, to view captured metrics are:
As the capture tool write to multiple industry standard output
formats (including XML). Captured metrics also be viewed
using Visual Studio, Excel, and many others.
User Configurable Thresholds
Acceptable metrics thresholds vary from organisation to organisation
depending on coding standards used and business decision of cost of
development, code size, and maintainability. Hence all metrics
thresholds are user configurable to help identify "red flags"
(also known as "bad smells").
DevCodeMetricsWeb thresholds are set in the file limits.xml and are
Chart of selected metrics with respect to minimum and maximum
Metrics are colour highlighted in tables if outside of minimum and
maximum thresholds. This helps quickly identifying trouble items.
An example browser page showing colour highlighting: