Conditional Complexity Overall
  • There are 5,861 units with 35,361 lines of code in units (63.6% of code).
    • 2 very complex units (340 lines of code)
    • 21 complex units (1,960 lines of code)
    • 72 medium complex units (3,867 lines of code)
    • 170 simple units (3,967 lines of code)
    • 5,596 very simple units (25,227 lines of code)
<1% | 5% | 10% | 11% | 71%
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
go<1% | 5% | 10% | 11% | 71%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
internal4% | 14% | 24% | 20% | 36%
ROOT0% | 2% | 2% | 5% | 89%
lib0% | 15% | 30% | 19% | 34%
tools0% | 0% | 41% | 18% | 40%
bedrock0% | 0% | 56% | 4% | 38%
config0% | 0% | 35% | 30% | 33%
option0% | 0% | 20% | 6% | 73%
mcp0% | 0% | 20% | 50% | 28%
vertex0% | 0% | 43% | 30% | 26%
foundry0% | 0% | 38% | 0% | 61%
packages0% | 0% | 0% | 35% | 64%
googlecloud0% | 0% | 0% | 56% | 43%
shared0% | 0% | 0% | 2% | 97%
toolrunner0% | 0% | 0% | 21% | 78%
aws0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
183 55 1
157 51 1
194 49 1
169 47 1
93 45 1
79 38 1
79 38 1
114 37 1
75 36 1
81 34 1
104 33 1
81 33 1
160 31 1
89 30 1
92 29 2
84 28 1
82 27 1
58 27 2
97 27 1
74 27 1
66 26 1
48 26 2
41 26 1
131 24 1
86 24 1
90 24 1
83 24 2
69 24 1
48 23 2
81 23 1
88 22 2
76 22 1
75 21 1
96 21 6
72 20 1
63 20 1
67 20 1
44 19 3
73 19 2
61 18 2
59 18 1
68 18 1
20 17 1
66 17 3
50 17 3
37 17 1
77 17 2
46 17 1
58 17 1
88 17 1
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...