Conditional Complexity Overall
  • There are 2,875 units with 20,660 lines of code in units (68.6% of code).
    • 0 very complex units (0 lines of code)
    • 5 complex units (376 lines of code)
    • 47 medium complex units (2,269 lines of code)
    • 96 simple units (2,574 lines of code)
    • 2,727 very simple units (15,441 lines of code)
0% | 1% | 10% | 12% | 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% | 1% | 11% | 12% | 74%
scala0% | 0% | 0% | 19% | 80%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
spark0% | 4% | 9% | 6% | 79%
data0% | 8% | 16% | 2% | 72%
parquet0% | 2% | 11% | 16% | 69%
pig0% | 11% | 3% | 16% | 68%
core0% | 0% | 13% | 13% | 73%
api0% | 0% | 6% | 14% | 79%
orc0% | 0% | 39% | 7% | 52%
hive0% | 0% | 21% | 36% | 42%
common0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
73 32 2
81 32 2
68 31 2
58 30 2
96 26 3
55 25 1
52 25 1
55 25 1
88 24 2
68 22 2
50 21 1
72 21 1
53 20 1
78 19 3
76 19 3
53 19 2
57 19 1
38 19 1
40 19 2
55 18 1
55 18 1
44 17 1
44 17 2
45 17 1
60 16 0
36 16 1
36 16 2
58 16 4
41 16 1
20 15 1
51 15 1
48 15 2
58 15 1
40 15 1
86 15 3
40 15 1
40 15 1
33 15 1
45 14 1
68 13 0
32 13 2
46 12 2
46 12 3
25 12 3
35 12 2
60 11 1
22 11 2
27 11 1
26 11 1
26 11 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...