Conditional Complexity Overall
  • There are 3,007 units with 40,591 lines of code in units (52.7% of code).
    • 1 very complex units (597 lines of code)
    • 6 complex units (928 lines of code)
    • 42 medium complex units (4,027 lines of code)
    • 90 simple units (4,360 lines of code)
    • 2,868 very simple units (30,679 lines of code)
1% | 2% | 9% | 10% | 75%
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
rs1% | 2% | 9% | 10% | 76%
py0% | 7% | 39% | 23% | 29%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
buffa-codegen4% | 0% | 19% | 18% | 57%
buffa-descriptor0% | 4% | 8% | 12% | 74%
benchmarks0% | 10% | 23% | 14% | 51%
protoc-gen-buffa0% | 26% | 0% | 2% | 70%
conformance0% | 24% | 0% | 1% | 73%
buffa0% | 0% | 3% | 4% | 92%
buffa-types0% | 0% | 0% | 3% | 96%
stress0% | 0% | 0% | 91% | 8%
buffa-remote-derive0% | 0% | 0% | 15% | 84%
protoc-gen-buffa-packaging0% | 0% | 0% | 12% | 87%
buffa-build0% | 0% | 0% | 2% | 97%
scripts0% | 0% | 0% | 34% | 65%
buffa-test0% | 0% | 0% | 0% | 100%
buffa-yaml0% | 0% | 0% | 0% | 100%
fuzz0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
597 59 4
258 42 6
109 41 1
98 38 2
159 32 6
80 31 0
224 27 1
84 24 7
124 23 6
172 21 7
192 21 6
67 19 5
183 18 1
80 17 7
110 17 4
87 17 3
79 16 2
102 16 4
59 16 0
171 15 4
123 15 5
176 15 6
108 15 5
95 14 2
149 14 7
136 14 3
83 13 3
55 13 5
41 13 1
67 13 1
91 13 3
55 13 2
40 13 3
87 13 4
106 13 5
116 12 4
92 12 8
120 12 3
66 12 1
26 12 1
80 11 2
88 11 3
72 11 4
69 11 5
43 11 4
81 11 1
52 11 4
120 11 4
80 11 0
81 10 7
About This Analysis
  • Conditional complexity (also called cyclomatic complexity) is a term used to measure the complexity of software. The term refers to the number of possible paths through a program function. A higher value ofter means higher maintenance and testing costs (infosecinstitute.com).
  • Conditional complexity is calculated by counting all conditions in the program that can affect the execution path (e.g. if statement, loops, switches, and/or operators, try and catch blocks...).
  • Conditional complexity is measured at the unit level (methods, functions...).
  • Units are classified in four categories based on the measured McCabe index: 1-5 (simple units), 6-10 (medium complex units), 11-25 (complex units), 26+ (very complex units).
Learn more...