Conditional Complexity Overall
  • There are 775 units with 7,896 lines of code in units (20.2% of code).
    • 1 very complex units (75 lines of code)
    • 3 complex units (297 lines of code)
    • 25 medium complex units (1,239 lines of code)
    • 66 simple units (1,865 lines of code)
    • 680 very simple units (4,420 lines of code)
<1% | 3% | 15% | 23% | 55%
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
ts<1% | 3% | 14% | 23% | 56%
cjs0% | 0% | 73% | 15% | 12%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src1% | 4% | 15% | 24% | 54%
scripts0% | 0% | 73% | 15% | 12%
packages0% | 0% | 4% | 8% | 87%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
75 53 2
136 48 4
72 36 1
89 30 1
84 25 1
65 24 5
142 24 3
85 21 2
70 18 1
68 17 1
11 17 2
65 16 2
34 16 2
22 14 2
84 14 1
43 13 4
39 13 2
32 13 3
73 12 0
35 12 2
28 12 3
26 12 2
19 11 1
49 11 1
37 11 4
52 11 2
22 11 1
33 11 2
21 11 2
43 10 1
31 10 1
31 10 3
24 10 1
34 10 2
19 10 1
49 10 2
45 10 2
41 10 2
71 10 1
35 9 4
36 9 4
50 9 1
17 9 1
31 9 1
43 9 2
30 9 4
38 9 3
18 9 1
31 9 1
34 9 3
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...