aws-cloudformation / aws-cloudformation-resource-providers-licensemanager
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 48 units with 771 lines of code in units (59.4% 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)
    • 0 simple units (0 lines of code)
    • 48 very simple units (771 lines of code)
0% | 0% | 0% | 0% | 100%
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% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
aws-licensemanager-license/src/main/java/software/amazon/licensemanager/license0% | 0% | 0% | 0% | 100%
aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 20 most complex units
Unit# linesMcCabe index# params
private CreateGrantResponse createGrant()
in aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant/CreateHandler.java
30 5 5
private GetGrantResponse readResource()
in aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant/ReadHandler.java
22 5 3
private CreateLicenseResponse createLicense()
in aws-licensemanager-license/src/main/java/software/amazon/licensemanager/license/CreateHandler.java
31 5 5
private GetLicenseResponse readResource()
in aws-licensemanager-license/src/main/java/software/amazon/licensemanager/license/ReadHandler.java
22 5 3
private boolean stabilizedOnCreate()
in aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant/CreateHandler.java
22 4 3
public ProgressEvent handleRequest()
in aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant/ListHandler.java
30 4 5
private boolean stabilizedOnCreate()
in aws-licensemanager-license/src/main/java/software/amazon/licensemanager/license/CreateHandler.java
21 4 3
public ProgressEvent handleRequest()
in aws-licensemanager-license/src/main/java/software/amazon/licensemanager/license/ListHandler.java
30 4 5
private DeleteGrantResponse deleteGrant()
in aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant/DeleteHandler.java
18 3 3
private CreateGrantVersionResponse createGrantVersion()
in aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant/UpdateHandler.java
20 3 3
private DeleteLicenseResponse deleteResource()
in aws-licensemanager-license/src/main/java/software/amazon/licensemanager/license/DeleteHandler.java
18 3 3
static CreateLicenseRequest translateToCreateRequest()
in aws-licensemanager-license/src/main/java/software/amazon/licensemanager/license/Translator.java
45 3 1
static ResourceModel translateFromReadResponse()
in aws-licensemanager-license/src/main/java/software/amazon/licensemanager/license/Translator.java
42 3 1
static CreateLicenseVersionRequest translateToUpdateRequest()
in aws-licensemanager-license/src/main/java/software/amazon/licensemanager/license/Translator.java
46 3 1
private CreateLicenseVersionResponse createLicenseVersion()
in aws-licensemanager-license/src/main/java/software/amazon/licensemanager/license/UpdateHandler.java
20 3 3
protected ProgressEvent handleRequest()
in aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant/DeleteHandler.java
29 2 5
public final ProgressEvent handleRequest()
in aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant/BaseHandlerStd.java
13 2 4
static ListDistributedGrantsRequest translateToListRequest()
in aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant/Translator.java
12 2 2
public static Filter convertFilter()
in aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant/Translator.java
7 2 1
static List translateFromListRequest()
in aws-licensemanager-grant/src/main/java/software/amazon/licensemanager/grant/Translator.java
9 2 1