Conditional Complexity Overall
  • There are 639 units with 10,223 lines of code in units (53.6% of code).
    • 0 very complex units (0 lines of code)
    • 8 complex units (1,052 lines of code)
    • 33 medium complex units (1,564 lines of code)
    • 89 simple units (2,532 lines of code)
    • 509 very simple units (5,075 lines of code)
0% | 10% | 15% | 24% | 49%
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
tsx0% | 22% | 10% | 21% | 45%
py0% | 10% | 21% | 24% | 43%
js0% | 9% | 31% | 33% | 25%
ts0% | 0% | 8% | 25% | 66%
cjs0% | 0% | 55% | 22% | 21%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
production-ready-agent0% | 17% | 6% | 12% | 64%
how-we-claude-code0% | 18% | 10% | 27% | 43%
agent-battle0% | 6% | 33% | 29% | 29%
agent-decomposition0% | 10% | 15% | 20% | 53%
ship-your-first-managed-agent0% | 26% | 0% | 26% | 46%
research-desk0% | 0% | 11% | 32% | 55%
eval-driven-agent-development0% | 0% | 8% | 27% | 64%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
102 44 6
272 42 0
190 38 3
190 38 3
115 37 0
74 29 4
79 29 0
30 27 2
90 25 1
65 25 2
65 25 2
56 23 1
101 22 2
54 21 2
107 19 0
42 18 0
38 17 3
38 16 3
52 16 3
30 15 1
36 14 4
49 14 1
40 14 4
22 14 0
24 14 3
33 14 3
51 13 5
50 13 1
51 13 0
23 13 1
31 13 3
14 13 1
32 12 2
30 12 0
26 12 1
49 12 2
100 11 0
55 11 1
61 11 0
12 11 2
37 11 3
65 10 5
54 10 1
54 10 5
13 10 2
14 10 2
45 10 4
43 10 2
60 10 0
33 10 0
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...