Conditional Complexity Overall
  • There are 4,123 units with 26,684 lines of code in units (69.5% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (398 lines of code)
    • 36 medium complex units (2,096 lines of code)
    • 116 simple units (3,350 lines of code)
    • 3,969 very simple units (20,840 lines of code)
0% | 1% | 7% | 12% | 78%
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% | 1% | 7% | 12% | 78%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
astyanax-thrift0% | 5% | 8% | 13% | 72%
astyanax-queue0% | 8% | 6% | 15% | 69%
astyanax-cassandra0% | 0% | 11% | 10% | 78%
astyanax-cql0% | 0% | 7% | 13% | 79%
astyanax-recipes0% | 0% | 15% | 14% | 70%
astyanax-core0% | 0% | 2% | 11% | 85%
astyanax-entity-mapper0% | 0% | 4% | 14% | 81%
astyanax-contrib0% | 0% | 0% | 9% | 90%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
170 32 7
228 26 1
80 25 3
82 25 2
145 25 1
49 23 1
94 23 2
44 22 3
45 22 4
109 21 1
46 21 3
43 19 4
43 19 4
50 18 1
91 18 0
39 18 3
37 18 2
39 18 3
37 18 2
49 16 2
52 16 1
38 16 0
81 16 2
75 13 0
53 13 1
67 13 2
54 12 1
58 12 0
74 12 3
48 12 0
50 12 2
49 12 0
44 11 0
34 11 6
35 11 2
40 11 2
67 11 2
55 11 1
44 10 1
36 10 2
44 10 1
46 10 0
20 10 1
23 10 3
20 10 1
59 10 0
89 10 0
20 10 1
42 10 0
45 10 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...