Conditional Complexity Overall
  • There are 988 units with 6,239 lines of code in units (64.9% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 3 medium complex units (102 lines of code)
    • 26 simple units (596 lines of code)
    • 959 very simple units (5,541 lines of code)
0% | 0% | 1% | 9% | 88%
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% | 1% | 9% | 88%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
servo-core0% | 0% | 1% | 10% | 87%
servo-apache0% | 0% | 22% | 25% | 52%
servo-tomcat0% | 0% | 0% | 24% | 75%
servo-aws0% | 0% | 0% | 6% | 93%
servo-atlas0% | 0% | 0% | 0% | 100%
servo-graphite0% | 0% | 0% | 0% | 100%
servo-example0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
28 12 1
55 12 2
19 12 1
14 10 1
43 10 0
32 9 1
14 8 1
37 8 4
14 8 1
20 8 0
13 8 0
24 7 3
30 7 4
9 7 1
25 7 3
24 7 2
23 7 2
28 7 1
21 7 1
29 7 2
33 7 1
31 6 2
13 6 1
12 6 1
12 6 1
32 6 4
23 6 2
26 6 1
14 6 1
21 5 2
23 5 2
17 5 0
17 5 2
16 5 4
31 5 3
16 5 3
16 5 3
19 5 2
26 5 0
10 5 1
11 5 1
10 5 1
10 5 1
13 5 1
10 5 1
10 5 1
10 5 1
10 5 1
18 5 0
18 5 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...