aws-quickstart / quickstart-tableau-snowflake
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
  • 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...
Conditional Complexity Overall
  • There are 22 units with 414 lines of code in units (83.1% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 2 medium complex units (99 lines of code)
    • 8 simple units (239 lines of code)
    • 12 very simple units (76 lines of code)
0% | 0% | 23% | 57% | 18%
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
py0% | 0% | 23% | 57% | 18%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
assets/scripts0% | 0% | 23% | 57% | 18%
Most Complex Units
Top 20 most complex units
Unit# linesMcCabe index# params
def run_inno_installer()
in assets/scripts/SilentInstaller.py
62 16 1
def main()
in assets/scripts/SilentInstaller.py
37 11 0
def main()
in assets/scripts/update-datasource.py
30 10 1
def get_nodes_and_apply_topology()
in assets/scripts/SilentInstaller.py
30 9 5
def __init__()
in assets/scripts/SilentInstaller.py
17 8 2
def make_cmd_line_parser()
in assets/scripts/SilentInstaller.py
60 8 0
def run_worker_installer()
in assets/scripts/SilentInstaller.py
31 8 2
def run_setup()
in assets/scripts/SilentInstaller.py
34 8 3
def run_command()
in assets/scripts/SilentInstaller.py
21 7 5
def getGatewayPort()
in assets/scripts/SilentInstaller.py
16 6 1
def __str__()
in assets/scripts/SilentInstaller.py
3 3 1
def read_json_file()
in assets/scripts/SilentInstaller.py
9 3 1
def run_tsm_command()
in assets/scripts/SilentInstaller.py
10 3 5
def get_options()
in assets/scripts/SilentInstaller.py
14 3 0
def print_error_lines()
in assets/scripts/SilentInstaller.py
8 2 1
def run_tabcmd_command()
in assets/scripts/SilentInstaller.py
7 2 2
def assert_no_existing_installation()
in assets/scripts/SilentInstaller.py
6 2 0
def __init__()
in assets/scripts/SilentInstaller.py
3 1 3
def print_error()
in assets/scripts/SilentInstaller.py
3 1 2
def make_bootstrap_cmd_line_parser()
in assets/scripts/SilentInstaller.py
6 1 0