id: 1 unit: def lambda_handler() file: source/repositories/compliant-framework-central-pipeline/lambda/create_update_stack/index.py start line: 0 end line: 0 size: 184 LOC McCabe index: 24 number of parameters: 2 id: 2 unit: private configureParameterMetadata() file: source/lib/compliant-framework-stack.ts start line: 449 end line: 585 size: 132 LOC McCabe index: 1 number of parameters: 0 id: 3 unit: def get_config() file: source/repositories/create_config.py start line: 0 end line: 0 size: 122 LOC McCabe index: 1 number of parameters: 0 id: 4 unit: private addStepFunctionInitializeOrganization() file: source/lib/compliant-framework-stack.ts start line: 923 end line: 1024 size: 99 LOC McCabe index: 1 number of parameters: 0 id: 5 unit: private getSecurityBaselineActions() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 615 end line: 728 size: 99 LOC McCabe index: 7 number of parameters: 0 id: 6 unit: private updateGrants() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 939 end line: 1033 size: 88 LOC McCabe index: 2 number of parameters: 0 id: 7 unit: def lambda_handler() file: source/repositories/compliant-framework-central-pipeline/lambda/stack_set_action/index.py start line: 0 end line: 0 size: 85 LOC McCabe index: 3 number of parameters: 2 id: 8 unit: private addStepFunction() file: source/lib/compliant-framework-stack.ts start line: 590 end line: 699 size: 74 LOC McCabe index: 2 number of parameters: 0 id: 9 unit: def lambda_handler() file: source/repositories/compliant-framework-central-pipeline/lambda/security_hub_invite_members/index.py start line: 0 end line: 0 size: 70 LOC McCabe index: 12 number of parameters: 2 id: 10 unit: private addStepFunctionDeployFramework() file: source/lib/compliant-framework-stack.ts start line: 1105 end line: 1178 size: 68 LOC McCabe index: 1 number of parameters: 0 id: 11 unit: private addStepFunctionCreateAccounts() file: source/lib/compliant-framework-stack.ts start line: 1030 end line: 1099 size: 67 LOC McCabe index: 1 number of parameters: 0 id: 12 unit: private getFederationSupportActions() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 860 end line: 934 size: 67 LOC McCabe index: 3 number of parameters: 0 id: 13 unit: private getInitializeCoreAccountsActions() file: source/repositories/compliant-framework-central-pipeline/lib/core-pipeline-stack.ts start line: 112 end line: 180 size: 63 LOC McCabe index: 2 number of parameters: 0 id: 14 unit: private addStepFunctionInviteAccounts() file: source/lib/compliant-framework-stack.ts start line: 1184 end line: 1244 size: 58 LOC McCabe index: 1 number of parameters: 0 id: 15 unit: private createPipeline() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 92 end line: 158 size: 57 LOC McCabe index: 4 number of parameters: 0 id: 16 unit: def lambda_handler() file: source/repositories/compliant-framework-central-pipeline/lambda/copy_codecommit_repositories_to_s3/index.py start line: 0 end line: 0 size: 52 LOC McCabe index: 10 number of parameters: 2 id: 17 unit: def lambda_handler() file: source/repositories/compliant-framework-central-pipeline/lambda/expand_s3_sources/index.py start line: 0 end line: 0 size: 49 LOC McCabe index: 6 number of parameters: 2 id: 18 unit: private addStepFunctionNotifySuccess() file: source/lib/compliant-framework-stack.ts start line: 718 end line: 764 size: 45 LOC McCabe index: 1 number of parameters: 2 id: 19 unit: private addStepFunctionNotifyFailure() file: source/lib/compliant-framework-stack.ts start line: 770 end line: 816 size: 45 LOC McCabe index: 1 number of parameters: 2 id: 20 unit: private getInitializeOrganizationalUnitsActions() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 257 end line: 313 size: 45 LOC McCabe index: 11 number of parameters: 0 id: 21 unit: private createArtifactBuckets() file: source/repositories/compliant-framework-central-pipeline/lib/pipeline-base.ts start line: 156 end line: 200 size: 45 LOC McCabe index: 1 number of parameters: 0 id: 22 unit: private addStepFunctionVerifySnsSubscription() file: source/lib/compliant-framework-stack.ts start line: 822 end line: 867 size: 44 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: private executeStateMachine() file: source/lib/compliant-framework-stack.ts start line: 1251 end line: 1297 size: 44 LOC McCabe index: 1 number of parameters: 1 id: 24 unit: constructor() file: source/lib/solution-helper/solution-helper-construct.ts start line: 24 end line: 73 size: 43 LOC McCabe index: 1 number of parameters: 3 id: 25 unit: private addStepFunctionVerifyGovCloudApiKeys() file: source/lib/compliant-framework-stack.ts start line: 874 end line: 917 size: 42 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: private addServiceCatalog() file: source/lib/account-vending-machine/account-vending-machine-construct.ts start line: 172 end line: 215 size: 40 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: private updateGrants() file: source/repositories/compliant-framework-central-pipeline/lib/core-pipeline-stack.ts start line: 205 end line: 249 size: 40 LOC McCabe index: 1 number of parameters: 0 id: 28 unit: def delete_stack_set() file: deployment/framework-nuke/framework_nuke_helpers.py start line: 0 end line: 0 size: 40 LOC McCabe index: 9 number of parameters: 5 id: 29 unit: def create_govcloud_account() file: source/lambda/create_accounts/index.py start line: 0 end line: 0 size: 39 LOC McCabe index: 7 number of parameters: 5 id: 30 unit: def lambda_handler() file: source/repositories/compliant-framework-central-pipeline/lambda/initialize_organizational_units/index.py start line: 0 end line: 0 size: 38 LOC McCabe index: 5 number of parameters: 2 id: 31 unit: def create_update_stackset() file: source/repositories/compliant-framework-central-pipeline/lambda/stack_set_action/index.py start line: 0 end line: 0 size: 37 LOC McCabe index: 2 number of parameters: 8 id: 32 unit: def create_govcloud_account() file: source/lambda/avm_create_govcloud_account/index.py start line: 0 end line: 0 size: 37 LOC McCabe index: 8 number of parameters: 3 id: 33 unit: private addCreateGovCloudAccountFunction() file: source/lib/account-vending-machine/account-vending-machine-construct.ts start line: 85 end line: 119 size: 33 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: private initializeRepos() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 48 end line: 87 size: 33 LOC McCabe index: 2 number of parameters: 0 id: 35 unit: def lambda_handler() file: source/repositories/compliant-framework-central-pipeline/lambda/update_artifact_acl/index.py start line: 0 end line: 0 size: 33 LOC McCabe index: 3 number of parameters: 2 id: 36 unit: def invite_govcloud_account() file: source/lambda/invite_accounts/index.py start line: 0 end line: 0 size: 32 LOC McCabe index: 3 number of parameters: 3 id: 37 unit: def lambda_handler() file: source/lambda/invite_accounts/index.py start line: 0 end line: 0 size: 32 LOC McCabe index: 1 number of parameters: 2 id: 38 unit: def lambda_handler() file: source/lambda/initialize_organization/index.py start line: 0 end line: 0 size: 32 LOC McCabe index: 1 number of parameters: 2 id: 39 unit: def invite_govcloud_account() file: source/lambda/avm_invite_govcloud_account/index.py start line: 0 end line: 0 size: 30 LOC McCabe index: 3 number of parameters: 4 id: 40 unit: def main() file: source/lambda/avm_move_account/index.py start line: 0 end line: 0 size: 29 LOC McCabe index: 4 number of parameters: 2 id: 41 unit: def custom_resource() file: source/lambda/solution_helper/lambda_function.py start line: 0 end line: 0 size: 27 LOC McCabe index: 6 number of parameters: 2 id: 42 unit: def main() file: source/lambda/avm_invite_govcloud_account/index.py start line: 0 end line: 0 size: 27 LOC McCabe index: 3 number of parameters: 2 id: 43 unit: def lambda_handler() file: source/repositories/compliant-framework-central-pipeline/lambda/get_ssm_parameters/index.py start line: 0 end line: 0 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 44 unit: def send() file: source/lambda/avm_create_govcloud_account/cfnresponse.py start line: 0 end line: 0 size: 25 LOC McCabe index: 3 number of parameters: 6 id: 45 unit: def lambda_handler() file: source/lambda/execute_state_machine/index.py start line: 0 end line: 0 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 46 unit: def send() file: source/lambda/execute_state_machine/cfnresponse.py start line: 0 end line: 0 size: 25 LOC McCabe index: 3 number of parameters: 6 id: 47 unit: def send() file: source/lambda/avm_invite_govcloud_account/cfnresponse.py start line: 0 end line: 0 size: 25 LOC McCabe index: 3 number of parameters: 6 id: 48 unit: def main() file: source/lambda/avm_get_ou/index.py start line: 0 end line: 0 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 49 unit: def send() file: source/lambda/avm_get_ou/cfnresponse.py start line: 0 end line: 0 size: 25 LOC McCabe index: 3 number of parameters: 6 id: 50 unit: def send() file: source/lambda/avm_move_account/cfnresponse.py start line: 0 end line: 0 size: 25 LOC McCabe index: 3 number of parameters: 6 id: 51 unit: private getCopySourceToS3Actions() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 229 end line: 252 size: 24 LOC McCabe index: 2 number of parameters: 0 id: 52 unit: protected getStageOutput() file: source/repositories/compliant-framework-central-pipeline/lib/pipeline-base.ts start line: 223 end line: 250 size: 24 LOC McCabe index: 8 number of parameters: 6 id: 53 unit: private createPipeline() file: source/repositories/compliant-framework-central-pipeline/lib/core-pipeline-stack.ts start line: 49 end line: 76 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: private getSsmPolicy() file: source/lib/account-vending-machine/account-vending-machine-construct.ts start line: 31 end line: 52 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 55 unit: private getExpandS3SourcesActions() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 182 end line: 203 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 56 unit: private getCopySourceToS3Actions() file: source/repositories/compliant-framework-central-pipeline/lib/core-pipeline-stack.ts start line: 90 end line: 110 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: def create_organizational_unit() file: source/repositories/compliant-framework-central-pipeline/lambda/initialize_organizational_units/index.py start line: 0 end line: 0 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 58 unit: constructor() file: source/lib/solution-helper/lambda-role-cloudwatch-construct.ts start line: 25 end line: 47 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 59 unit: private getSecurityHubActions() file: source/repositories/compliant-framework-central-pipeline/lib/core-pipeline-stack.ts start line: 182 end line: 202 size: 19 LOC McCabe index: 2 number of parameters: 0 id: 60 unit: def lambda_handler() file: source/lambda/create_accounts/index.py start line: 0 end line: 0 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 61 unit: private getLambdaPolicy() file: source/lib/account-vending-machine/account-vending-machine-construct.ts start line: 54 end line: 71 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: def get_ou_id() file: source/repositories/compliant-framework-central-pipeline/lambda/stack_set_action/index.py start line: 0 end line: 0 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 63 unit: def lambda_handler() file: source/lambda/avm_create_govcloud_account/index.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 64 unit: def initialize_organization() file: source/lambda/initialize_organization/index.py start line: 0 end line: 0 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 65 unit: def lambda_handler() file: source/lambda/avm_get_ou/index.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 66 unit: private addInviteGovCloudAccountFunction() file: source/lib/account-vending-machine/account-vending-machine-construct.ts start line: 121 end line: 136 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 67 unit: private addGetOuFunction() file: source/lib/account-vending-machine/account-vending-machine-construct.ts start line: 138 end line: 153 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: private addMoveAccountFunction() file: source/lib/account-vending-machine/account-vending-machine-construct.ts start line: 155 end line: 170 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: protected addCloudformationCreateUpdateStackAction() file: source/repositories/compliant-framework-central-pipeline/lib/pipeline-base.ts start line: 252 end line: 267 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: def delete_stack() file: deployment/framework-nuke/framework_nuke_helpers.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 71 unit: def delete_log_groups() file: deployment/framework-nuke/framework_nuke_helpers.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 72 unit: def delete_ssm_parameters() file: deployment/framework-nuke/framework_nuke_helpers.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 73 unit: private getAlphaSourceActions() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 164 end line: 177 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 74 unit: private getSourceActions() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 211 end line: 224 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 75 unit: def get_client() file: deployment/framework-nuke/framework_nuke_helpers.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 76 unit: def get_resource() file: deployment/framework-nuke/framework_nuke_helpers.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 77 unit: def main() file: source/lambda/avm_create_govcloud_account/index.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 78 unit: def lambda_handler() file: source/lambda/verify_govcloud_api_keys/index.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: def lambda_handler() file: source/lambda/verify_sns_subscription/index.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 80 unit: def lambda_handler() file: source/lambda/avm_move_account/index.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 81 unit: export function getActionName() file: source/repositories/compliant-framework-central-pipeline/lib/pipeline-base.ts start line: 60 end line: 71 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 82 unit: export function getS3Region() file: source/repositories/compliant-framework-central-pipeline/lib/pipeline-base.ts start line: 73 end line: 85 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 83 unit: constructor() file: source/repositories/compliant-framework-central-pipeline/lib/pipeline-base.ts start line: 118 end line: 135 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 84 unit: private createLambdas() file: source/repositories/compliant-framework-central-pipeline/lib/pipeline-base.ts start line: 210 end line: 221 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: def lambda_handler() file: source/lambda/avm_invite_govcloud_account/index.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 86 unit: private suppressWarnings() file: source/lib/account-vending-machine/account-vending-machine-construct.ts start line: 73 end line: 83 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: private suppressWarnings() file: source/lib/compliant-framework-stack.ts start line: 701 end line: 711 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: private getSourceActions() file: source/repositories/compliant-framework-central-pipeline/lib/core-pipeline-stack.ts start line: 78 end line: 88 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: private initializeRepos() file: source/repositories/compliant-framework-central-pipeline/lib/core-pipeline-stack.ts start line: 37 end line: 47 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: private createCmks() file: source/repositories/compliant-framework-central-pipeline/lib/pipeline-base.ts start line: 141 end line: 150 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: def delete_security_hub_members() file: deployment/framework-nuke/framework_nuke_helpers.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 92 unit: def move_account() file: source/repositories/compliant-framework-central-pipeline/lambda/initialize_organizational_units/index.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 93 unit: def check_children() file: source/lambda/avm_get_ou/index.py start line: 0 end line: 0 size: 9 LOC McCabe index: 4 number of parameters: 3 id: 94 unit: constructor() file: source/lib/account-vending-machine/account-vending-machine-construct.ts start line: 21 end line: 29 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 95 unit: def get_param() file: source/repositories/create_config.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 96 unit: private getStageName() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 318 end line: 325 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 97 unit: def find_ou() file: source/lambda/avm_get_ou/index.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 98 unit: def delete_objects() file: deployment/framework-nuke/framework_nuke_helpers.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 99 unit: def delete_bucket() file: deployment/framework-nuke/framework_nuke_helpers.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 100 unit: constructor() file: source/lib/compliant-framework-stack.ts start line: 433 end line: 444 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 101 unit: private getOuName() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 604 end line: 610 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: def lambda_handler() file: source/lambda/notify_success/index.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 103 unit: def lambda_handler() file: source/lambda/notify_failure/index.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: def organization_exists() file: source/lambda/initialize_organization/index.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 105 unit: constructor() file: source/repositories/compliant-framework-central-pipeline/lib/core-pipeline-stack.ts start line: 26 end line: 32 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 106 unit: constructor() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 32 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 107 unit: def stack_set_exists() file: source/repositories/compliant-framework-central-pipeline/lambda/stack_set_action/index.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 108 unit: def ssm_get_parameter() file: source/repositories/compliant-framework-central-pipeline/lambda/get_ssm_parameters/index.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: def _sanitize_data() file: source/lambda/solution_helper/lambda_function.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 110 unit: def get_parent_id() file: source/lambda/initialize_organization/index.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 111 unit: private getPluginActions() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 735 end line: 739 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 112 unit: private addManagementServicesLoggingStage() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 344 end line: 347 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 113 unit: private addTransitInitStage() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 406 end line: 409 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: private addManagementServicesInitStage() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 457 end line: 460 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 115 unit: private addTransitGatewayRouteTablesStage() file: source/repositories/compliant-framework-central-pipeline/lib/environment-pipeline-stack.ts start line: 514 end line: 517 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 116 unit: def move_account() file: source/lambda/avm_move_account/index.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 117 unit: function isPipelinesSupported() file: source/repositories/compliant-framework-central-pipeline/lib/pipeline-base.ts start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: def create_policies() file: source/repositories/compliant-framework-central-pipeline/lambda/initialize_organizational_units/index.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 119 unit: def handler() file: source/lambda/solution_helper/lambda_function.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2