id: 1 unit: function formatPropertyChange() file: src/helpers/whatif.ts start line: 342 end line: 412 size: 70 LOC McCabe index: 7 number of parameters: 4 id: 2 unit: export async function execute() file: src/handler.ts start line: 88 end line: 177 size: 67 LOC McCabe index: 12 number of parameters: 2 id: 3 unit: function parseDeploymentScope() file: src/config.ts start line: 217 end line: 264 size: 47 LOC McCabe index: 5 number of parameters: 0 id: 4 unit: function parseDeploymentStackScope() file: src/config.ts start line: 266 end line: 305 size: 39 LOC McCabe index: 4 number of parameters: 0 id: 5 unit: excludeChangeTypes: getOptionalEnumArrayInput() file: src/config.ts start line: 146 end line: 179 size: 34 LOC McCabe index: 2 number of parameters: 9 id: 6 unit: function formatNonEmptyArray() file: src/helpers/whatif.ts start line: 688 end line: 724 size: 32 LOC McCabe index: 2 number of parameters: 3 id: 7 unit: async function tryWithErrorHandling() file: src/handler.ts start line: 493 end line: 528 size: 32 LOC McCabe index: 6 number of parameters: 1 id: 8 unit: function configureMocks() file: test-live/setup.ts start line: 25 end line: 61 size: 30 LOC McCabe index: 3 number of parameters: 1 id: 9 unit: function formatNonEmptyObject() file: src/helpers/whatif.ts start line: 726 end line: 758 size: 29 LOC McCabe index: 5 number of parameters: 5 id: 10 unit: function formatPropertyModify() file: src/helpers/whatif.ts start line: 518 end line: 553 size: 28 LOC McCabe index: 7 number of parameters: 5 id: 11 unit: export async function getTemplateAndParameters() file: src/helpers/file.ts start line: 83 end line: 119 size: 28 LOC McCabe index: 10 number of parameters: 1 id: 12 unit: function formatChangeTypeLegend() file: src/helpers/whatif.ts start line: 119 end line: 162 size: 27 LOC McCabe index: 5 number of parameters: 2 id: 13 unit: function formatPropertyChangePath() file: src/helpers/whatif.ts start line: 414 end line: 444 size: 27 LOC McCabe index: 6 number of parameters: 5 id: 14 unit: async function deploymentCreate() file: src/handler.ts start line: 199 end line: 242 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 15 unit: async function deploymentValidate() file: src/handler.ts start line: 244 end line: 283 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 16 unit: async function stackValidate() file: src/handler.ts start line: 387 end line: 421 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 17 unit: function formatResourceChangesStats() file: src/helpers/whatif.ts start line: 164 end line: 191 size: 25 LOC McCabe index: 2 number of parameters: 2 id: 18 unit: location: requireLocation() file: src/handler.ts start line: 237 end line: 263 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 19 unit: async function stackCreate() file: src/handler.ts start line: 351 end line: 385 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 20 unit: location: requireLocation() file: src/handler.ts start line: 380 end line: 406 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 21 unit: async function stackDelete() file: src/handler.ts start line: 423 end line: 448 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 22 unit: function getScope() file: src/handler.ts start line: 543 end line: 571 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 23 unit: async sendRequest() file: src/helpers/azure.ts start line: 69 end line: 97 size: 24 LOC McCabe index: 5 number of parameters: 2 id: 24 unit: function formatResourceChange() file: src/helpers/whatif.ts start line: 264 end line: 289 size: 24 LOC McCabe index: 7 number of parameters: 3 id: 25 unit: async function deploymentWhatIf() file: src/handler.ts start line: 285 end line: 324 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 26 unit: function getDeployment() file: src/handler.ts start line: 326 end line: 349 size: 23 LOC McCabe index: 2 number of parameters: 2 id: 27 unit: function getInput() file: src/helpers/input.ts start line: 114 end line: 137 size: 22 LOC McCabe index: 5 number of parameters: 3 id: 28 unit: function formatResourceChangesInScope() file: src/helpers/whatif.ts start line: 239 end line: 262 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 29 unit: function getStack() file: src/handler.ts start line: 450 end line: 472 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 30 unit: function formatResourceChanges() file: src/helpers/whatif.ts start line: 214 end line: 237 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 31 unit: function formatJsonValue() file: src/helpers/whatif.ts start line: 649 end line: 670 size: 21 LOC McCabe index: 5 number of parameters: 5 id: 32 unit: async function compileBicepParams() file: src/helpers/file.ts start line: 25 end line: 49 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 33 unit: operation: getRequiredEnumInput() file: src/config.ts start line: 139 end line: 158 size: 20 LOC McCabe index: 1 number of parameters: 5 id: 34 unit: operation: getRequiredEnumInput() file: src/config.ts start line: 173 end line: 192 size: 20 LOC McCabe index: 1 number of parameters: 5 id: 35 unit: function formatChangeTypeCount() file: src/helpers/whatif.ts start line: 193 end line: 212 size: 20 LOC McCabe index: 8 number of parameters: 2 id: 36 unit: function fixSdkDeltaFormattingBug() file: src/helpers/whatif.ts start line: 487 end line: 516 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 37 unit: location: requireLocation() file: src/handler.ts start line: 280 end line: 301 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: function logDiagnostics() file: src/handler.ts start line: 573 end line: 594 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 39 unit: bypassStackOutOfSyncError: getOptionalBooleanInput() file: src/config.ts start line: 193 end line: 211 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: export function createDeploymentClient() file: src/helpers/azure.ts start line: 20 end line: 41 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 41 unit: function formatPropertyArrayChange() file: src/helpers/whatif.ts start line: 555 end line: 581 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 42 unit: function formatPath() file: src/helpers/whatif.ts start line: 769 end line: 792 size: 19 LOC McCabe index: 4 number of parameters: 5 id: 43 unit: export function createStacksClient() file: src/helpers/azure.ts start line: 43 end line: 62 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 44 unit: export function getOptionalEnumArrayInput() file: src/helpers/input.ts start line: 61 end line: 80 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 45 unit: function setCreateOutputs() file: src/handler.ts start line: 179 end line: 197 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 46 unit: resources: getRequiredEnumInput() file: src/config.ts start line: 180 end line: 196 size: 17 LOC McCabe index: 1 number of parameters: 4 id: 47 unit: scope: parseDeploymentScope() file: src/config.ts start line: 144 end line: 158 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: scope: parseDeploymentStackScope() file: src/config.ts start line: 178 end line: 192 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: function formatResourceChangePath() file: src/helpers/whatif.ts start line: 291 end line: 305 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 50 unit: function formatLeaf() file: src/helpers/whatif.ts start line: 672 end line: 686 size: 15 LOC McCabe index: 7 number of parameters: 2 id: 51 unit: function getMaxPathLengthFromObject() file: src/helpers/whatif.ts start line: 817 end line: 835 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 52 unit: function getCreateOperationOptions() file: src/handler.ts start line: 42 end line: 56 size: 14 LOC McCabe index: 5 number of parameters: 0 id: 53 unit: resourceGroups: getOptionalEnumInput() file: src/config.ts start line: 184 end line: 196 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 54 unit: export function getOptionalBooleanInput() file: src/helpers/input.ts start line: 38 end line: 51 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 55 unit: export function getOptionalDictionaryInput() file: src/helpers/input.ts start line: 82 end line: 96 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 56 unit: export function getOptionalStringDictionaryInput() file: src/helpers/input.ts start line: 98 end line: 112 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: function groupBy() file: src/helpers/whatif.ts start line: 873 end line: 885 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 58 unit: async function compileBicep() file: src/helpers/file.ts start line: 51 end line: 67 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: async function withBicep() file: src/helpers/file.ts start line: 133 end line: 147 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: function getDeploymentClient() file: src/handler.ts start line: 58 end line: 71 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 61 unit: function getStacksClient() file: src/handler.ts start line: 73 end line: 86 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 62 unit: location: requireLocation() file: src/handler.ts start line: 320 end line: 334 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: function formatResourceChangeApiVersion() file: src/helpers/whatif.ts start line: 315 end line: 327 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 64 unit: function getMaxPathLengthFromPropertyChanges() file: src/helpers/whatif.ts start line: 618 end line: 631 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 65 unit: function shouldConsiderPropertyChangePath() file: src/helpers/whatif.ts start line: 633 end line: 647 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 66 unit: location: requireLocation() file: src/handler.ts start line: 417 end line: 457 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: export async function runAction() file: test-live/setup.ts start line: 71 end line: 85 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: export async function run() file: src/main.ts start line: 14 end line: 27 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 69 unit: export function getColorString() file: src/helpers/logging.ts start line: 54 end line: 65 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 70 unit: export function formatWhatIfOperationResult() file: src/helpers/whatif.ts start line: 101 end line: 111 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: function formatPropertyChanges() file: src/helpers/whatif.ts start line: 329 end line: 340 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 72 unit: function isLeaf() file: src/helpers/whatif.ts start line: 837 end line: 847 size: 11 LOC McCabe index: 10 number of parameters: 1 id: 73 unit: export function validateFileScope() file: src/handler.ts start line: 530 end line: 541 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 74 unit: function populateChangeTypeSet() file: src/helpers/whatif.ts start line: 127 end line: 137 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 75 unit: function formatPropertyChangeType() file: src/helpers/whatif.ts start line: 446 end line: 455 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 76 unit: function sortChanges() file: src/helpers/whatif.ts start line: 861 end line: 870 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 77 unit: export async function getJsonParameters() file: src/helpers/file.ts start line: 69 end line: 81 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 78 unit: export function parse() file: src/helpers/file.ts start line: 121 end line: 131 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 79 unit: managementGroups: getOptionalEnumInput() file: src/config.ts start line: 188 end line: 196 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 80 unit: function formatPropertyNoEffect() file: src/helpers/whatif.ts start line: 457 end line: 465 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 81 unit: function formatPropertyCreate() file: src/helpers/whatif.ts start line: 467 end line: 475 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 82 unit: function formatPropertyDelete() file: src/helpers/whatif.ts start line: 477 end line: 485 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 83 unit: function getScope() file: src/helpers/whatif.ts start line: 592 end line: 601 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 84 unit: function getRelativeResourceId() file: src/helpers/whatif.ts start line: 607 end line: 616 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: function getMaxPathLengthFromArray() file: src/helpers/whatif.ts start line: 805 end line: 815 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 86 unit: location: requireLocation() file: src/handler.ts start line: 218 end line: 226 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 87 unit: location: requireLocation() file: src/handler.ts start line: 370 end line: 378 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: function getApiVersion() file: src/helpers/whatif.ts start line: 583 end line: 590 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 89 unit: function formatJsonPath() file: src/helpers/whatif.ts start line: 760 end line: 767 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 90 unit: function logDiagnostics() file: src/helpers/file.ts start line: 153 end line: 160 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 91 unit: location: requireLocation() file: src/handler.ts start line: 228 end line: 235 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 92 unit: location: requireLocation() file: src/handler.ts start line: 265 end line: 272 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 93 unit: location: requireLocation() file: src/handler.ts start line: 303 end line: 310 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 94 unit: location: requireLocation() file: src/handler.ts start line: 408 end line: 415 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: function getStackDeletionOptions() file: src/handler.ts start line: 474 end line: 481 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: export function getOptionalFilePath() file: src/helpers/input.ts start line: 29 end line: 36 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 97 unit: function tryParseJson() file: src/helpers/input.ts start line: 139 end line: 145 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 98 unit: function formatResourceChangeType() file: src/helpers/whatif.ts start line: 307 end line: 313 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 99 unit: function isNonEmptyObject() file: src/helpers/whatif.ts start line: 853 end line: 859 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 100 unit: location: requireLocation() file: src/handler.ts start line: 312 end line: 318 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 101 unit: export function getRequiredEnumInput() file: src/helpers/input.ts start line: 15 end line: 20 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 102 unit: export function getOptionalEnumInput() file: src/helpers/input.ts start line: 22 end line: 27 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 103 unit: export function getOptionalStringArrayInput() file: src/helpers/input.ts start line: 53 end line: 59 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 104 unit: function parseCommaSeparated() file: src/helpers/input.ts start line: 147 end line: 152 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: export function colorize() file: src/helpers/logging.ts start line: 29 end line: 34 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 106 unit: export function removeColors() file: src/helpers/logging.ts start line: 36 end line: 42 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 107 unit: private popColor() file: src/helpers/logging.ts start line: 101 end line: 106 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 108 unit: function formatIndent() file: src/helpers/whatif.ts start line: 798 end line: 803 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 109 unit: await tryWithErrorHandling() file: src/handler.ts start line: 146 end line: 151 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: function requireLocation() file: src/handler.ts start line: 483 end line: 491 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 111 unit: export function formatJson() file: src/helpers/whatif.ts start line: 95 end line: 99 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 112 unit: function formatNoiseNotice() file: src/helpers/whatif.ts start line: 113 end line: 117 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: await tryWithErrorHandling() file: src/handler.ts start line: 95 end line: 99 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: await tryWithErrorHandling() file: src/handler.ts start line: 108 end line: 112 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: await tryWithErrorHandling() file: src/handler.ts start line: 133 end line: 137 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: location: requireLocation() file: src/handler.ts start line: 274 end line: 278 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 117 unit: private pushColor() file: src/helpers/logging.ts start line: 96 end line: 99 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: async function installBicep() file: src/helpers/file.ts start line: 19 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 119 unit: constructor() file: src/handler.ts start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 120 unit: export function getRequiredStringInput() file: src/helpers/input.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: export function getOptionalStringInput() file: src/helpers/input.ts start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: function getScopeUppercase() file: src/helpers/whatif.ts start line: 603 end line: 605 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 123 unit: function formatColon() file: src/helpers/whatif.ts start line: 794 end line: 796 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: function isNonEmptyArray() file: src/helpers/whatif.ts start line: 849 end line: 851 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 125 unit: function entries() file: src/helpers/whatif.ts start line: 888 end line: 890 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: export function resolvePath() file: src/helpers/file.ts start line: 149 end line: 151 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: export function parseConfig() file: src/config.ts start line: 109 end line: 215 size: 2 LOC McCabe index: 2 number of parameters: 0