Conditional Complexity Overall
  • There are 117 units with 1,820 lines of code in units (40.5% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 5 medium complex units (304 lines of code)
    • 14 simple units (460 lines of code)
    • 98 very simple units (1,056 lines of code)
0% | 0% | 16% | 25% | 58%
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
js0% | 0% | 16% | 25% | 57%
py0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
gemini-live-ephemeral-tokens-websocket0% | 0% | 18% | 30% | 51%
gemini-live-genai-python-sdk0% | 0% | 10% | 5% | 84%
command-line0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
90 24 1
71 20 1
51 12 1
56 11 1
36 11 1
61 10 0
18 9 3
28 8 3
41 8 1
34 8 0
30 8 0
37 7 1
39 7 0
28 7 1
25 7 0
25 7 0
52 6 0
24 6 0
18 6 0
17 5 3
19 5 1
15 5 0
28 5 0
8 5 1
13 5 3
25 5 1
25 5 3
9 4 2
11 4 2
17 4 0
37 4 1
29 4 0
12 4 0
13 4 1
13 3 0
7 3 1
5 3 1
13 3 0
11 3 0
12 3 0
7 3 6
8 3 0
5 3 1
35 3 1
11 3 0
18 3 3
11 3 0
22 2 1
12 2 0
46 2 2
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...