id: 1 unit: export default function validateStates() file: src/validation/validateStates.ts start line: 206 end line: 422 size: 158 LOC McCabe index: 39 number of parameters: 4 id: 2 unit: export const getLanguageService = function() file: src/yaml/aslYamlLanguageService.ts start line: 75 end line: 281 size: 117 LOC McCabe index: 18 number of parameters: 3 id: 3 unit: function processLineWithColon() file: src/yaml/yamlUtils.ts start line: 127 end line: 247 size: 81 LOC McCabe index: 11 number of parameters: 4 id: 4 unit: export default async function completeJSONata() file: src/completion/completeJSONata.ts start line: 208 end line: 283 size: 63 LOC McCabe index: 13 number of parameters: 4 id: 5 unit: function findNodeInASTRecursive() file: src/asl-utils/utils/jsonata/jsonata.ts start line: 46 end line: 115 size: 58 LOC McCabe index: 19 number of parameters: 4 id: 6 unit: function processLineWithoutColon() file: src/yaml/yamlUtils.ts start line: 49 end line: 125 size: 55 LOC McCabe index: 10 number of parameters: 4 id: 7 unit: export default function completeVariables() file: src/completion/completeVariables.ts start line: 54 end line: 122 size: 55 LOC McCabe index: 14 number of parameters: 4 id: 8 unit: export default function completeStateNames() file: src/completion/completeStateNames.ts start line: 115 end line: 184 size: 54 LOC McCabe index: 12 number of parameters: 4 id: 9 unit: export default async function completeAsl() file: src/completion/completeAsl.ts start line: 17 end line: 84 size: 50 LOC McCabe index: 11 number of parameters: 5 id: 10 unit: function getBackwardOffsetData() file: src/yaml/yamlUtils.ts start line: 345 end line: 410 size: 49 LOC McCabe index: 12 number of parameters: 3 id: 11 unit: function getFunctionCompletions() file: src/completion/completeJSONata.ts start line: 151 end line: 206 size: 45 LOC McCabe index: 4 number of parameters: 4 id: 12 unit: export function visitAllStatesInBranch() file: src/asl-utils/asl/asl.ts start line: 197 end line: 238 size: 37 LOC McCabe index: 16 number of parameters: 3 id: 13 unit: export const getLanguageService = function() file: scripts/service.ts start line: 33 end line: 82 size: 36 LOC McCabe index: 4 number of parameters: 1 id: 14 unit: export const getLanguageService = function() file: src/jsonLanguageService.ts start line: 27 end line: 76 size: 36 LOC McCabe index: 4 number of parameters: 1 id: 15 unit: function getDiagnosticsForOneOfSchema() file: src/validation/utils/getDiagnosticsForNode.ts start line: 47 end line: 92 size: 36 LOC McCabe index: 8 number of parameters: 4 id: 16 unit: function getForwardOffsetData() file: src/yaml/yamlUtils.ts start line: 412 end line: 457 size: 33 LOC McCabe index: 9 number of parameters: 3 id: 17 unit: export function findStateById() file: src/asl-utils/asl/asl.ts start line: 77 end line: 113 size: 32 LOC McCabe index: 10 number of parameters: 3 id: 18 unit: export default function completeSnippets() file: src/completion/completeSnippets.ts start line: 58 end line: 97 size: 31 LOC McCabe index: 11 number of parameters: 3 id: 19 unit: export function getStateInfo() file: src/utils/astUtilityFunctions.ts start line: 151 end line: 181 size: 29 LOC McCabe index: 9 number of parameters: 1 id: 20 unit: export function getOffsetData() file: src/yaml/yamlUtils.ts start line: 459 end line: 490 size: 29 LOC McCabe index: 7 number of parameters: 2 id: 21 unit: function getCompletionList() file: src/completion/completeVariables.ts start line: 19 end line: 52 size: 29 LOC McCabe index: 6 number of parameters: 5 id: 22 unit: function getCompletionList() file: src/completion/completeStateNames.ts start line: 80 end line: 113 size: 29 LOC McCabe index: 8 number of parameters: 4 id: 23 unit: function getListOfItems() file: src/completion/completeStateNames.ts start line: 43 end line: 78 size: 28 LOC McCabe index: 9 number of parameters: 2 id: 24 unit: function validateArrayNext() file: src/validation/validateStates.ts start line: 174 end line: 204 size: 27 LOC McCabe index: 7 number of parameters: 4 id: 25 unit: function getVariablesCompletionList() file: src/completion/completeJSONata.ts start line: 40 end line: 68 size: 26 LOC McCabe index: 3 number of parameters: 5 id: 26 unit: function getIncompletePathCompletion() file: src/completion/completeJSONata.ts start line: 112 end line: 145 size: 25 LOC McCabe index: 7 number of parameters: 6 id: 27 unit: function getPartialPathCompletion() file: src/completion/completeJSONata.ts start line: 74 end line: 106 size: 24 LOC McCabe index: 7 number of parameters: 6 id: 28 unit: export function convertJsonSnippetToYaml() file: src/yaml/yamlUtils.ts start line: 309 end line: 339 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: function convertYAMLDiagnostic() file: src/yaml/aslYamlLanguageService.ts start line: 44 end line: 73 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 30 unit: function getAllChildrenOfState() file: src/asl-utils/asl/asl.ts start line: 127 end line: 154 size: 22 LOC McCabe index: 11 number of parameters: 1 id: 31 unit: function getCurrentLine() file: src/yaml/yamlUtils.ts start line: 274 end line: 298 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 32 unit: export default function getDiagnosticsForNode() file: src/validation/utils/getDiagnosticsForNode.ts start line: 116 end line: 143 size: 20 LOC McCabe index: 8 number of parameters: 3 id: 33 unit: function validateExclusivePathTypeField() file: src/validation/validateStates.ts start line: 123 end line: 147 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 34 unit: function getLineOffsets() file: src/yaml/yamlUtils.ts start line: 250 end line: 271 size: 19 LOC McCabe index: 9 number of parameters: 1 id: 35 unit: function validateParameters() file: src/validation/validateStates.ts start line: 149 end line: 171 size: 19 LOC McCabe index: 10 number of parameters: 2 id: 36 unit: export function getListOfStateNamesFromStateNode() file: src/utils/astUtilityFunctions.ts start line: 109 end line: 130 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 37 unit: function getDiagnosticsForRegularProperties() file: src/validation/utils/getDiagnosticsForNode.ts start line: 94 end line: 114 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 38 unit: export function getDirectNext() file: src/asl-utils/asl/asl.ts start line: 161 end line: 179 size: 15 LOC McCabe index: 8 number of parameters: 1 id: 39 unit: export default function() file: src/validation/validateProperties.ts start line: 14 end line: 33 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 40 unit: languageService.findDocumentSymbols = function() file: src/yaml/aslYamlLanguageService.ts start line: 248 end line: 262 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 41 unit: languageService.findDocumentSymbols2 = function() file: src/yaml/aslYamlLanguageService.ts start line: 264 end line: 278 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 42 unit: function stateNameExistsInPropNode() file: src/validation/validateStates.ts start line: 41 end line: 55 size: 13 LOC McCabe index: 4 number of parameters: 4 id: 43 unit: function validatePathField() file: src/validation/validateStates.ts start line: 91 end line: 106 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 44 unit: export function findNodeAtLocation() file: src/utils/astUtilityFunctions.ts start line: 82 end line: 96 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 45 unit: export function isValidStateType() file: src/asl-utils/asl/definitions.ts start line: 581 end line: 592 size: 12 LOC McCabe index: 8 number of parameters: 1 id: 46 unit: export function getFunctionArguments() file: src/asl-utils/utils/jsonata/jsonata.ts start line: 159 end line: 174 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 47 unit: export function processYamlDocForCompletion() file: src/yaml/yamlUtils.ts start line: 35 end line: 47 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 48 unit: function getDiagnosticsForArrayOfSchema() file: src/validation/utils/getDiagnosticsForNode.ts start line: 32 end line: 45 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 49 unit: languageService.doHover = function() file: src/yaml/aslYamlLanguageService.ts start line: 225 end line: 238 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: export async function getJSONataNodeData() file: src/completion/utils/jsonataUtils.ts start line: 16 end line: 26 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 51 unit: function getStatesFromStartAtNode() file: src/completion/completeStateNames.ts start line: 29 end line: 41 size: 11 LOC McCabe index: 5 number of parameters: 2 id: 52 unit: function parseSnippetsFromJson() file: src/completion/completeSnippets.ts start line: 29 end line: 39 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: async function parseSchema() file: scripts/transform.js start line: 16 end line: 25 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 54 unit: export function findClosestAncestorNodeByName() file: src/utils/astUtilityFunctions.ts start line: 137 end line: 146 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 55 unit: export function isMapWithIterator() file: src/asl-utils/asl/definitions.ts start line: 618 end line: 626 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 56 unit: export const getYamlLanguageService = function() file: src/yamlLanguageService.ts start line: 13 end line: 21 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: export default function getPropertyNodeDiagnostic() file: src/validation/utils/getPropertyNodeDiagnostic.ts start line: 8 end line: 17 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 58 unit: export function getVariableCompletions() file: src/completion/utils/variableUtils.ts start line: 16 end line: 24 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 59 unit: export function findClosestAncestorStateNode() file: src/utils/astUtilityFunctions.ts start line: 99 end line: 106 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 60 unit: export function getAllStateIds() file: src/asl-utils/asl/asl.ts start line: 184 end line: 191 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: export function getStateIdFromBranchPath() file: src/asl-utils/asl/asl.ts start line: 243 end line: 250 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 62 unit: export function getBranchIndex() file: src/asl-utils/asl/asl.ts start line: 257 end line: 264 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: export function getAllChildren() file: src/asl-utils/asl/asl.ts start line: 118 end line: 125 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 64 unit: languageService.format = function() file: src/yaml/aslYamlLanguageService.ts start line: 240 end line: 246 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 65 unit: function doesStateSupportErrorHandling() file: src/completion/completeSnippets.ts start line: 41 end line: 49 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: export function insideStateNode() file: src/utils/astUtilityFunctions.ts start line: 73 end line: 79 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: let jsonataLibrary: typeof import() file: src/asl-utils/utils/jsonata/jsonata.ts start line: 117 end line: 128 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: content: trimMacroContent() file: src/asl-utils/utils/autocomplete.ts start line: 362 end line: 368 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 69 unit: function updateCompletionText() file: src/yaml/aslYamlLanguageService.ts start line: 140 end line: 146 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 70 unit: items: getVariablesCompletionList() file: src/completion/completeJSONata.ts start line: 98 end line: 103 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 71 unit: items: getVariablesCompletionList() file: src/completion/completeJSONata.ts start line: 137 end line: 142 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 72 unit: export function isParallel() file: src/asl-utils/asl/definitions.ts start line: 571 end line: 575 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: export function isAslWithStates() file: src/asl-utils/asl/definitions.ts start line: 606 end line: 610 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 74 unit: export function isChoiceWithChoices() file: src/asl-utils/asl/definitions.ts start line: 612 end line: 616 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 75 unit: export function visitAllStates() file: src/asl-utils/asl/asl.ts start line: 67 end line: 71 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 76 unit: export async function getJSONataAST() file: src/asl-utils/utils/jsonata/jsonata.ts start line: 124 end line: 128 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: function isIntrinsicFunction() file: src/validation/validateStates.ts start line: 62 end line: 66 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: function isIntrinsicFunctionWithStringReturn() file: src/validation/validateStates.ts start line: 74 end line: 78 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: export function isStringNode() file: src/utils/astUtilityFunctions.ts start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: export function isPropertyNode() file: src/utils/astUtilityFunctions.ts start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: export function isObjectNode() file: src/utils/astUtilityFunctions.ts start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: export function isArrayNode() file: src/utils/astUtilityFunctions.ts start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: export function findPropChildByName() file: src/utils/astUtilityFunctions.ts start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: function isLocationInNodeRange() file: src/utils/astUtilityFunctions.ts start line: 65 end line: 67 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 85 unit: export function isChildOfStates() file: src/utils/astUtilityFunctions.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 86 unit: export function isPass() file: src/asl-utils/asl/definitions.ts start line: 527 end line: 529 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: export function isTerminal() file: src/asl-utils/asl/definitions.ts start line: 531 end line: 533 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: export function isNonTerminal() file: src/asl-utils/asl/definitions.ts start line: 535 end line: 537 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: export function isWait() file: src/asl-utils/asl/definitions.ts start line: 539 end line: 541 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: export function isFail() file: src/asl-utils/asl/definitions.ts start line: 543 end line: 545 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: export function isSucceed() file: src/asl-utils/asl/definitions.ts start line: 547 end line: 549 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: export function isTask() file: src/asl-utils/asl/definitions.ts start line: 551 end line: 553 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: export function isChoice() file: src/asl-utils/asl/definitions.ts start line: 555 end line: 557 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: export function isMap() file: src/asl-utils/asl/definitions.ts start line: 559 end line: 561 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: export function isDistributedMap() file: src/asl-utils/asl/definitions.ts start line: 563 end line: 565 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: export function isDistributedMode() file: src/asl-utils/asl/definitions.ts start line: 567 end line: 569 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: export function isPlaceholder() file: src/asl-utils/asl/definitions.ts start line: 577 end line: 579 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: export function isErrorHandled() file: src/asl-utils/asl/definitions.ts start line: 594 end line: 596 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 99 unit: export function isWithParameters() file: src/asl-utils/asl/definitions.ts start line: 598 end line: 600 size: 3 LOC McCabe index: 4 number of parameters: 1 id: 100 unit: export function isJsonMap() file: src/asl-utils/asl/definitions.ts start line: 602 end line: 604 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 101 unit: export function isParallelWithBranches() file: src/asl-utils/asl/definitions.ts start line: 628 end line: 630 size: 3 LOC McCabe index: 4 number of parameters: 1 id: 102 unit: export function isWithVariables() file: src/asl-utils/asl/definitions.ts start line: 632 end line: 634 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: export function isWithErrorHandled() file: src/asl-utils/asl/definitions.ts start line: 636 end line: 638 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: export function isParallelBranch() file: src/asl-utils/asl/asl.ts start line: 193 end line: 195 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 105 unit: export async function getJSONataFunctionList() file: src/asl-utils/utils/jsonata/jsonata.ts start line: 137 end line: 139 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 106 unit: export function findNodeInJSONataAST() file: src/asl-utils/utils/jsonata/jsonata.ts start line: 148 end line: 150 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 107 unit: export function deepClone() file: src/asl-utils/utils/utils.ts start line: 14 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: export function lastItem() file: src/asl-utils/utils/utils.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 109 unit: function isCharEol() file: src/yaml/yamlUtils.ts start line: 301 end line: 303 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 110 unit: export function isStateNameReservedYamlKeyword() file: src/yaml/yamlUtils.ts start line: 305 end line: 307 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: function getNumberOfLeftSpaces() file: src/yaml/yamlUtils.ts start line: 341 end line: 343 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: function isObject() file: src/validation/utils/getDiagnosticsForNode.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: function isJsonPath() file: src/validation/validateStates.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 1