Conditional Complexity Overall
  • There are 1,185 units with 13,587 lines of code in units (80.1% of code).
    • 2 very complex units (873 lines of code)
    • 3 complex units (456 lines of code)
    • 47 medium complex units (2,220 lines of code)
    • 84 simple units (2,234 lines of code)
    • 1,049 very simple units (7,804 lines of code)
6% | 3% | 16% | 16% | 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
java4% | 3% | 16% | 18% | 57%
c35% | 0% | 31% | 12% | 19%
h0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src6% | 3% | 16% | 16% | 57%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
485 150 7
388 106 2
199 38 3
149 38 7
108 30 5
92 25 7
61 23 1
67 22 1
155 22 10
44 20 3
67 18 5
54 18 1
79 18 6
43 18 2
39 17 3
41 17 2
52 17 0
95 17 7
92 17 1
55 16 1
53 16 3
27 15 3
54 14 1
69 14 2
50 14 5
41 14 1
40 13 4
26 13 1
29 13 1
38 13 6
49 13 2
36 13 2
42 13 5
42 12 5
27 12 2
64 12 2
32 12 3
58 12 6
39 12 3
20 12 1
35 12 4
37 12 1
34 12 6
17 11 1
25 11 1
11 11 1
49 11 5
39 11 2
33 11 1
21 11 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...