id: 1 unit: constructor() file: static/Sustainability/300_cur_reports_as_efficiency_reports/lab3/code/aws-usage-queries.ts start line: 13 end line: 391 size: 344 LOC McCabe index: 1 number of parameters: 3 id: 2 unit: def lensTabCreation() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 206 LOC McCabe index: 28 number of parameters: 8 id: 3 unit: def lambda_handler() file: static/Reliability/200_Testing_Backup_and_Restore_of_Data/Code/lambda_function.py start line: 0 end line: 0 size: 137 LOC McCabe index: 26 number of parameters: 2 id: 4 unit: def lambda_handler() file: static/watool/200_Manage_Workload_Risks_with_OpsCenter/Code/risk_tracking.py start line: 0 end line: 0 size: 122 LOC McCabe index: 25 number of parameters: 2 id: 5 unit: def lambda_handler() file: static/Security/200_Automated_IAM_User_Cleanup/Code/lambda-iam-user-cleanup.py start line: 0 end line: 0 size: 117 LOC McCabe index: 21 number of parameters: 2 id: 6 unit: def deploy_dms() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/DMSLambda/deploy_dms_lambda.py start line: 0 end line: 0 size: 109 LOC McCabe index: 22 number of parameters: 1 id: 7 unit: def generate_one_record() file: static/Reliability/200_Backup_Restore_Failback_Analytics/Code/src/tweetmaker.py start line: 0 end line: 0 size: 102 LOC McCabe index: 1 number of parameters: 1 id: 8 unit: def deploy_web_servers() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py start line: 0 end line: 0 size: 96 LOC McCabe index: 13 number of parameters: 1 id: 9 unit: def deploy_read_replica() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/ReadReplicaLambda/deploy_read_replica_lambda.py start line: 0 end line: 0 size: 84 LOC McCabe index: 13 number of parameters: 1 id: 10 unit: def main() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 83 LOC McCabe index: 4 number of parameters: 0 id: 11 unit: def main() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 80 LOC McCabe index: 22 number of parameters: 0 id: 12 unit: public void failover() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/java/appresiliency/src/main/java/com/app/resiliency/AZFailover.java start line: 52 end line: 156 size: 79 LOC McCabe index: 18 number of parameters: 0 id: 13 unit: def lambda_handler() file: static/watool/200_Manage_Workload_Risks_with_OpsCenter/Code/update_workload.py start line: 0 end line: 0 size: 72 LOC McCabe index: 17 number of parameters: 2 id: 14 unit: def lambda_handler() file: static/Cost/300_Optimization_Data_Collection/Code/source/ecs/ecs.py start line: 0 end line: 0 size: 68 LOC McCabe index: 10 number of parameters: 2 id: 15 unit: def deploy_rds() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/RDSLambda/deploy_rds_lambda.py start line: 0 end line: 0 size: 66 LOC McCabe index: 10 number of parameters: 1 id: 16 unit: def main() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 61 LOC McCabe index: 19 number of parameters: 0 id: 17 unit: def do_GET() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 61 LOC McCabe index: 12 number of parameters: 1 id: 18 unit: def do_GET() file: static/Reliability/100_Deploy_CloudFormation/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 61 LOC McCabe index: 12 number of parameters: 1 id: 19 unit: public virtual async Task Failover() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/c#/AppResiliency/AppResiliency/AZFailover.cs start line: 55 end line: 133 size: 60 LOC McCabe index: 8 number of parameters: 0 id: 20 unit: def main() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 58 LOC McCabe index: 20 number of parameters: 0 id: 21 unit: def UpdateWorkload() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 52 LOC McCabe index: 12 number of parameters: 10 id: 22 unit: def do_GET() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/server.py start line: 0 end line: 0 size: 52 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: def UpdateWorkload() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 51 LOC McCabe index: 11 number of parameters: 9 id: 24 unit: def CreateNewWorkload() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 51 LOC McCabe index: 5 number of parameters: 15 id: 25 unit: def deploy_vpc() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/VPCLambda/deploy_vpc_lambda.py start line: 0 end line: 0 size: 51 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: def CreateNewWorkload() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 50 LOC McCabe index: 5 number of parameters: 15 id: 27 unit: def do_GET() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/server_with_reconnect.py start line: 0 end line: 0 size: 48 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: def main() file: static/Cost/300_Optimization_Data_Collection/Code/source/ta/ta.py start line: 0 end line: 0 size: 44 LOC McCabe index: 8 number of parameters: 2 id: 29 unit: def run() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/server.py start line: 0 end line: 0 size: 44 LOC McCabe index: 10 number of parameters: 1 id: 30 unit: def CreateNewWorkload() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 43 LOC McCabe index: 4 number of parameters: 15 id: 31 unit: def run() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/server_with_reconnect.py start line: 0 end line: 0 size: 43 LOC McCabe index: 10 number of parameters: 1 id: 32 unit: def lambda_handler() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WaitForStackLambda/wait_for_stack_lambda.py start line: 0 end line: 0 size: 41 LOC McCabe index: 4 number of parameters: 2 id: 33 unit: def do_GET() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_errorhandling.py start line: 0 end line: 0 size: 40 LOC McCabe index: 8 number of parameters: 1 id: 34 unit: def lambda_handler() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py start line: 0 end line: 0 size: 40 LOC McCabe index: 9 number of parameters: 2 id: 35 unit: def run() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_basic.py start line: 0 end line: 0 size: 38 LOC McCabe index: 8 number of parameters: 1 id: 36 unit: def run() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_errorhandling.py start line: 0 end line: 0 size: 38 LOC McCabe index: 8 number of parameters: 1 id: 37 unit: def run() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 38 LOC McCabe index: 8 number of parameters: 1 id: 38 unit: def run() file: static/Reliability/100_Deploy_CloudFormation/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 38 LOC McCabe index: 8 number of parameters: 1 id: 39 unit: public virtual async Task Failover() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/c#/AppResiliency/AppResiliency/InstanceFailover.cs start line: 44 end line: 85 size: 38 LOC McCabe index: 3 number of parameters: 0 id: 40 unit: def list_accounts() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data.py start line: 0 end line: 0 size: 36 LOC McCabe index: 5 number of parameters: 0 id: 41 unit: def lambda_handler() file: static/watool/300_Using_WAT_With_Cloudformation_And_Custom_Lambda/Code/Python/UpdateWAQuestionLambda.py start line: 0 end line: 0 size: 36 LOC McCabe index: 7 number of parameters: 2 id: 42 unit: def lambda_handler() file: static/watool/300_Using_WAT_With_Cloudformation_And_Custom_Lambda/Code/Python/CreateWAWorkloadLambda.py start line: 0 end line: 0 size: 36 LOC McCabe index: 3 number of parameters: 2 id: 43 unit: def getImprovementPlanHTMLDescription() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 35 LOC McCabe index: 10 number of parameters: 2 id: 44 unit: def wait_for_stack() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WaitForStackLambda/wait_for_stack_lambda.py start line: 0 end line: 0 size: 35 LOC McCabe index: 8 number of parameters: 3 id: 45 unit: public virtual async Task Failover() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/c#/AppResiliency/AppResiliency/RDSFailover.cs start line: 42 end line: 81 size: 34 LOC McCabe index: 7 number of parameters: 0 id: 46 unit: def UpdateWorkload() file: static/watool/300_Using_WAT_With_Cloudformation_And_Custom_Lambda/Code/Python/CreateWAWorkloadLambda.py start line: 0 end line: 0 size: 33 LOC McCabe index: 6 number of parameters: 10 id: 47 unit: def do_GET() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_basic.py start line: 0 end line: 0 size: 33 LOC McCabe index: 5 number of parameters: 1 id: 48 unit: public static void Main() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/c#/AppResiliency/AppResiliency/Failover.cs start line: 26 end line: 58 size: 33 LOC McCabe index: 8 number of parameters: 1 id: 49 unit: def lambda_handler() file: static/Cost/300_Optimization_Data_Collection/Code/source/COC.py start line: 0 end line: 0 size: 31 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: def lambda_handler() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/MultiAZDBLambda/update_multi_az_lambda.py start line: 0 end line: 0 size: 31 LOC McCabe index: 6 number of parameters: 2 id: 51 unit: def lambda_handler() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/DMSLambda/deploy_dms_lambda.py start line: 0 end line: 0 size: 31 LOC McCabe index: 7 number of parameters: 2 id: 52 unit: def listAllAnswers() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 30 LOC McCabe index: 6 number of parameters: 4 id: 53 unit: def listAllAnswers() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 30 LOC McCabe index: 6 number of parameters: 4 id: 54 unit: def lambda_handler() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/ReadReplicaLambda/deploy_read_replica_lambda.py start line: 0 end line: 0 size: 30 LOC McCabe index: 6 number of parameters: 2 id: 55 unit: private async Task BlockSubnetsInAZ() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/c#/AppResiliency/AppResiliency/AZFailover.cs start line: 135 end line: 174 size: 30 LOC McCabe index: 2 number of parameters: 2 id: 56 unit: def findAllQuestionId() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 28 LOC McCabe index: 7 number of parameters: 3 id: 57 unit: def findAllQuestionId() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 28 LOC McCabe index: 7 number of parameters: 3 id: 58 unit: def CreateNewWorkload() file: static/watool/300_Using_WAT_With_Cloudformation_And_Custom_Lambda/Code/Python/CreateWAWorkloadLambda.py start line: 0 end line: 0 size: 28 LOC McCabe index: 4 number of parameters: 8 id: 59 unit: def handler() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/load_ddb.py start line: 0 end line: 0 size: 28 LOC McCabe index: 6 number of parameters: 2 id: 60 unit: function getSecret() file: static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js start line: 182 end line: 210 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 61 unit: def lambda_handler() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/RDSLambda/deploy_rds_lambda.py start line: 0 end line: 0 size: 27 LOC McCabe index: 5 number of parameters: 2 id: 62 unit: def lambda_handler() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/index.py start line: 0 end line: 0 size: 25 LOC McCabe index: 2 number of parameters: 2 id: 63 unit: def CreateNewWorkload() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 25 LOC McCabe index: 4 number of parameters: 7 id: 64 unit: def send() file: static/watool/300_Using_WAT_With_Cloudformation_And_Custom_Lambda/Code/Python/cfnresponse.py start line: 0 end line: 0 size: 25 LOC McCabe index: 4 number of parameters: 7 id: 65 unit: def is_single_az() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/MultiAZDBLambda/update_multi_az_lambda.py start line: 0 end line: 0 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 66 unit: def lambda_handler() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/main.py start line: 0 end line: 0 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 67 unit: def lambda_handler() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_lnk_tags.py start line: 0 end line: 0 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 68 unit: def findQuestionId() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 24 LOC McCabe index: 4 number of parameters: 5 id: 69 unit: def getLensReview() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 24 LOC McCabe index: 4 number of parameters: 4 id: 70 unit: def getLensReviewPDFReport() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 24 LOC McCabe index: 4 number of parameters: 4 id: 71 unit: def findQuestionId() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 24 LOC McCabe index: 4 number of parameters: 5 id: 72 unit: def getLensReview() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 24 LOC McCabe index: 4 number of parameters: 4 id: 73 unit: def getLensReviewPDFReport() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 24 LOC McCabe index: 4 number of parameters: 4 id: 74 unit: def findQuestionId() file: static/watool/300_Using_WAT_With_Cloudformation_And_Custom_Lambda/Code/Python/UpdateWAQuestionLambda.py start line: 0 end line: 0 size: 24 LOC McCabe index: 4 number of parameters: 5 id: 75 unit: def check_stack() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py start line: 0 end line: 0 size: 24 LOC McCabe index: 5 number of parameters: 2 id: 76 unit: def updateAnswersForQuestion() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 23 LOC McCabe index: 3 number of parameters: 6 id: 77 unit: def updateAnswersForQuestion() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 23 LOC McCabe index: 3 number of parameters: 6 id: 78 unit: def updateAnswersForQuestion() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 23 LOC McCabe index: 3 number of parameters: 6 id: 79 unit: def updateAnswersForQuestion() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 23 LOC McCabe index: 3 number of parameters: 6 id: 80 unit: def updateAnswersForQuestion() file: static/watool/300_Using_WAT_With_Cloudformation_And_Custom_Lambda/Code/Python/UpdateWAQuestionLambda.py start line: 0 end line: 0 size: 23 LOC McCabe index: 3 number of parameters: 6 id: 81 unit: def check_stack() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/RDSLambda/deploy_rds_lambda.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 82 unit: def find_latest_ami_name() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py start line: 0 end line: 0 size: 23 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: def check_stack() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/VPCLambda/deploy_vpc_lambda.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 84 unit: def check_stack() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/DMSLambda/deploy_dms_lambda.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 85 unit: def check_stack() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/ReadReplicaLambda/deploy_read_replica_lambda.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 86 unit: public void failover() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/java/appresiliency/src/main/java/com/app/resiliency/RDSFailover.java start line: 37 end line: 60 size: 23 LOC McCabe index: 7 number of parameters: 0 id: 87 unit: function createDB() file: static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js start line: 109 end line: 132 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 88 unit: function createTable() file: static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js start line: 134 end line: 156 size: 23 LOC McCabe index: 3 number of parameters: 0 id: 89 unit: def createMilestone() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 90 unit: def createMilestone() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 91 unit: def update_rds() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/MultiAZDBLambda/update_multi_az_lambda.py start line: 0 end line: 0 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 92 unit: function storeSecret() file: static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js start line: 158 end line: 180 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 93 unit: def assume_role() file: static/Cost/300_Optimization_Data_Collection/Code/source/ta/ta.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 94 unit: def assume_role() file: static/Cost/300_Optimization_Data_Collection/Code/source/ta/main.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 95 unit: def assume_role() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/ami.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 96 unit: def assume_role() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/template.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 97 unit: def assume_role() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/ebs.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 98 unit: def assume_role() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/snapshot.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 99 unit: def s3() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/main.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 100 unit: def assume_role() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/main.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 101 unit: def assume_role() file: static/Cost/300_Optimization_Data_Collection/Code/source/ecs/ecs.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 102 unit: def getQuestionDetails() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 21 LOC McCabe index: 4 number of parameters: 4 id: 103 unit: def wait_for_stack_complete() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/MultiAZDBLambda/update_multi_az_lambda.py start line: 0 end line: 0 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 104 unit: def lambda_handler() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/VPCLambda/deploy_vpc_lambda.py start line: 0 end line: 0 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 105 unit: def lambda_handler() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/StartStateMachineLambda/StartStateMachine.py start line: 0 end line: 0 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 106 unit: def sendResponse() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/StartStateMachineLambda/StartStateMachine.py start line: 0 end line: 0 size: 21 LOC McCabe index: 3 number of parameters: 6 id: 107 unit: public static void main() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/java/appresiliency/src/main/java/com/app/resiliency/Failover.java start line: 25 end line: 46 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 108 unit: def httpEvent() file: static/Common/Code/Serverless-Todo/src/api/update/app.py start line: 0 end line: 0 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 109 unit: function hydrateDBCreds() file: static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js start line: 30 end line: 51 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 110 unit: def findChoiceId() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 5 id: 111 unit: def findChoiceId() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 5 id: 112 unit: def findChoiceId() file: static/watool/300_Using_WAT_With_Cloudformation_And_Custom_Lambda/Code/Python/UpdateWAQuestionLambda.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 5 id: 113 unit: def echo() file: static/Reliability/300_Fault_Isolation_with_Shuffle_Sharding/Code/buggy-webserver.py start line: 0 end line: 0 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: def upload_to_s3() file: static/Cost/300_Optimization_Data_Collection/Code/source/ta/main.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 115 unit: def getAnswersForQuestion() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 116 unit: def getAnswersForQuestion() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 117 unit: def getNotesForQuestion() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 19 LOC McCabe index: 5 number of parameters: 4 id: 118 unit: def call_getRecommendation() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_basic.py start line: 0 end line: 0 size: 19 LOC McCabe index: 10 number of parameters: 2 id: 119 unit: def call_getRecommendation() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_errorhandling.py start line: 0 end line: 0 size: 19 LOC McCabe index: 10 number of parameters: 2 id: 120 unit: def call_getRecommendation() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 19 LOC McCabe index: 10 number of parameters: 2 id: 121 unit: def call_getRecommendation() file: static/Reliability/100_Deploy_CloudFormation/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 19 LOC McCabe index: 10 number of parameters: 2 id: 122 unit: def account_data() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/index.py start line: 0 end line: 0 size: 18 LOC McCabe index: 7 number of parameters: 4 id: 123 unit: def main() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/ebs.py start line: 0 end line: 0 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 124 unit: def main() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/snapshot.py start line: 0 end line: 0 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 125 unit: def account_data() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_man_tags.py start line: 0 end line: 0 size: 18 LOC McCabe index: 6 number of parameters: 4 id: 126 unit: def account_data() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_lnk_tags.py start line: 0 end line: 0 size: 18 LOC McCabe index: 7 number of parameters: 4 id: 127 unit: def getAnswerForQuestion() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 18 LOC McCabe index: 3 number of parameters: 4 id: 128 unit: def lambda_handler() file: static/Cost/300_Optimization_Data_Collection/Code/source/ta/main.py start line: 0 end line: 0 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 129 unit: def main() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/ami.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 130 unit: def getMilestone() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 131 unit: def getMilestone() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 132 unit: def get_metadata() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_basic.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 133 unit: def get_metadata() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_errorhandling.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 134 unit: def get_metadata() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 135 unit: def get_metadata() file: static/Reliability/100_Deploy_CloudFormation/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 136 unit: def httpEvent() file: static/Common/Code/Serverless-Todo/src/api/create/app.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: def listMilestones() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 138 unit: def FindWorkload() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 139 unit: def GetWorkload() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 140 unit: def associateLens() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 141 unit: def getWorkloadLensReview() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 142 unit: def FindWorkload() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 143 unit: def GetWorkload() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 144 unit: def listMilestones() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 145 unit: def FindWorkload() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 146 unit: def GetWorkload() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 147 unit: def FindWorkload() file: static/watool/300_Using_WAT_With_Cloudformation_And_Custom_Lambda/Code/Python/CreateWAWorkloadLambda.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 148 unit: public void failover() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/java/appresiliency/src/main/java/com/app/resiliency/InstanceFailover.java start line: 38 end line: 54 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 149 unit: function encryptData() file: static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js start line: 53 end line: 68 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 150 unit: function decryptData() file: static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js start line: 71 end line: 86 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 151 unit: function decryptData() file: static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js start line: 90 end line: 105 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 152 unit: def list_improvements() file: static/watool/200_Manage_Workload_Risks_with_OpsCenter/Code/risk_tracking.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 153 unit: def get_current_state() file: static/watool/200_Manage_Workload_Risks_with_OpsCenter/Code/risk_tracking.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 154 unit: def FindWorkload() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 155 unit: def GetWorkload() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 156 unit: def disassociateLens() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 157 unit: def associateLens() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 158 unit: def listAllAnswers() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 159 unit: def disassociateLens() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 160 unit: def associateLens() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 161 unit: def export_ec2_instance_recommendation() file: static/Cost/300_Optimization_Data_Collection/Code/source/COC.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 162 unit: def export_auto_scaling_group_recommendation() file: static/Cost/300_Optimization_Data_Collection/Code/source/COC.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 163 unit: def export_lambda_function_recommendation() file: static/Cost/300_Optimization_Data_Collection/Code/source/COC.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 164 unit: def export_ebs_volume_recommendation() file: static/Cost/300_Optimization_Data_Collection/Code/source/COC.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 165 unit: def execute_log_query() file: static/Security/300_Incident_Response_Playbook_with_Jupyter-AWS_IAM/Code/incident_response_helpers.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 166 unit: def getCurrentLensVersion() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 167 unit: def populate_ddb_table() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/load_ddb.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 168 unit: addTodo: async function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 125 end line: 139 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 169 unit: def get_ou_ids() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/index.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 170 unit: def DeleteWorkload() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 171 unit: def DeleteWorkload() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 172 unit: def DeleteWorkload() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 173 unit: function recordRide() file: static/wapartners/100_Automating_Serverless_Best_Practices_with_Dashbird/Code/oncall-health-sample-app/lambda/app/index.js start line: 74 end line: 85 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 174 unit: function errorResponse() file: static/wapartners/100_Automating_Serverless_Best_Practices_with_Dashbird/Code/oncall-health-sample-app/lambda/app/index.js start line: 94 end line: 105 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 175 unit: def setup_local_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/RDSLambda/deploy_rds_lambda.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 176 unit: def setup_local_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/MultiAZDBLambda/update_multi_az_lambda.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 177 unit: def setup_local_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 178 unit: def setup_local_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/VPCLambda/deploy_vpc_lambda.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 179 unit: def setup_local_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/DMSLambda/deploy_dms_lambda.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 180 unit: def setup_local_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WaitForStackLambda/wait_for_stack_lambda.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 181 unit: def setup_local_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/ReadReplicaLambda/deploy_read_replica_lambda.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 182 unit: internal AZFailover() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/c#/AppResiliency/AppResiliency/AZFailover.cs start line: 40 end line: 53 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 183 unit: private async Task CreateNetworkAclEntry() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/c#/AppResiliency/AppResiliency/AZFailover.cs start line: 184 end line: 195 size: 12 LOC McCabe index: 1 number of parameters: 7 id: 184 unit: private void createNetworkAclEntry() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/java/appresiliency/src/main/java/com/app/resiliency/AZFailover.java start line: 165 end line: 176 size: 12 LOC McCabe index: 1 number of parameters: 7 id: 185 unit: def sqsEvent() file: static/Common/Code/Serverless-Todo/src/api/create/app.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 186 unit: def get_acc_ids() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/index.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 187 unit: def lambda_handler() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_man_tags.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 188 unit: def listLens() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 189 unit: def listLens() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 190 unit: def listLens() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 191 unit: def cp_file() file: static/Reliability/200_Backup_Restore_Failback_Analytics/Code/src/resync_s3.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 192 unit: def httpEvent() file: static/Common/Code/Serverless-Todo/src/api/delete/app.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 193 unit: def response() file: static/Common/Code/Serverless-Todo/src/api/read/app.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 194 unit: doneEdit: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 151 end line: 162 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 195 unit: def s3_upload() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/index.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 196 unit: def get_ou_ids() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_man_tags.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 197 unit: def s3_upload() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_lnk_tags.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 198 unit: def get_ou_ids() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_lnk_tags.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 199 unit: def _execute_db_sql() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/server_with_reconnect.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 200 unit: def get_stack() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/MultiAZDBLambda/update_multi_az_lambda.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 201 unit: def response() file: static/Common/Code/Serverless-Todo/src/api/delete/app.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 202 unit: def response() file: static/Common/Code/Serverless-Todo/src/api/update/app.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 203 unit: async add() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 5 end line: 17 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 204 unit: def is_category_included() file: static/Cost/300_Optimization_Data_Collection/Code/source/ta/ta.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 205 unit: def ou_loop() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_man_tags.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 206 unit: def get_acc_ids() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_man_tags.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 207 unit: def ou_loop() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_lnk_tags.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 208 unit: def get_acc_ids() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_lnk_tags.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 209 unit: def list_workloads() file: static/watool/200_Manage_Workload_Risks_with_OpsCenter/Code/risk_tracking.py start line: 0 end line: 0 size: 9 LOC McCabe index: 4 number of parameters: 0 id: 210 unit: def recommendation_message() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_basic.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 211 unit: def recommendation_message() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_errorhandling.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 212 unit: def recommendation_message() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 213 unit: def recommendation_message() file: static/Reliability/100_Deploy_CloudFormation/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 214 unit: def process_global_vars() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/RDSLambda/deploy_rds_lambda.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 215 unit: def process_global_vars() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/MultiAZDBLambda/update_multi_az_lambda.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 216 unit: def process_global_vars() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 217 unit: def process_global_vars() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/VPCLambda/deploy_vpc_lambda.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 218 unit: def process_global_vars() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/DMSLambda/deploy_dms_lambda.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 219 unit: def process_global_vars() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/ReadReplicaLambda/deploy_read_replica_lambda.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 220 unit: internal RDSFailover() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/c#/AppResiliency/AppResiliency/RDSFailover.cs start line: 30 end line: 39 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 221 unit: internal InstanceFailover() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/c#/AppResiliency/AppResiliency/InstanceFailover.cs start line: 32 end line: 42 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 222 unit: private void replaceNetworkAclAssociations() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/java/appresiliency/src/main/java/com/app/resiliency/AZFailover.java start line: 178 end line: 186 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 223 unit: async edit() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 19 end line: 28 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 224 unit: function onHashChange() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 187 end line: 195 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 225 unit: def s3_upload() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_man_tags.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 226 unit: def getMilestoneRiskCounts() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 227 unit: def getMilestoneRiskCounts() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 228 unit: def getImprovementPlanItems() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 229 unit: def get_password_from_ssm() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 230 unit: async read() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 38 end line: 48 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 231 unit: def start_crawler() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/template.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 232 unit: def list_tags() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/index.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 233 unit: def start_crawler() file: static/Cost/300_Optimization_Data_Collection/Code/source/ecs/ecs.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 234 unit: def list_tags() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_man_tags.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 235 unit: def list_tags() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_lnk_tags.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 236 unit: def init_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/RDSLambda/deploy_rds_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 237 unit: def find_in_outputs() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/RDSLambda/deploy_rds_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 238 unit: def __init__() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/server_with_reconnect.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 8 id: 239 unit: def init_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/MultiAZDBLambda/update_multi_az_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 240 unit: def find_in_parameters() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/MultiAZDBLambda/update_multi_az_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 241 unit: def init_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 242 unit: def find_in_outputs() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 243 unit: def init_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/VPCLambda/deploy_vpc_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 244 unit: def init_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/DMSLambda/deploy_dms_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 245 unit: def find_in_outputs() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/DMSLambda/deploy_dms_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 246 unit: def get_db_password() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/DMSLambda/deploy_dms_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 247 unit: def init_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WaitForStackLambda/wait_for_stack_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 248 unit: def init_logging() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/ReadReplicaLambda/deploy_read_replica_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 249 unit: def find_in_outputs() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/ReadReplicaLambda/deploy_read_replica_lambda.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 250 unit: private PortRange CreatePortRange() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/c#/AppResiliency/AppResiliency/AZFailover.cs start line: 176 end line: 182 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 251 unit: def fail() file: static/Common/Code/Serverless-Todo/src/api/create/app.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 252 unit: def start_crawler() file: static/Cost/300_Optimization_Data_Collection/Code/source/ta/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 253 unit: def start_crawler() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 254 unit: function toUrlString() file: static/wapartners/100_Automating_Serverless_Best_Practices_with_Dashbird/Code/oncall-health-sample-app/lambda/app/index.js start line: 87 end line: 92 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 255 unit: def set_log_level() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/RDSLambda/deploy_rds_lambda.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 256 unit: def set_log_level() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/MultiAZDBLambda/update_multi_az_lambda.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 257 unit: def set_log_level() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 258 unit: def set_log_level() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/VPCLambda/deploy_vpc_lambda.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 259 unit: def set_log_level() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/DMSLambda/deploy_dms_lambda.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 260 unit: def set_log_level() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WaitForStackLambda/wait_for_stack_lambda.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 261 unit: def set_log_level() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/ReadReplicaLambda/deploy_read_replica_lambda.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 262 unit: private PortRange createPortRange() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/FailureSimulations/java/appresiliency/src/main/java/com/app/resiliency/AZFailover.java start line: 158 end line: 163 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 263 unit: def httpEvent() file: static/Common/Code/Serverless-Todo/src/api/read/app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 264 unit: async delete() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 30 end line: 36 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 265 unit: def lits_regions() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/ami.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 266 unit: def lits_regions() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/template.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 267 unit: def lits_regions() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/ebs.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 268 unit: def lits_regions() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/snapshot.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 269 unit: def lits_regions() file: static/Cost/300_Optimization_Data_Collection/Code/source/ecs/ecs.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 270 unit: def convert_dictionary_to_object() file: static/Security/300_Incident_Response_Playbook_with_Jupyter-AWS_IAM/Code/incident_response_helpers.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 271 unit: def default() file: static/watool/200_Using_AWSCLI_To_Manage_WA_Reviews/Code/LabExample.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 272 unit: def default() file: static/watool/utilities/Code/duplicateWAFR.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 273 unit: def default() file: static/watool/utilities/Code/exportAnswersToXLSX.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 274 unit: def default() file: static/watool/300_Using_WAT_With_Cloudformation_And_Custom_Lambda/Code/Python/UpdateWAQuestionLambda.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 275 unit: def default() file: static/watool/300_Using_WAT_With_Cloudformation_And_Custom_Lambda/Code/Python/CreateWAWorkloadLambda.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 276 unit: def shutdown_server() file: static/Reliability/300_Fault_Isolation_with_Shuffle_Sharding/Code/buggy-webserver.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 277 unit: active: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 56 end line: 60 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 278 unit: completed: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 61 end line: 65 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: handler: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 86 end line: 90 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 280 unit: set: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 108 end line: 112 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 281 unit: '': function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 178 end line: 182 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 282 unit: def default() file: static/watool/utilities/Code/exportImportWAFR.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 283 unit: function findCarunit() file: static/wapartners/100_Automating_Serverless_Best_Practices_with_Dashbird/Code/oncall-health-sample-app/lambda/app/index.js start line: 69 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 284 unit: function setSerdeInfo() file: static/Sustainability/300_cur_reports_as_efficiency_reports/lab3/code/aws-usage-queries.ts start line: 59 end line: 62 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 285 unit: function setTableParameters() file: static/Sustainability/300_cur_reports_as_efficiency_reports/lab3/code/aws-usage-queries.ts start line: 64 end line: 67 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 286 unit: def __init__() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/server.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 287 unit: async created() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 288 unit: removeTodo: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 141 end line: 144 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 289 unit: editTodo: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 146 end line: 149 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 290 unit: cancelEdit: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 164 end line: 167 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 291 unit: def default() file: static/Cost/300_Optimization_Data_Collection/Code/source/ta/ta.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 292 unit: def default() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/ami.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 293 unit: def myconverter() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/index.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 294 unit: def default() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/ebs.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 295 unit: def default() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/snapshot.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 296 unit: def myconverter() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_man_tags.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 297 unit: def myconverter() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data_ou_lnk_tags.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 298 unit: def __init__() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_basic.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 299 unit: def __init__() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_errorhandling.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 300 unit: def __init__() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 301 unit: def __init__() file: static/Reliability/100_Deploy_CloudFormation/Code/Python/server_healthcheck.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 302 unit: all: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 303 unit: filteredTodos: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 304 unit: remaining: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 305 unit: get: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 306 unit: pluralize: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 117 end line: 119 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 307 unit: removeCompleted: function() file: static/Common/Code/Serverless-Todo/src/web/app.js start line: 169 end line: 171 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 308 unit: def lambda_handler() file: static/Cost/300_Organization_Data_CUR_Connection/Code/org_data.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 309 unit: def timeout_handler() file: static/Reliability/300_Health_Checks_and_Dependencies/Code/Python/load_ddb.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 310 unit: def status_complete() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/MultiAZDBLambda/update_multi_az_lambda.py start line: 0 end line: 0 size: 2 LOC McCabe index: 3 number of parameters: 1 id: 311 unit: def status_complete() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py start line: 0 end line: 0 size: 2 LOC McCabe index: 3 number of parameters: 1 id: 312 unit: def process_global_vars() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WaitForStackLambda/wait_for_stack_lambda.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 313 unit: def stack_status_in_progress() file: static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WaitForStackLambda/wait_for_stack_lambda.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 314 unit: def handler() file: static/Common/Code/Serverless-Todo/src/api/create/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 315 unit: def handler() file: static/Common/Code/Serverless-Todo/src/api/delete/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 316 unit: def handler() file: static/Common/Code/Serverless-Todo/src/api/update/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 317 unit: def handler() file: static/Common/Code/Serverless-Todo/src/api/read/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 318 unit: def lambda_handler() file: static/Cost/300_Optimization_Data_Collection/Code/source/fof/template.py start line: 0 end line: 0 size: 1 LOC McCabe index: 1 number of parameters: 2