aws / telegraf
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
4% | 4% | 20% | 23% | 47%
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
go4% | 4% | 20% | 23% | 47%
c0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
plugins4% | 4% | 21% | 23% | 46%
patches3% | 6% | 20% | 19% | 50%
config7% | 7% | 20% | 28% | 36%
cmd0% | 52% | 0% | 33% | 14%
metric0% | 22% | 0% | 0% | 77%
internal0% | 0% | 29% | 23% | 47%
agent0% | 0% | 11% | 33% | 54%
models0% | 0% | 9% | 17% | 72%
testutil0% | 0% | 7% | 7% | 85%
logger0% | 0% | 0% | 28% | 71%
filter0% | 0% | 0% | 46% | 53%
selfstat0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
3056 824 1
456 109 5
252 79 0
213 65 1
263 60 0
194 58 1
152 58 6
135 52 1
143 52 2
110 50 1
117 49 1
157 49 1
127 48 1
122 46 1
160 46 1
97 46 1
114 43 1
171 39 1
123 38 1
126 38 1
130 38 1
140 37 1
176 37 1
158 37 1
102 37 3
91 36 3
111 36 1
103 35 3
112 34 1
111 32 1
114 32 1
129 31 1
81 31 3
133 31 1
70 30 1
83 29 2
110 29 1
73 29 1
137 29 1
113 29 1
88 28 1
128 28 0
100 27 1
92 27 1
125 27 1
96 27 1
84 27 1
91 26 1
93 26 3
143 26 1