Conditional Complexity Overall
  • There are 559 units with 5,939 lines of code in units (49.7% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (167 lines of code)
    • 7 medium complex units (781 lines of code)
    • 11 simple units (469 lines of code)
    • 540 very simple units (4,522 lines of code)
0% | 2% | 13% | 7% | 76%
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
rs0% | 3% | 14% | 7% | 74%
js0% | 0% | 0% | 16% | 83%
pyi0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
deepseek-recipe0% | 5% | 20% | 7% | 66%
deepseek-recipe-encoding0% | 0% | 36% | 24% | 39%
deepseek-recipe-python0% | 0% | 2% | 0% | 97%
deepseek-recipe-image0% | 0% | 0% | 13% | 86%
encoding-decoding-demo0% | 0% | 0% | 12% | 87%
deepseek-recipe-core0% | 0% | 0% | 40% | 59%
server-rs0% | 0% | 0% | 0% | 100%
server-py0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
167 26 2
228 18 3
126 14 1
169 13 2
87 13 5
60 11 3
44 11 2
67 11 2
91 9 2
68 9 4
51 9 2
44 8 3
31 8 3
34 8 2
34 8 2
52 8 1
17 7 2
19 6 3
28 6 1
24 5 3
14 5 1
33 5 2
56 5 2
36 5 2
21 5 2
28 5 1
20 5 3
37 5 2
20 5 0
26 5 0
21 4 3
18 4 1
9 4 4
56 4 2
36 4 1
12 4 2
19 4 4
26 4 4
32 4 2
43 4 3
15 4 2
16 4 2
9 4 1
37 4 3
15 4 2
15 4 1
18 4 1
13 4 1
18 4 1
13 4 3
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...