I made some tests with scc (still new to it) and got the following output using the -w option:
Language Files Lines Blanks Comments Code Complexity Complexity/Lines
───────────────────────────────────────────────────────────Go 14 3970 595 985 2390 128 126.86
YAML 1 16 0 0 16 0 0.00
License 1 21 4 0 17 0 0.00
Markdown 1 400 82 0 318 0 0.00
─────────────────────────────────────────────────────────────────────────────────────────────────────────────
Total 17 4407 681 985 2741 128 126.86
I expected the Complexity/Lines for the Go-Files to be 128 / 2390 * 100 (=5.36) not 126.86
Did I misunderstand the Complexity/Lines figure?
I made some tests with scc (still new to it) and got the following output using the -w option:
Language Files Lines Blanks Comments Code Complexity Complexity/Lines
───────────────────────────────────────────────────────────Go 14 3970 595 985 2390 128 126.86
YAML 1 16 0 0 16 0 0.00
License 1 21 4 0 17 0 0.00
Markdown 1 400 82 0 318 0 0.00
─────────────────────────────────────────────────────────────────────────────────────────────────────────────
Total 17 4407 681 985 2741 128 126.86
I expected the Complexity/Lines for the Go-Files to be 128 / 2390 * 100 (=5.36) not 126.86
Did I misunderstand the Complexity/Lines figure?