id: 1 unit: async function createCanaryService() file: src/strategyHelpers/canary/smiCanaryHelper.ts start line: 115 end line: 217 size: 92 LOC McCabe index: 12 number of parameters: 2 id: 2 unit: async function annotateResources() file: src/strategyHelpers/deploymentHelper.ts start line: 190 end line: 274 size: 79 LOC McCabe index: 11 number of parameters: 6 id: 3 unit: export async function checkManifestStability() file: src/utilities/manifestStabilityUtils.ts start line: 12 end line: 98 size: 79 LOC McCabe index: 12 number of parameters: 3 id: 4 unit: async function promoteCanary() file: src/actions/promote.ts start line: 61 end line: 142 size: 68 LOC McCabe index: 4 number of parameters: 2 id: 5 unit: throw Error() file: src/strategyHelpers/canary/podCanaryHelper.ts start line: 22 end line: 93 size: 66 LOC McCabe index: 17 number of parameters: 1 id: 6 unit: throw Error() file: src/strategyHelpers/canary/smiCanaryHelper.ts start line: 36 end line: 103 size: 62 LOC McCabe index: 10 number of parameters: 1 id: 7 unit: for await() file: src/strategyHelpers/canary/smiCanaryHelper.ts start line: 39 end line: 103 size: 60 LOC McCabe index: 10 number of parameters: 1 id: 8 unit: export async function deployManifests() file: src/strategyHelpers/deploymentHelper.ts start line: 40 end line: 107 size: 60 LOC McCabe index: 7 number of parameters: 4 id: 9 unit: export function getManifestObjects() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 68 end line: 120 size: 48 LOC McCabe index: 7 number of parameters: 1 id: 10 unit: export async function checkPodStatus() file: src/utilities/manifestStabilityUtils.ts start line: 100 end line: 151 size: 45 LOC McCabe index: 12 number of parameters: 2 id: 11 unit: protected async execute() file: src/types/privatekubectl.ts start line: 10 end line: 82 size: 44 LOC McCabe index: 6 number of parameters: 2 id: 12 unit: async function adjustTraffic() file: src/strategyHelpers/canary/smiCanaryHelper.ts start line: 233 end line: 281 size: 44 LOC McCabe index: 8 number of parameters: 4 id: 13 unit: async function cleanUpCanary() file: src/strategyHelpers/canary/canaryHelper.ts start line: 193 end line: 243 size: 44 LOC McCabe index: 8 number of parameters: 3 id: 14 unit: export async function writeYamlFromURLToFile() file: src/utilities/fileUtils.ts start line: 137 end line: 180 size: 41 LOC McCabe index: 3 number of parameters: 2 id: 15 unit: export async function getDeploymentConfig() file: src/utilities/dockerUtils.ts start line: 7 end line: 52 size: 41 LOC McCabe index: 9 number of parameters: 0 id: 16 unit: async function promoteBlueGreen() file: src/actions/promote.ts start line: 144 end line: 228 size: 40 LOC McCabe index: 3 number of parameters: 3 id: 17 unit: export async function annotateChildPods() file: src/utilities/kubectlUtils.ts start line: 59 end line: 102 size: 40 LOC McCabe index: 8 number of parameters: 5 id: 18 unit: export async function getFilesFromDirectoriesAndURLs() file: src/utilities/fileUtils.ts start line: 92 end line: 135 size: 38 LOC McCabe index: 8 number of parameters: 1 id: 19 unit: export async function deploy() file: src/actions/deploy.ts start line: 20 end line: 79 size: 36 LOC McCabe index: 1 number of parameters: 4 id: 20 unit: export async function validateTrafficSplitsState() file: src/strategyHelpers/blueGreen/smiBlueGreenHelper.ts start line: 133 end line: 172 size: 36 LOC McCabe index: 8 number of parameters: 2 id: 21 unit: export async function deployBlueGreenSMI() file: src/strategyHelpers/blueGreen/deploy.ts start line: 53 end line: 97 size: 34 LOC McCabe index: 1 number of parameters: 2 id: 22 unit: export async function routeBlueGreenForDeploy() file: src/strategyHelpers/blueGreen/route.ts start line: 25 end line: 65 size: 33 LOC McCabe index: 3 number of parameters: 3 id: 23 unit: export function getResources() file: src/utilities/manifestUpdateUtils.ts start line: 270 end line: 304 size: 33 LOC McCabe index: 5 number of parameters: 2 id: 24 unit: export async function setupSMI() file: src/strategyHelpers/blueGreen/smiBlueGreenHelper.ts start line: 29 end line: 69 size: 32 LOC McCabe index: 2 number of parameters: 2 id: 25 unit: export async function validateIngresses() file: src/strategyHelpers/blueGreen/ingressBlueGreenHelper.ts start line: 86 end line: 121 size: 32 LOC McCabe index: 6 number of parameters: 3 id: 26 unit: export async function run() file: src/run.ts start line: 17 end line: 85 size: 32 LOC McCabe index: 4 number of parameters: 0 id: 27 unit: service: getBlueGreenResourceName() file: src/strategyHelpers/blueGreen/smiBlueGreenHelper.ts start line: 108 end line: 158 size: 31 LOC McCabe index: 5 number of parameters: 2 id: 28 unit: export async function getWorkflowFilePath() file: src/utilities/githubUtils.ts start line: 4 end line: 34 size: 31 LOC McCabe index: 10 number of parameters: 1 id: 29 unit: public async getNewReplicaSet() file: src/types/kubectl.ts start line: 70 end line: 100 size: 29 LOC McCabe index: 5 number of parameters: 2 id: 30 unit: export async function getLastSuccessfulRunSha() file: src/utilities/kubectlUtils.ts start line: 29 end line: 57 size: 29 LOC McCabe index: 6 number of parameters: 3 id: 31 unit: export async function deployBlueGreen() file: src/strategyHelpers/blueGreen/deploy.ts start line: 22 end line: 51 size: 28 LOC McCabe index: 3 number of parameters: 3 id: 32 unit: export async function createTrafficSplitObject() file: src/strategyHelpers/blueGreen/smiBlueGreenHelper.ts start line: 73 end line: 116 size: 28 LOC McCabe index: 4 number of parameters: 3 id: 33 unit: throw Error() file: src/strategyHelpers/canary/smiCanaryHelper.ts start line: 289 end line: 318 size: 27 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: function verifyYaml() file: src/utilities/fileUtils.ts start line: 182 end line: 211 size: 27 LOC McCabe index: 8 number of parameters: 2 id: 35 unit: export function replaceFileNamesWithShallowNamesRelativeToTemp() file: src/types/privatekubectl.ts start line: 98 end line: 141 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: export async function deploySMICanary() file: src/strategyHelpers/canary/smiCanaryHelper.ts start line: 19 end line: 113 size: 26 LOC McCabe index: 3 number of parameters: 3 id: 37 unit: async function updateTrafficSplitObject() file: src/strategyHelpers/canary/smiCanaryHelper.ts start line: 283 end line: 310 size: 26 LOC McCabe index: 2 number of parameters: 2 id: 38 unit: export async function fetchResource() file: src/strategyHelpers/canary/canaryHelper.ts start line: 83 end line: 111 size: 26 LOC McCabe index: 8 number of parameters: 3 id: 39 unit: await annotateChildPods() file: src/strategyHelpers/deploymentHelper.ts start line: 262 end line: 290 size: 26 LOC McCabe index: 2 number of parameters: 5 id: 40 unit: export function writeObjectsToFile() file: src/utilities/fileUtils.ts start line: 18 end line: 46 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 41 unit: function appendStableVersionLabelToResource() file: src/strategyHelpers/deploymentHelper.ts start line: 109 end line: 138 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 42 unit: function updateImagePullSecretsInManifestFiles() file: src/utilities/manifestUpdateUtils.ts start line: 306 end line: 332 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 43 unit: export function setImagePullSecrets() file: src/utilities/manifestPullSecretUtils.ts start line: 21 end line: 48 size: 25 LOC McCabe index: 8 number of parameters: 2 id: 44 unit: async function createTrafficSplitManifestFile() file: src/strategyHelpers/canary/smiCanaryHelper.ts start line: 312 end line: 337 size: 24 LOC McCabe index: 2 number of parameters: 5 id: 45 unit: export async function deployBlueGreenIngress() file: src/strategyHelpers/blueGreen/deploy.ts start line: 99 end line: 131 size: 24 LOC McCabe index: 1 number of parameters: 2 id: 46 unit: export async function promoteBlueGreenIngress() file: src/strategyHelpers/blueGreen/promote.ts start line: 12 end line: 40 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 47 unit: export function substituteImageNameInSpecFile() file: src/utilities/manifestUpdateUtils.ts start line: 119 end line: 146 size: 24 LOC McCabe index: 5 number of parameters: 3 id: 48 unit: export function getWorkflowAnnotations() file: src/utilities/workflowAnnotationUtils.ts start line: 7 end line: 30 size: 24 LOC McCabe index: 1 number of parameters: 3 id: 49 unit: export async function annotateAndLabelResources() file: src/strategyHelpers/deploymentHelper.ts start line: 152 end line: 188 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 50 unit: function updateContainerImagesInManifestFiles() file: src/utilities/manifestUpdateUtils.ts start line: 78 end line: 106 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 51 unit: export function updateImagePullSecrets() file: src/utilities/manifestUpdateUtils.ts start line: 215 end line: 241 size: 23 LOC McCabe index: 5 number of parameters: 3 id: 52 unit: async function rejectCanary() file: src/actions/reject.ts start line: 36 end line: 59 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 53 unit: export function isServiceSelectorSubsetOfMatchLabel() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 216 end line: 241 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 54 unit: export async function fetchResource() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 243 end line: 266 size: 22 LOC McCabe index: 6 number of parameters: 4 id: 55 unit: async function labelResources() file: src/strategyHelpers/deploymentHelper.ts start line: 276 end line: 298 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 56 unit: function getNewCanaryObject() file: src/strategyHelpers/canary/canaryHelper.ts start line: 145 end line: 170 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 57 unit: export async function routeBlueGreenIngress() file: src/strategyHelpers/blueGreen/route.ts start line: 67 end line: 90 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 58 unit: export function updateSelectorLabels() file: src/utilities/manifestUpdateUtils.ts start line: 243 end line: 268 size: 21 LOC McCabe index: 7 number of parameters: 3 id: 59 unit: export async function validateServicesState() file: src/strategyHelpers/blueGreen/serviceBlueGreenHelper.ts start line: 23 end line: 46 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 60 unit: export function checkForErrors() file: src/utilities/kubectlUtils.ts start line: 7 end line: 27 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 61 unit: export async function rejectBlueGreenSMI() file: src/strategyHelpers/blueGreen/reject.ts start line: 57 end line: 81 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 62 unit: export function updateSpecLabels() file: src/utilities/manifestSpecLabelUtils.ts start line: 8 end line: 30 size: 19 LOC McCabe index: 6 number of parameters: 3 id: 63 unit: export function updateObjectLabels() file: src/utilities/manifestUpdateUtils.ts start line: 165 end line: 188 size: 19 LOC McCabe index: 6 number of parameters: 3 id: 64 unit: export function updateObjectAnnotations() file: src/utilities/manifestUpdateUtils.ts start line: 190 end line: 213 size: 19 LOC McCabe index: 6 number of parameters: 3 id: 65 unit: await promoteCanary() file: src/actions/promote.ts start line: 51 end line: 71 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 66 unit: export async function routeBlueGreenSMI() file: src/strategyHelpers/blueGreen/route.ts start line: 119 end line: 141 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 67 unit: export async function cleanupSMI() file: src/strategyHelpers/blueGreen/smiBlueGreenHelper.ts start line: 174 end line: 195 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: export async function promoteBlueGreenSMI() file: src/strategyHelpers/blueGreen/promote.ts start line: 61 end line: 81 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 69 unit: export async function rejectBlueGreenIngress() file: src/strategyHelpers/blueGreen/reject.ts start line: 13 end line: 35 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 70 unit: export function UnsetClusterSpecificDetails() file: src/utilities/manifestUpdateUtils.ts start line: 55 end line: 76 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 71 unit: export async function promote() file: src/actions/promote.ts start line: 43 end line: 59 size: 17 LOC McCabe index: 3 number of parameters: 4 id: 72 unit: export function isIngressRouted() file: src/strategyHelpers/blueGreen/ingressBlueGreenHelper.ts start line: 65 end line: 84 size: 17 LOC McCabe index: 6 number of parameters: 2 id: 73 unit: function recurisveManifestGetter() file: src/utilities/fileUtils.ts start line: 213 end line: 231 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 74 unit: export async function reject() file: src/actions/reject.ts start line: 19 end line: 34 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 75 unit: public async annotateFiles() file: src/types/kubectl.ts start line: 118 end line: 133 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 76 unit: public async getResource() file: src/types/kubectl.ts start line: 169 end line: 184 size: 16 LOC McCabe index: 1 number of parameters: 4 id: 77 unit: export function getBaselineDeploymentFromStableDeployment() file: src/strategyHelpers/canary/canaryHelper.ts start line: 125 end line: 143 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 78 unit: export async function deployBlueGreenService() file: src/strategyHelpers/blueGreen/deploy.ts start line: 133 end line: 159 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: export function isServiceRouted() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 122 end line: 139 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 80 unit: await getFilesFromDirectoriesAndURLs() file: src/run.ts start line: 36 end line: 53 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 81 unit: export function updateManifestFiles() file: src/utilities/manifestUpdateUtils.ts start line: 25 end line: 47 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 82 unit: await promoteBlueGreen() file: src/actions/promote.ts start line: 54 end line: 71 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 83 unit: await rejectCanary() file: src/actions/reject.ts start line: 26 end line: 42 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 84 unit: public async annotate() file: src/types/kubectl.ts start line: 102 end line: 116 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 85 unit: public async getWorkflows() file: src/types/githubClient.ts start line: 24 end line: 39 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 86 unit: export async function deleteCanaryDeployment() file: src/strategyHelpers/canary/canaryHelper.ts start line: 28 end line: 43 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 87 unit: export function updateIngressBackendBetaV1() file: src/strategyHelpers/blueGreen/ingressBlueGreenHelper.ts start line: 29 end line: 46 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 88 unit: export function updateIngressBackend() file: src/strategyHelpers/blueGreen/ingressBlueGreenHelper.ts start line: 48 end line: 63 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 89 unit: export async function deleteGreenObjects() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 33 end line: 50 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 90 unit: export async function promoteBlueGreenService() file: src/strategyHelpers/blueGreen/promote.ts start line: 42 end line: 59 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 91 unit: export async function rejectBlueGreenService() file: src/strategyHelpers/blueGreen/reject.ts start line: 37 end line: 55 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: export function writeManifestToFile() file: src/utilities/fileUtils.ts start line: 48 end line: 64 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 93 unit: export function moveFileToTmpDir() file: src/utilities/fileUtils.ts start line: 66 end line: 84 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 94 unit: function isPodReady() file: src/utilities/manifestStabilityUtils.ts start line: 165 end line: 181 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 95 unit: await checkManifestStability() file: src/actions/deploy.ts start line: 53 end line: 68 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 96 unit: public async labelFiles() file: src/types/kubectl.ts start line: 135 end line: 148 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 97 unit: throw Error() file: src/types/privatekubectl.ts start line: 29 end line: 44 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 98 unit: export function extractFilesFromMinimist() file: src/types/privatekubectl.ts start line: 155 end line: 169 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 99 unit: export async function deployPodCanary() file: src/strategyHelpers/canary/podCanaryHelper.ts start line: 13 end line: 101 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 100 unit: export async function deployWithLabel() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 141 end line: 155 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 101 unit: export function getNewBlueGreenObject() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 157 end line: 174 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 102 unit: await checkDockerPath() file: src/utilities/dockerUtils.ts start line: 55 end line: 70 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 103 unit: export function getImagePullSecrets() file: src/utilities/manifestPullSecretUtils.ts start line: 3 end line: 19 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 104 unit: await routeBlueGreenIngressUnchanged() file: src/actions/promote.ts start line: 193 end line: 206 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 105 unit: public async describe() file: src/types/kubectl.ts start line: 56 end line: 68 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 106 unit: export function combine() file: src/types/errorable.ts start line: 28 end line: 41 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 107 unit: export async function deleteObjects() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 52 end line: 65 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 108 unit: function setSpecLabels() file: src/utilities/manifestSpecLabelUtils.ts start line: 44 end line: 58 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 109 unit: export function getReplicaCount() file: src/utilities/manifestUpdateUtils.ts start line: 148 end line: 163 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 110 unit: throw Error() file: src/actions/promote.ts start line: 57 end line: 71 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 111 unit: await rejectBlueGreen() file: src/actions/reject.ts start line: 29 end line: 42 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 112 unit: async function rejectBlueGreen() file: src/actions/reject.ts start line: 61 end line: 77 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 113 unit: export function getUpdatedBlueGreenIngress() file: src/strategyHelpers/blueGreen/ingressBlueGreenHelper.ts start line: 13 end line: 27 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 114 unit: export function addBlueGreenLabelsAndAnnotations() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 176 end line: 192 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 115 unit: export async function getTrafficSplitAPIVersion() file: src/utilities/trafficSplitUtils.ts start line: 5 end line: 18 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 116 unit: export function parseResourceTypeInput() file: src/inputUtils.ts start line: 19 end line: 29 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 117 unit: public async checkRolloutStatus() file: src/types/kubectl.ts start line: 157 end line: 167 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 118 unit: protected getFlags() file: src/types/kubectl.ts start line: 206 end line: 218 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 119 unit: export async function getKubectlPath() file: src/types/kubectl.ts start line: 221 end line: 232 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 120 unit: export async function routeBlueGreenIngressUnchanged() file: src/strategyHelpers/blueGreen/route.ts start line: 92 end line: 103 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 121 unit: export async function routeBlueGreenService() file: src/strategyHelpers/blueGreen/route.ts start line: 105 end line: 117 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 122 unit: export function getDeploymentMatchLabels() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 198 end line: 208 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 123 unit: export async function checkManifestStability() file: src/strategyHelpers/deploymentHelper.ts start line: 140 end line: 150 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 124 unit: async function waitForServiceExternalIPAssignment() file: src/utilities/manifestStabilityUtils.ts start line: 195 end line: 216 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 125 unit: public async inspect() file: src/types/docker.ts start line: 17 end line: 27 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 126 unit: function addCanaryLabelsAndAnnotations() file: src/strategyHelpers/canary/canaryHelper.ts start line: 180 end line: 191 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 127 unit: async function getPodStatus() file: src/utilities/manifestStabilityUtils.ts start line: 153 end line: 163 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 128 unit: async function getService() file: src/utilities/manifestStabilityUtils.ts start line: 183 end line: 193 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 129 unit: public async apply() file: src/types/kubectl.ts start line: 35 end line: 54 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 130 unit: throw Error() file: src/types/kubectl.ts start line: 41 end line: 51 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 131 unit: throw Error() file: src/types/privatekubectl.ts start line: 129 end line: 137 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 132 unit: export function extractFileNames() file: src/types/privatekubectl.ts start line: 143 end line: 153 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 133 unit: export function getBufferTime() file: src/inputUtils.ts start line: 9 end line: 17 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 134 unit: await annotateAndLabelResources() file: src/actions/promote.ts start line: 140 end line: 148 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 135 unit: await deleteGreenObjects() file: src/actions/promote.ts start line: 199 end line: 206 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 136 unit: await routeBlueGreenSMI() file: src/actions/promote.ts start line: 207 end line: 214 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 137 unit: export function parseAnnotations() file: src/types/annotations.ts start line: 1 end line: 8 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 138 unit: export function markResourceAsStable() file: src/strategyHelpers/canary/canaryHelper.ts start line: 45 end line: 53 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 139 unit: export function getStableSMIServiceResource() file: src/strategyHelpers/blueGreen/smiBlueGreenHelper.ts start line: 118 end line: 126 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: export function getUpdatedBlueGreenService() file: src/strategyHelpers/blueGreen/serviceBlueGreenHelper.ts start line: 12 end line: 21 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 141 unit: name: getBlueGreenResourceName() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 40 end line: 58 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 142 unit: export async function deployObjects() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 268 end line: 276 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 143 unit: await annotateResources() file: src/strategyHelpers/deploymentHelper.ts start line: 175 end line: 182 size: 8 LOC McCabe index: 1 number of parameters: 6 id: 144 unit: function getSpecLabels() file: src/utilities/manifestSpecLabelUtils.ts start line: 32 end line: 42 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 145 unit: await sleep() file: src/utilities/manifestStabilityUtils.ts start line: 204 end line: 212 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 146 unit: function createTempManifestsDirectory() file: src/types/privatekubectl.ts start line: 89 end line: 96 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 147 unit: function specContainsReplicas() file: src/strategyHelpers/canary/canaryHelper.ts start line: 172 end line: 178 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 148 unit: await deleteObjects() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 48 end line: 55 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 149 unit: export function setSpecSelectorLabels() file: src/utilities/manifestSpecLabelUtils.ts start line: 67 end line: 73 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 150 unit: export function normalizeWorkflowStrLabel() file: src/utilities/githubUtils.ts start line: 36 end line: 42 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 151 unit: export function cleanLabel() file: src/utilities/workflowAnnotationUtils.ts start line: 41 end line: 48 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 152 unit: public async getAllPods() file: src/types/kubectl.ts start line: 150 end line: 155 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 153 unit: protected async execute() file: src/types/kubectl.ts start line: 198 end line: 204 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 154 unit: export function map() file: src/types/errorable.ts start line: 21 end line: 26 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 155 unit: export function getErrorMessage() file: src/types/errorable.ts start line: 43 end line: 48 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 156 unit: public async pull() file: src/types/docker.ts start line: 10 end line: 15 size: 6 LOC McCabe index: 3 number of parameters: 3 id: 157 unit: export function isDeploymentEntity() file: src/types/kubernetesTypes.ts start line: 46 end line: 52 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 158 unit: export function isWorkloadEntity() file: src/types/kubernetesTypes.ts start line: 54 end line: 60 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 159 unit: export async function redirectTrafficToCanaryDeployment() file: src/strategyHelpers/canary/smiCanaryHelper.ts start line: 219 end line: 224 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 160 unit: await adjustTraffic() file: src/strategyHelpers/canary/smiCanaryHelper.ts start line: 223 end line: 229 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 161 unit: export async function redirectTrafficToStableDeployment() file: src/strategyHelpers/canary/smiCanaryHelper.ts start line: 226 end line: 231 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 162 unit: export function getStableResource() file: src/strategyHelpers/canary/canaryHelper.ts start line: 61 end line: 67 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 163 unit: export function getNewBaselineResource() file: src/strategyHelpers/canary/canaryHelper.ts start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 164 unit: export function getNewCanaryResource() file: src/strategyHelpers/canary/canaryHelper.ts start line: 76 end line: 81 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 165 unit: export async function checkDockerPath() file: src/utilities/dockerUtils.ts start line: 74 end line: 79 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 166 unit: export function getSpecSelectorLabels() file: src/utilities/manifestSpecLabelUtils.ts start line: 60 end line: 65 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 167 unit: export function createInlineArray() file: src/utilities/arrayUtils.ts start line: 1 end line: 6 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 168 unit: export function getNormalizedPath() file: src/utilities/githubUtils.ts start line: 44 end line: 50 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 169 unit: export function removeInvalidLabelCharacters() file: src/utilities/workflowAnnotationUtils.ts start line: 50 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: public executeCommand() file: src/types/kubectl.ts start line: 186 end line: 190 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 171 unit: public delete() file: src/types/kubectl.ts start line: 192 end line: 196 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 172 unit: export function isResourceMarkedAsStable() file: src/strategyHelpers/canary/canaryHelper.ts start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 173 unit: await deployObjects() file: src/strategyHelpers/blueGreen/deploy.ts start line: 153 end line: 158 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 174 unit: name: getBlueGreenResourceName() file: src/strategyHelpers/blueGreen/smiBlueGreenHelper.ts start line: 96 end line: 100 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 175 unit: export function getServiceSelector() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 210 end line: 214 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 176 unit: function getNewTempManifestFileName() file: src/utilities/fileUtils.ts start line: 86 end line: 90 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 177 unit: export function moveFilesToTmpDir() file: src/utilities/manifestUpdateUtils.ts start line: 49 end line: 53 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 178 unit: throw Error() file: src/inputUtils.ts start line: 14 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 179 unit: export function isServiceEntity() file: src/types/kubernetesTypes.ts start line: 62 end line: 66 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 180 unit: export function isIngressEntity() file: src/types/kubernetesTypes.ts start line: 68 end line: 72 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 181 unit: constructor() file: src/types/githubClient.ts start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 182 unit: await sleep() file: src/strategyHelpers/blueGreen/route.ts start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 183 unit: await deployObjects() file: src/strategyHelpers/blueGreen/deploy.ts start line: 121 end line: 124 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 184 unit: service: getBlueGreenResourceName() file: src/strategyHelpers/blueGreen/smiBlueGreenHelper.ts start line: 104 end line: 107 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 185 unit: export function getGreenSMIServiceResource() file: src/strategyHelpers/blueGreen/smiBlueGreenHelper.ts start line: 128 end line: 131 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 186 unit: await deploy() file: src/run.ts start line: 68 end line: 71 size: 4 LOC McCabe index: 2 number of parameters: 4 id: 187 unit: await promote() file: src/run.ts start line: 72 end line: 75 size: 4 LOC McCabe index: 2 number of parameters: 4 id: 188 unit: await reject() file: src/run.ts start line: 76 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 189 unit: await deleteGreenObjects() file: src/actions/promote.ts start line: 212 end line: 214 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 190 unit: export function succeeded() file: src/types/errorable.ts start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: export function failed() file: src/types/errorable.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: constructor() file: src/types/docker.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: private async execute() file: src/types/docker.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 194 unit: throw Error() file: src/types/privatekubectl.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 195 unit: private containsFilenames() file: src/types/privatekubectl.ts start line: 84 end line: 86 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 196 unit: export function getCanaryResourceName() file: src/strategyHelpers/canary/canaryHelper.ts start line: 113 end line: 115 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: export function getBaselineResourceName() file: src/strategyHelpers/canary/canaryHelper.ts start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 198 unit: export function getStableResourceName() file: src/strategyHelpers/canary/canaryHelper.ts start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 199 unit: export function getServiceSpecLabel() file: src/strategyHelpers/blueGreen/serviceBlueGreenHelper.ts start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: export function getBlueGreenResourceName() file: src/strategyHelpers/blueGreen/blueGreenHelper.ts start line: 194 end line: 196 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 201 unit: export function getTempDirectory() file: src/utilities/fileUtils.ts start line: 14 end line: 16 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 202 unit: function getFileExtension() file: src/utilities/fileUtils.ts start line: 233 end line: 235 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 203 unit: async function getDockerfilePath() file: src/utilities/dockerUtils.ts start line: 54 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: function isLoadBalancerIPAssigned() file: src/utilities/manifestStabilityUtils.ts start line: 218 end line: 220 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: export function sleep() file: src/utilities/timeUtils.ts start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: export function getCurrentTime() file: src/utilities/timeUtils.ts start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 207 unit: export function isHttpUrl() file: src/utilities/githubUtils.ts start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: export function getWorkflowAnnotationKeyLabel() file: src/utilities/workflowAnnotationUtils.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 209 unit: await cleanupSMI() file: src/actions/promote.ts start line: 213 end line: 214 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 210 unit: await rejectBlueGreenIngress() file: src/actions/reject.ts start line: 70 end line: 71 size: 2 LOC McCabe index: 2 number of parameters: 2 id: 211 unit: await rejectBlueGreenSMI() file: src/actions/reject.ts start line: 72 end line: 73 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 212 unit: throw Error() file: src/types/privatekubectl.ts start line: 64 end line: 65 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: await labelResources() file: src/strategyHelpers/deploymentHelper.ts start line: 185 end line: 186 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 214 unit: throw Error() file: src/utilities/fileUtils.ts start line: 59 end line: 60 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 215 unit: throw Error() file: src/utilities/fileUtils.ts start line: 108 end line: 109 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 216 unit: throw Error() file: src/utilities/fileUtils.ts start line: 127 end line: 128 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 217 unit: await checkPodStatus() file: src/utilities/manifestStabilityUtils.ts start line: 52 end line: 53 size: 2 LOC McCabe index: 2 number of parameters: 2 id: 218 unit: await waitForServiceExternalIPAssignment() file: src/utilities/manifestStabilityUtils.ts start line: 74 end line: 75 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 219 unit: await sleep() file: src/utilities/manifestStabilityUtils.ts start line: 110 end line: 112 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 220 unit: throw Error() file: src/types/privatekubectl.ts start line: 74 end line: 74 size: 1 LOC McCabe index: 1 number of parameters: 1