aws / aws-elastic-beanstalk-cli-setup
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 26 units with 275 lines of code in units (65.3% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 0 medium complex units (0 lines of code)
    • 1 simple units (14 lines of code)
    • 25 very simple units (261 lines of code)
0% | 0% | 0% | 5% | 94%
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% | 0% | 5% | 94%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
scripts0% | 0% | 0% | 5% | 94%
Most Complex Units
Top 20 most complex units
Unit# linesMcCabe index# params
def _locate_virtualenv_executable()
in scripts/ebcli_installer.py
14 6 0
def _print_in_foreground()
in scripts/ebcli_installer.py
20 5 2
def _user_local_directory()
in scripts/ebcli_installer.py
15 5 0
def _pip_executable_found()
in scripts/ebcli_installer.py
12 5 1
def _announce_success()
in scripts/ebcli_installer.py
39 4 2
def _install_ebcli()
in scripts/ebcli_installer.py
14 4 3
def _activate_virtualenv()
in scripts/ebcli_installer.py
15 3 1
def _generate_ebcli_wrappers()
in scripts/ebcli_installer.py
15 3 1
def _parse_arguments()
in scripts/ebcli_installer.py
47 3 0
3 2 0
def _exec_cmd()
in scripts/ebcli_installer.py
10 2 2
def _original_eb_location()
in scripts/ebcli_installer.py
10 2 1
def __init__()
in scripts/ebcli_installer.py
2 1 2
def __call__()
in scripts/ebcli_installer.py
9 1 2
def _print_recommendation_message()
in scripts/ebcli_installer.py
2 1 1
def _print_success_message()
in scripts/ebcli_installer.py
2 1 1
def _print_error_message()
in scripts/ebcli_installer.py
2 1 1
def _create_virtualenv()
in scripts/ebcli_installer.py
5 1 0
def _add_ebcli_stamp()
in scripts/ebcli_installer.py
9 1 1
def _bat_script_body()
in scripts/ebcli_installer.py
4 1 1