id: 1 unit: func main() file: helpers/foundation-deployer/main.go start line: 71 end line: 317 size: 198 LOC McCabe index: 32 number of parameters: 0 id: 2 unit: func DeployBootstrapStage() file: helpers/foundation-deployer/stages/apply.go start line: 33 end line: 190 size: 130 LOC McCabe index: 19 number of parameters: 4 id: 3 unit: func destroyStage() file: helpers/foundation-deployer/stages/destroy.go start line: 157 end line: 218 size: 61 LOC McCabe index: 11 number of parameters: 4 id: 4 unit: func DeployOrgStage() file: helpers/foundation-deployer/stages/apply.go start line: 192 end line: 255 size: 59 LOC McCabe index: 9 number of parameters: 5 id: 5 unit: func deployStage() file: helpers/foundation-deployer/stages/apply.go start line: 428 end line: 483 size: 49 LOC McCabe index: 10 number of parameters: 4 id: 6 unit: func ValidateBasicFields() file: helpers/foundation-deployer/stages/validate.go start line: 46 end line: 93 size: 46 LOC McCabe index: 19 number of parameters: 2 id: 7 unit: func DeployNetworksStage() file: helpers/foundation-deployer/stages/apply.go start line: 285 end line: 334 size: 43 LOC McCabe index: 5 number of parameters: 5 id: 8 unit: func DeployProjectsStage() file: helpers/foundation-deployer/stages/apply.go start line: 336 end line: 384 size: 43 LOC McCabe index: 5 number of parameters: 5 id: 9 unit: func TerraformVet() file: helpers/foundation-deployer/stages/vet.go start line: 33 end line: 75 size: 40 LOC McCabe index: 9 number of parameters: 4 id: 10 unit: func saveBootstrapCodeOnly() file: helpers/foundation-deployer/stages/apply.go start line: 540 end line: 585 size: 40 LOC McCabe index: 9 number of parameters: 4 id: 11 unit: func DeployExampleAppStage() file: helpers/foundation-deployer/stages/apply.go start line: 386 end line: 426 size: 36 LOC McCabe index: 5 number of parameters: 5 id: 12 unit: func applyLocal() file: helpers/foundation-deployer/stages/apply.go start line: 604 end line: 643 size: 34 LOC McCabe index: 10 number of parameters: 5 id: 13 unit: func forceBackendMigration() file: helpers/foundation-deployer/stages/destroy.go start line: 54 end line: 87 size: 33 LOC McCabe index: 7 number of parameters: 5 id: 14 unit: func CopyDirectory() file: helpers/foundation-deployer/utils/files.go start line: 43 end line: 69 size: 27 LOC McCabe index: 9 number of parameters: 2 id: 15 unit: func LoadSteps() file: helpers/foundation-deployer/steps/steps.go start line: 64 end line: 90 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 16 unit: func() file: helpers/foundation-deployer/gcp/gcp.go start line: 105 end line: 128 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 17 unit: func destroyEnv() file: helpers/foundation-deployer/stages/destroy.go start line: 220 end line: 246 size: 24 LOC McCabe index: 7 number of parameters: 3 id: 18 unit: func DeployEnvStage() file: helpers/foundation-deployer/stages/apply.go start line: 257 end line: 283 size: 24 LOC McCabe index: 3 number of parameters: 5 id: 19 unit: func ValidateDestroyFlags() file: helpers/foundation-deployer/stages/validate.go start line: 96 end line: 120 size: 23 LOC McCabe index: 12 number of parameters: 2 id: 20 unit: function getRoleBindings() file: 1-org/modules/cai-monitoring/function-source/index.js start line: 118 end line: 141 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 21 unit: func copyStepCode() file: helpers/foundation-deployer/stages/apply.go start line: 501 end line: 520 size: 20 LOC McCabe index: 5 number of parameters: 7 id: 22 unit: func() file: helpers/foundation-deployer/gcp/gcp.go start line: 85 end line: 102 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: func GetBootstrapStepOutputs() file: helpers/foundation-deployer/stages/data.go start line: 268 end line: 285 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 24 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 190 end line: 205 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 25 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 231 end line: 246 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 26 unit: func() file: helpers/foundation-deployer/utils/git.go start line: 84 end line: 98 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 27 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 153 end line: 167 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: func preparePoliciesRepo() file: helpers/foundation-deployer/stages/apply.go start line: 485 end line: 499 size: 15 LOC McCabe index: 4 number of parameters: 4 id: 29 unit: func planStage() file: helpers/foundation-deployer/stages/apply.go start line: 522 end line: 538 size: 15 LOC McCabe index: 4 number of parameters: 5 id: 30 unit: func applyEnv() file: helpers/foundation-deployer/stages/apply.go start line: 587 end line: 602 size: 15 LOC McCabe index: 4 number of parameters: 6 id: 31 unit: func ReadGlobalTFVars() file: helpers/foundation-deployer/stages/data.go start line: 302 end line: 316 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 32 unit: func PrintQuotaMsg() file: helpers/foundation-deployer/msg/msg.go start line: 82 end line: 95 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 33 unit: func PrintAdminGroupPermissionMsg() file: helpers/foundation-deployer/msg/msg.go start line: 97 end line: 110 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 34 unit: func() file: helpers/foundation-deployer/utils/git.go start line: 68 end line: 81 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 35 unit: func parseFlags() file: helpers/foundation-deployer/main.go start line: 54 end line: 69 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: func DestroyNetworksStage() file: helpers/foundation-deployer/stages/destroy.go start line: 115 end line: 128 size: 14 LOC McCabe index: 1 number of parameters: 4 id: 37 unit: func PressEnter() file: helpers/foundation-deployer/msg/msg.go start line: 38 end line: 50 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: func FindFiles() file: helpers/foundation-deployer/utils/files.go start line: 81 end line: 93 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 39 unit: func DestroyBootstrapStage() file: helpers/foundation-deployer/stages/destroy.go start line: 35 end line: 49 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 40 unit: func DestroyProjectsStage() file: helpers/foundation-deployer/stages/destroy.go start line: 130 end line: 142 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 41 unit: func GetInfraPipelineOutputs() file: helpers/foundation-deployer/stages/data.go start line: 287 end line: 299 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 42 unit: findingId: uuid4() file: 1-org/modules/cai-monitoring/function-source/index.js start line: 179 end line: 190 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 43 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 102 end line: 113 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 131 end line: 142 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 217 end line: 228 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: func DestroyOrgStage() file: helpers/foundation-deployer/stages/destroy.go start line: 89 end line: 100 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 47 unit: func DestroyEnvStage() file: helpers/foundation-deployer/stages/destroy.go start line: 102 end line: 113 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 48 unit: func DestroyExampleAppStage() file: helpers/foundation-deployer/stages/destroy.go start line: 144 end line: 155 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 49 unit: func ConfirmQuota() file: helpers/foundation-deployer/msg/msg.go start line: 112 end line: 122 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: func ReadTfvars() file: helpers/foundation-deployer/utils/tfvars.go start line: 26 end line: 36 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 51 unit: func CopyFile() file: helpers/foundation-deployer/utils/files.go start line: 30 end line: 40 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 52 unit: func ValidateDirectories() file: helpers/foundation-deployer/stages/validate.go start line: 33 end line: 43 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 53 unit: func() file: helpers/foundation-deployer/utils/git.go start line: 49 end line: 58 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: func FileExists() file: helpers/foundation-deployer/utils/files.go start line: 96 end line: 105 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 55 unit: func DeleteStepsFile() file: helpers/foundation-deployer/steps/steps.go start line: 52 end line: 61 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 56 unit: func() file: helpers/foundation-deployer/gcp/gcp.go start line: 51 end line: 60 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 57 unit: func() file: helpers/foundation-deployer/gcp/gcp.go start line: 73 end line: 82 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 58 unit: function validateEvent() file: 1-org/modules/cai-monitoring/function-source/index.js start line: 98 end line: 109 size: 9 LOC McCabe index: 7 number of parameters: 1 id: 59 unit: func PrintBuildMsg() file: helpers/foundation-deployer/msg/msg.go start line: 72 end line: 80 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 60 unit: func CloneCSR() file: helpers/foundation-deployer/utils/git.go start line: 33 end line: 41 size: 9 LOC McCabe index: 2 number of parameters: 5 id: 61 unit: async function createFinding() file: 1-org/modules/cai-monitoring/function-source/index.js start line: 175 end line: 195 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 62 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 179 end line: 186 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: func() file: helpers/foundation-deployer/gcp/gcp.go start line: 131 end line: 138 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: func() file: helpers/foundation-deployer/gcp/gcp.go start line: 141 end line: 148 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: func() file: helpers/foundation-deployer/stages/data.go start line: 187 end line: 194 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 66 unit: function parseMessage() file: 1-org/modules/cai-monitoring/function-source/index.js start line: 80 end line: 90 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: function parseStrTime() file: 1-org/modules/cai-monitoring/function-source/index.js start line: 160 end line: 166 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: func PrintStageMsg() file: helpers/foundation-deployer/msg/msg.go start line: 64 end line: 70 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: func ReplaceStringInFile() file: helpers/foundation-deployer/utils/files.go start line: 72 end line: 78 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 70 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 93 end line: 99 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 116 end line: 122 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 72 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 170 end line: 176 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 208 end line: 214 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: func GetLogger() file: helpers/foundation-deployer/utils/logger.go start line: 38 end line: 43 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 44 end line: 49 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: func NewGCP() file: helpers/foundation-deployer/gcp/gcp.go start line: 43 end line: 48 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: func GetNetworkStep() file: helpers/foundation-deployer/stages/data.go start line: 318 end line: 323 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: func WriteTfvars() file: helpers/foundation-deployer/utils/tfvars.go start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: func NewCustomLogger() file: helpers/foundation-deployer/utils/logger.go start line: 29 end line: 33 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: func() file: helpers/foundation-deployer/utils/git.go start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: func() file: helpers/foundation-deployer/utils/git.go start line: 101 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func() file: helpers/foundation-deployer/steps/steps.go start line: 125 end line: 128 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: func() file: helpers/foundation-deployer/gcp/gcp.go start line: 156 end line: 159 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: function bindingDiff() file: 1-org/modules/cai-monitoring/function-source/index.js start line: 151 end line: 153 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 85 unit: func pad() file: helpers/foundation-deployer/msg/msg.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 86 unit: func CloudBuildURL() file: helpers/foundation-deployer/msg/msg.go start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 87 unit: func BuildErrorURL() file: helpers/foundation-deployer/msg/msg.go start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 88 unit: func() file: helpers/foundation-deployer/utils/git.go start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: func() file: helpers/foundation-deployer/utils/git.go start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: func() file: helpers/foundation-deployer/utils/logger.go start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: func isNested() file: helpers/foundation-deployer/steps/steps.go start line: 144 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: func parent() file: helpers/foundation-deployer/steps/steps.go start line: 148 end line: 150 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: func() file: helpers/foundation-deployer/gcp/gcp.go start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func() file: helpers/foundation-deployer/gcp/gcp.go start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: func() file: helpers/foundation-deployer/gcp/gcp.go start line: 151 end line: 153 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: func() file: helpers/foundation-deployer/stages/data.go start line: 177 end line: 179 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 97 unit: func() file: helpers/foundation-deployer/stages/data.go start line: 182 end line: 184 size: 3 LOC McCabe index: 2 number of parameters: 1