ExcelCannon code standards

A tool whose pitch is “understand a workbook's complexity quickly” publishes its own. Each row is a metric of dotnet-fast metrics, read from the release commit's standards.yml run, and the run and commit are named under the table.

Every row has a budget, and a row over its budget fails the gate. Coverage is measured over the whole test suite under coverage instrumentation, with the parity and golden data present.

Standards

MetricBudgetValueStatus
Cyclomatic complexity<= 2220ok
Cognitive complexity<= 2214ok
Halstead difficulty<= 8063.3ok
Lines per file<= 500246ok
Test coverage100%100%ok
CRAP<= 2520ok
Surviving mutants0—not measured
Dead code00ok
Redundant code00ok
Dynamic typing00ok
Lines per member<= 5046ok
Nesting depth<= 33ok
Parameter count<= 77ok
Maintainability index>= 2037.5ok

Measured at commit 95d4264 in this standards.yml run.

Surviving mutants are not measured yet: the C# engine has no mutation tool in its gate, so that row reads “not measured”.