Conditional Complexity Overall
  • There are 1,042 units with 9,577 lines of code in units (79.4% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (208 lines of code)
    • 31 medium complex units (1,312 lines of code)
    • 71 simple units (1,566 lines of code)
    • 938 very simple units (6,491 lines of code)
0% | 2% | 13% | 16% | 67%
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
js0% | 2% | 13% | 16% | 68%
rb0% | 0% | 28% | 31% | 39%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 2% | 13% | 16% | 67%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
136 36 1
72 29 2
37 21 3
36 21 1
88 20 6
73 19 1
56 19 0
37 18 2
23 16 3
85 16 1
23 15 3
71 15 1
61 15 1
21 14 2
27 14 2
26 14 1
65 14 2
39 14 3
39 13 4
36 13 0
75 13 0
60 13 0
17 12 0
39 12 2
33 12 1
25 11 0
61 11 1
6 11 3
38 11 1
29 11 2
39 11 2
24 11 4
23 11 3
21 10 1
25 10 1
23 9 1
23 9 1
27 9 1
30 9 2
24 9 1
55 9 0
12 8 2
13 8 3
19 8 3
28 8 0
26 8 0
23 8 1
18 8 0
19 8 3
24 8 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...