Conditional Complexity Overall
  • There are 374 units with 7,637 lines of code in units (50.4% of code).
    • 1 very complex units (170 lines of code)
    • 8 complex units (1,135 lines of code)
    • 31 medium complex units (1,255 lines of code)
    • 74 simple units (1,835 lines of code)
    • 260 very simple units (3,242 lines of code)
2% | 14% | 16% | 24% | 42%
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
py6% | 26% | 19% | 25% | 21%
ts0% | 8% | 14% | 21% | 55%
tsx0% | 0% | 15% | 37% | 46%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
plugins6% | 26% | 18% | 25% | 21%
mods0% | 8% | 8% | 24% | 58%
.github0% | 29% | 25% | 26% | 18%
scripts0% | 0% | 73% | 5% | 21%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
170 51 1
267 48 1
202 47 1
91 36 0
179 34 2
75 32 3
201 29 1
49 28 7
71 26 1
107 23 0
53 23 1
40 21 2
41 20 4
31 19 2
19 17 1
140 17 0
58 16 2
33 15 1
25 15 2
39 15 3
52 15 2
42 15 2
26 14 3
29 14 0
42 14 4
58 14 2
32 13 3
25 13 1
24 13 1
24 13 0
46 13 2
26 12 2
34 12 3
36 12 2
32 11 2
17 11 2
10 11 1
39 11 1
42 11 2
33 11 2
95 10 0
19 10 1
37 10 4
56 10 1
23 10 3
55 10 3
32 10 2
54 10 3
28 10 1
23 10 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...