aws-cloudformation / aws-cloudformation-resource-providers-ec2-acmcerts
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 13 units with 247 lines of code in units (56.0% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 1 medium complex units (48 lines of code)
    • 0 simple units (0 lines of code)
    • 12 very simple units (199 lines of code)
0% | 0% | 19% | 0% | 80%
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% | 19% | 0% | 80%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation0% | 0% | 19% | 0% | 80%
Most Complex Units
Top 13 most complex units
Unit# linesMcCabe index# params
protected abstract ProgressEvent handleRequest()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/BaseHandlerStd.java
48 15 5
protected ProgressEvent handleRequest()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/CreateHandler.java
49 3 5
protected ProgressEvent handleRequest()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/DeleteHandler.java
39 3 5
protected ProgressEvent handleRequest()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/ReadHandler.java
32 3 5
public static AssociatedRole getAssociatedRole()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/Helper.java
18 3 3
protected ProgressEvent handleRequest()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/ListHandler.java
24 2 5
public ProgressEvent handleRequest()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/BaseHandlerStd.java
7 2 4
protected static void validateNotNull()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/BaseHandlerStd.java
5 2 2
private Translator()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/Translator.java
1 1 0
static List translateForList()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/Translator.java
11 1 2
static Stream streamOfOrEmpty()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/Translator.java
5 1 1
public static Ec2Client getClient()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/ClientBuilder.java
5 1 0
public Configuration()
in aws-ec2-enclavecertificateiamroleassociation/src/main/java/software/amazon/ec2/enclavecertificateiamroleassociation/Configuration.java
3 1 0