Conditional Complexity Overall
  • There are 160 units with 2,965 lines of code in units (24.7% of code).
    • 1 very complex units (293 lines of code)
    • 1 complex units (111 lines of code)
    • 18 medium complex units (667 lines of code)
    • 37 simple units (893 lines of code)
    • 103 very simple units (1,001 lines of code)
9% | 3% | 22% | 30% | 33%
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
js11% | 4% | 25% | 27% | 30%
py0% | 0% | 7% | 38% | 53%
ts0% | 0% | 0% | 56% | 43%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
plugins10% | 3% | 23% | 30% | 31%
scripts0% | 0% | 8% | 23% | 67%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
293 61 2
111 34 2
88 20 2
57 18 2
27 18 1
61 18 2
47 17 2
54 17 1
48 16 2
30 15 1
29 14 1
38 13 2
28 13 1
41 12 2
19 11 2
24 11 3
32 11 1
19 11 1
10 11 2
15 11 2
48 10 1
102 10 0
50 9 1
22 9 1
36 9 2
46 9 4
15 9 2
40 9 3
24 8 2
13 8 2
8 8 1
17 8 1
11 7 0
25 7 1
48 7 0
18 7 2
6 7 3
15 7 3
23 7 3
11 7 2
13 6 2
13 6 1
10 6 0
15 6 1
56 6 2
14 6 1
9 6 4
13 6 1
23 6 1
11 6 4
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...