Conditional Complexity Overall
  • There are 951 units with 7,192 lines of code in units (58.1% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 12 medium complex units (723 lines of code)
    • 36 simple units (1,093 lines of code)
    • 903 very simple units (5,376 lines of code)
0% | 0% | 10% | 15% | 74%
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
java0% | 0% | 10% | 15% | 74%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
governator-legacy0% | 0% | 14% | 13% | 71%
governator-core0% | 0% | 3% | 19% | 77%
governator-jetty0% | 0% | 28% | 0% | 71%
governator-jersey0% | 0% | 0% | 20% | 79%
governator-archaius0% | 0% | 0% | 23% | 76%
governator-servlet0% | 0% | 0% | 37% | 62%
governator-providers0% | 0% | 0% | 10% | 89%
governator-commons-cli0% | 0% | 0% | 0% | 100%
buildSrc0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
140 20 1
57 18 2
106 16 3
58 14 6
62 13 2
28 13 3
74 12 3
30 12 3
44 11 2
61 11 1
32 11 2
31 11 4
28 10 3
32 10 1
39 10 4
43 10 2
38 10 3
26 9 2
47 9 2
22 9 2
33 9 1
31 9 1
20 9 1
34 9 5
48 9 3
28 8 1
74 8 2
10 8 3
52 7 3
19 7 1
19 7 1
26 7 2
27 7 0
32 7 1
25 7 1
50 7 0
33 7 4
16 6 1
18 6 0
37 6 0
27 6 2
13 6 1
15 6 1
40 6 0
20 6 1
26 6 2
18 6 2
27 6 0
23 5 2
14 5 0
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...