Conditional Complexity Overall
  • There are 246 units with 3,247 lines of code in units (39.7% of code).
    • 1 very complex units (149 lines of code)
    • 4 complex units (500 lines of code)
    • 15 medium complex units (456 lines of code)
    • 41 simple units (868 lines of code)
    • 185 very simple units (1,274 lines of code)
4% | 15% | 14% | 26% | 39%
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
py4% | 15% | 14% | 26% | 39%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src6% | 16% | 18% | 19% | 37%
.github0% | 47% | 8% | 23% | 20%
scripts0% | 0% | 2% | 47% | 49%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
149 72 1
75 32 3
62 31 4
58 27 1
305 26 2
41 21 1
8 19 1
30 16 4
32 16 1
42 15 2
48 15 1
33 14 3
24 13 0
18 12 2
32 12 2
50 12 1
24 12 1
24 11 0
18 11 1
32 11 2
21 10 2
22 10 1
69 10 0
22 10 1
26 10 2
87 9 3
33 9 0
26 9 1
14 8 2
16 8 1
22 8 1
17 8 2
14 8 2
15 8 3
14 8 1
72 7 0
6 7 1
29 7 0
21 7 2
20 7 1
9 7 1
20 7 1
5 6 1
20 6 0
25 6 2
34 6 2
15 6 2
10 6 1
5 6 2
14 6 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...