Conditional Complexity Overall
  • There are 829 units with 8,713 lines of code in units (76.1% of code).
    • 1 very complex units (549 lines of code)
    • 1 complex units (220 lines of code)
    • 29 medium complex units (1,396 lines of code)
    • 72 simple units (1,529 lines of code)
    • 726 very simple units (5,019 lines of code)
6% | 2% | 16% | 17% | 57%
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
js6% | 2% | 16% | 17% | 57%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
js6% | 2% | 16% | 17% | 57%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
549 111 2
220 40 1
48 23 2
65 23 2
91 21 1
106 20 2
88 19 1
28 17 0
50 17 1
66 17 1
22 15 3
44 15 2
28 14 4
68 14 0
68 14 0
36 14 2
7 13 1
26 13 1
26 13 1
73 13 1
35 13 4
73 13 1
35 13 4
20 12 4
68 12 1
19 12 2
63 12 0
63 12 0
34 12 2
17 11 1
29 11 3
26 10 2
9 10 1
9 10 1
20 10 2
51 10 0
21 9 1
9 9 1
9 9 1
25 9 2
21 9 1
24 9 3
38 9 3
24 9 3
38 9 3
16 8 0
13 8 4
38 8 2
19 8 2
22 8 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...