Conditional Complexity Overall
  • There are 49 units with 1,372 lines of code in units (66.0% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (138 lines of code)
    • 3 medium complex units (466 lines of code)
    • 7 simple units (294 lines of code)
    • 38 very simple units (474 lines of code)
0% | 10% | 33% | 21% | 34%
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
rb0% | 13% | 44% | 18% | 23%
pl0% | 0% | 0% | 34% | 65%
pm0% | 0% | 0% | 23% | 76%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
fastlylogs0% | 35% | 29% | 29% | 4%
s3_elastic_index0% | 0% | 100% | 0% | 0%
ROOT0% | 0% | 18% | 18% | 63%
cloudtrail0% | 0% | 0% | 69% | 30%
s3_cloudsearch0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 49 most complex units
Unit# linesMcCabe index# params
138 26 2
104 18 0
247 16 3
115 14 3
73 10 2
16 7 0
44 7 0
58 7 2
57 7 2
23 6 0
23 6 0
19 5 2
19 5 2
42 5 1
21 4 0
24 4 0
27 4 2
10 3 1
19 3 0
18 3 0
14 3 0
12 3 0
12 2 1
21 2 4
8 2 0
9 2 1
11 2 0
11 2 0
11 2 0
10 2 0
10 2 0
22 2 1
5 1 3
7 1 0
7 1 0
6 1 2
13 1 3
18 1 0
8 1 0
4 1 0
5 1 0
7 1 0
9 1 0
5 1 0
5 1 0
5 1 0
5 1 0
5 1 0
10 1 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...