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).
public boolean equals() in services/settings-service/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/AppConfig.java
29
57
1
public Object handleRequest() in functions/onboarding-notification/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/OnboardingNotification.java
public Object handleRequest() in resources/custom-resources/rds-options/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/RdsOptions.java
140
20
2
public Object handleRequest() in resources/custom-resources/rds-bootstrap/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/RdsBootstrap.java
115
20
2
public List queryMetrics() in services/metric-service/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/MetricServiceDAL.java
119
19
1
public boolean equals() in services/settings-service/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/SharedFilesystem.java
18
19
1
public Object handleRequest() in resources/custom-resources/redshift-table/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/RedshiftTable.java
122
18
2
public Object handleRequest() in functions/ecs-deploy/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/EcsDeploy.java
78
16
2
public Object handleRequest() in resources/custom-resources/clear-s3-bucket/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/ClearS3Bucket.java