elastic / ecs-logging-nodejs
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
0% | 52% | 31% | 5% | 10%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
js0% | 52% | 31% | 5% | 10%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
packages0% | 82% | 7% | 2% | 7%
utils0% | 0% | 73% | 11% | 14%
Most Complex Units
Top 18 most complex units
Unit# linesMcCabe index# params
98 42 2
124 40 1
83 33 1
108 21 2
46 18 1
26 15 2
25 6 4
8 6 1
15 4 2
14 3 2
7 2 1
5 2 3
6 1 1
3 1 0
3 1 1
3 1 1
3 1 1
1 1 1