Conditional Complexity Overall
  • There are 813 units with 12,033 lines of code in units (39.3% of code).
    • 0 very complex units (0 lines of code)
    • 8 complex units (1,165 lines of code)
    • 40 medium complex units (1,774 lines of code)
    • 105 simple units (3,077 lines of code)
    • 660 very simple units (6,017 lines of code)
0% | 9% | 14% | 25% | 50%
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
ts0% | 17% | 16% | 20% | 45%
js0% | 44% | 29% | 18% | 7%
py0% | 2% | 16% | 26% | 54%
tsx0% | 0% | 7% | 32% | 59%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
managed-agents0% | 8% | 12% | 25% | 52%
browser-use-demo0% | 21% | 27% | 21% | 29%
financial-data-analyst0% | 32% | 0% | 25% | 41%
computer-use-best-practices0% | 0% | 18% | 32% | 48%
autonomous-coding0% | 0% | 28% | 30% | 40%
customer-support-agent0% | 0% | 63% | 0% | 36%
computer-use-demo0% | 0% | 12% | 18% | 68%
agents0% | 0% | 10% | 20% | 69%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
199 44 2
89 42 0
83 40 1
109 37 1
184 35 2
148 31 1
211 28 1
142 28 3
85 22 2
32 21 3
146 21 0
47 20 2
33 18 0
62 18 1
24 18 1
48 18 3
31 16 0
71 16 1
51 15 1
22 15 1
22 15 2
35 14 2
84 14 2
52 14 1
19 14 1
19 14 1
35 13 1
52 13 1
43 13 1
47 12 1
24 12 1
25 12 3
32 12 2
63 12 5
53 12 3
65 12 2
20 12 1
42 12 2
44 12 3
57 11 3
19 11 3
41 11 8
28 11 1
19 11 1
94 11 9
25 11 5
38 11 1
25 11 3
98 10 6
67 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...