Conditional Complexity Overall
  • There are 239 units with 3,291 lines of code in units (20.9% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (168 lines of code)
    • 18 medium complex units (898 lines of code)
    • 29 simple units (730 lines of code)
    • 191 very simple units (1,495 lines of code)
0% | 5% | 27% | 22% | 45%
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
tsx0% | 13% | 8% | 23% | 54%
ts0% | 0% | 38% | 22% | 38%
js0% | 0% | 31% | 0% | 68%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 5% | 27% | 23% | 43%
plugin-api0% | 0% | 31% | 0% | 68%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
168 41 16
115 24 2
94 22 9
83 19 0
78 17 1
52 17 2
33 16 2
27 14 1
91 13 2
28 13 2
87 13 2
25 13 1
36 12 1
23 12 1
22 12 4
21 11 3
27 11 2
35 11 3
21 11 3
27 10 2
15 10 2
91 10 1
59 9 2
54 9 9
29 9 1
34 9 1
9 8 4
35 8 3
9 8 2
41 7 0
22 7 2
18 7 2
21 7 1
37 7 7
23 7 6
14 7 3
10 6 0
18 6 1
16 6 2
15 6 1
13 6 4
15 6 2
28 6 1
16 6 1
12 6 1
7 6 3
30 6 3
12 6 1
14 5 1
10 5 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...