Conditional Complexity Overall
  • There are 568 units with 4,777 lines of code in units (55.5% of code).
    • 2 very complex units (579 lines of code)
    • 2 complex units (219 lines of code)
    • 7 medium complex units (356 lines of code)
    • 23 simple units (535 lines of code)
    • 534 very simple units (3,088 lines of code)
12% | 4% | 7% | 11% | 64%
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
java12% | 4% | 7% | 11% | 64%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
netflix-infix21% | 8% | 10% | 8% | 50%
netflix-eventbus0% | 0% | 5% | 18% | 76%
netflix-statistics0% | 0% | 0% | 19% | 80%
netflix-commons-util0% | 0% | 0% | 0% | 100%
netflix-eventbus-bridge0% | 0% | 0% | 0% | 100%
netflix-eventbus-rx0% | 0% | 0% | 0% | 100%
netflix-jersey-guice0% | 0% | 0% | 0% | 100%
netflix-lifecycle0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
347 77 0
232 54 0
109 28 0
110 27 0
75 24 0
61 17 2
41 16 1
64 15 0
34 13 1
47 13 0
34 13 1
27 10 1
27 10 1
39 10 2
21 10 1
38 9 0
37 9 1
21 9 1
23 8 1
23 8 1
31 8 1
20 7 1
20 7 1
20 7 1
23 7 1
26 7 1
29 7 1
13 6 1
13 6 1
13 6 1
23 6 3
13 6 3
22 6 0
13 6 1
21 5 0
16 5 0
9 5 0
26 5 1
21 5 2
39 5 3
19 5 2
10 5 1
8 4 0
12 4 1
28 4 0
8 4 0
13 4 1
17 4 1
13 4 2
11 4 1
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...