Genese complexity report

<- node_modules/@ts-morph
Files : 1
Methods : 234
Complexity Index : 130.9
Cyclomatic complexity : 209
Cognitive complexity
100 % Correct 234/234
0 % Warning 0/234 (threshold : 10)
0 % Error 0/234 (threshold : 20)
Cyclomatic complexity
100 % Correct 234/234
0 % Warning 0/234 (threshold : 5)
0 % Error 0/234 (threshold : 10)
Subfolders of node_modules/@ts-morph
Folders Number of files Number of methods Cognitive complexity of methods Cyclomatic complexity of methods
Correct Warning Error Correct Warning Error
../
node_modules/@ts-morph 1 234 234 0 0 234 0 0
node_modules/@ts-morph/common 1 234 234 0 0 234 0 0
Files of node_modules/@ts-morph
File Method Cognitive complexity Cyclomatic complexity
Methods of node_modules/@ts-morph folder and its subfolders (ordered by decreasing cognitive complexity)
File Method Cognitive complexity Cyclomatic complexity
ts-morph-common.d.ts matchFiles 2.9 1
ts-morph-common.d.ts acquireDocumentWithKey 2.1 1
ts-morph-common.d.ts updateDocumentWithKey 2.1 1
ts-morph-common.d.ts acquireDocument 1.5 1
ts-morph-common.d.ts updateDocument 1.5 1
ts-morph-common.d.ts getFileMatcherPatterns 1.5 1
ts-morph-common.d.ts createOrUpdateSourceFile 1.3 1
ts-morph-common.d.ts matchGlobs 1.3 1
ts-morph-common.d.ts groupBy 1.3 1
ts-morph-common.d.ts assign 1.3 1
ts-morph-common.d.ts sortByProperty 1.2 1
ts-morph-common.d.ts readFileOrNotExists 1.1 1
ts-morph-common.d.ts readFileOrNotExists 1.1 1
ts-morph-common.d.ts binaryInsertWithOverwrite 1.1 1
ts-morph-common.d.ts indent 1.1 1
ts-morph-common.d.ts throwIfNullOrUndefined 1 1
ts-morph-common.d.ts readFileOrNotExistsSync 1 1
ts-morph-common.d.ts removeAll 1 1
ts-morph-common.d.ts find 1 1
ts-morph-common.d.ts getPaths 0.9 1
ts-morph-common.d.ts getOrCreate 0.9 1
ts-morph-common.d.ts getOrCreate 0.9 1
ts-morph-common.d.ts createHosts 0.9 1
ts-morph-common.d.ts compareTo 0.9 1
ts-morph-common.d.ts Memoize 0.9 1
ts-morph-common.d.ts throwIfNotEqual 0.9 1
ts-morph-common.d.ts moveFileImmediately 0.9 1
ts-morph-common.d.ts pathJoin 0.9 1
ts-morph-common.d.ts assign 0.9 1
ts-morph-common.d.ts releaseDocumentWithKey 0.8 1
ts-morph-common.d.ts throwIfNotType 0.8 1
ts-morph-common.d.ts moveFileImmediatelySync 0.8 1
ts-morph-common.d.ts readFile 0.8 1
ts-morph-common.d.ts readFileOrNotExistsSync 0.8 1
ts-morph-common.d.ts getStandardizedAbsolutePath 0.8 1
ts-morph-common.d.ts flatten 0.8 1
ts-morph-common.d.ts from 0.8 1
ts-morph-common.d.ts toIterator 0.8 1
ts-morph-common.d.ts binarySearch 0.8 1
ts-morph-common.d.ts containsSubArray 0.8 1
ts-morph-common.d.ts escapeForWithinString 0.8 1
ts-morph-common.d.ts removeIndentation 0.8 1
ts-morph-common.d.ts 0.7 0
ts-morph-common.d.ts 0.7 0
ts-morph-common.d.ts 0.7 0
ts-morph-common.d.ts readFile 0.7 1
ts-morph-common.d.ts writeFile 0.7 1
ts-morph-common.d.ts move 0.7 1
ts-morph-common.d.ts copy 0.7 1
ts-morph-common.d.ts glob 0.7 1
ts-morph-common.d.ts copyDirectoryImmediately 0.7 1
ts-morph-common.d.ts moveDirectoryImmediately 0.7 1
ts-morph-common.d.ts readFileSync 0.7 1
ts-morph-common.d.ts glob 0.7 1
ts-morph-common.d.ts globSync 0.7 1
ts-morph-common.d.ts writeFile 0.7 1
ts-morph-common.d.ts pathEndsWith 0.7 1
ts-morph-common.d.ts pathStartsWith 0.7 1
ts-morph-common.d.ts getDescendantDirectories 0.7 1
ts-morph-common.d.ts readFile 0.7 1
ts-morph-common.d.ts writeFile 0.7 1
ts-morph-common.d.ts move 0.7 1
ts-morph-common.d.ts copy 0.7 1
ts-morph-common.d.ts glob 0.7 1
ts-morph-common.d.ts getEmitModuleResolutionKind 0.7 1
ts-morph-common.d.ts isNullOrEmpty 0.7 1
ts-morph-common.d.ts getUniqueItems 0.7 1
ts-morph-common.d.ts removeFirst 0.7 1
ts-morph-common.d.ts getCompilerOptionsFromTsConfig 0.6 1
ts-morph-common.d.ts 0.6 0
ts-morph-common.d.ts set 0.6 1
ts-morph-common.d.ts replaceKey 0.6 1
ts-morph-common.d.ts set 0.6 1
ts-morph-common.d.ts releaseDocument 0.6 1
ts-morph-common.d.ts 0.6 0
ts-morph-common.d.ts throwIfNotString 0.6 1
ts-morph-common.d.ts throwIfWhitespaceOrNotString 0.6 1
ts-morph-common.d.ts throwIfOutOfRange 0.6 1
ts-morph-common.d.ts throwIfRangeOutOfRange 0.6 1
ts-morph-common.d.ts throwIfTrue 0.6 1
ts-morph-common.d.ts readFileSync 0.6 1
ts-morph-common.d.ts writeFileSync 0.6 1
ts-morph-common.d.ts moveSync 0.6 1
ts-morph-common.d.ts copySync 0.6 1
ts-morph-common.d.ts globSync 0.6 1
ts-morph-common.d.ts queueMoveDirectory 0.6 1
ts-morph-common.d.ts queueCopyDirectory 0.6 1
ts-morph-common.d.ts copyDirectoryImmediatelySync 0.6 1
ts-morph-common.d.ts moveDirectoryImmediatelySync 0.6 1
ts-morph-common.d.ts fileExists 0.6 1
ts-morph-common.d.ts getStandardizedAbsolutePath 0.6 1
ts-morph-common.d.ts writeFileSync 0.6 1
ts-morph-common.d.ts getDirPath 0.6 1
ts-morph-common.d.ts standardizeSlashes 0.6 1
ts-morph-common.d.ts getParentMostPaths 0.6 1
ts-morph-common.d.ts getRelativePathTo 0.6 1
ts-morph-common.d.ts toAbsoluteGlob 0.6 1
ts-morph-common.d.ts readFileSync 0.6 1
ts-morph-common.d.ts writeFileSync 0.6 1
ts-morph-common.d.ts moveSync 0.6 1
ts-morph-common.d.ts copySync 0.6 1
ts-morph-common.d.ts globSync 0.6 1
ts-morph-common.d.ts set 0.6 1
ts-morph-common.d.ts isReadonlyArray 0.6 1
ts-morph-common.d.ts insertAtLastNonWhitespace 0.6 1
ts-morph-common.d.ts escapeChar 0.6 1
ts-morph-common.d.ts getLibFiles 0.6 1
ts-morph-common.d.ts get 0.5 1
ts-morph-common.d.ts get 0.5 1
ts-morph-common.d.ts createModuleResolutionHost 0.5 1
ts-morph-common.d.ts getKeyForCompilationSettings 0.5 1
ts-morph-common.d.ts getSourceFileVersion 0.5 1
ts-morph-common.d.ts 0.5 0
ts-morph-common.d.ts compareTo 0.5 1
ts-morph-common.d.ts throwIfNegative 0.5 1
ts-morph-common.d.ts delete 0.5 1
ts-morph-common.d.ts readDirSync 0.5 1
ts-morph-common.d.ts mkdir 0.5 1
ts-morph-common.d.ts saveForDirectory 0.5 1
ts-morph-common.d.ts deleteFileImmediately 0.5 1
ts-morph-common.d.ts deleteDirectoryImmediately 0.5 1
ts-morph-common.d.ts clearDirectoryImmediately 0.5 1
ts-morph-common.d.ts readDirSync 0.5 1
ts-morph-common.d.ts getDirectories 0.5 1
ts-morph-common.d.ts delete 0.5 1
ts-morph-common.d.ts readDirSync 0.5 1
ts-morph-common.d.ts mkdir 0.5 1
ts-morph-common.d.ts getSyntaxKindName 0.5 1
ts-morph-common.d.ts set 0.5 1
ts-morph-common.d.ts deepClone 0.5 1
ts-morph-common.d.ts subscribe 0.5 1
ts-morph-common.d.ts unsubscribe 0.5 1
ts-morph-common.d.ts clone 0.5 1
ts-morph-common.d.ts isNullOrWhitespace 0.5 1
ts-morph-common.d.ts isNullOrEmpty 0.5 1
ts-morph-common.d.ts getErrors 0.4 1
ts-morph-common.d.ts getEntries 0.4 1
ts-morph-common.d.ts removeByKey 0.4 1
ts-morph-common.d.ts set 0.4 1
ts-morph-common.d.ts removeByValue 0.4 1
ts-morph-common.d.ts removeByKey 0.4 1
ts-morph-common.d.ts entries 0.4 1
ts-morph-common.d.ts removeByKey 0.4 1
ts-morph-common.d.ts removeSourceFile 0.4 1
ts-morph-common.d.ts 0.4 0
ts-morph-common.d.ts 0.4 0
ts-morph-common.d.ts 0.4 0
ts-morph-common.d.ts throwNotImplementedForSyntaxKindError 0.4 1
ts-morph-common.d.ts deleteSync 0.4 1
ts-morph-common.d.ts mkdirSync 0.4 1
ts-morph-common.d.ts fileExists 0.4 1
ts-morph-common.d.ts directoryExists 0.4 1
ts-morph-common.d.ts realpathSync 0.4 1
ts-morph-common.d.ts queueFileDelete 0.4 1
ts-morph-common.d.ts removeFileDelete 0.4 1
ts-morph-common.d.ts queueMkdir 0.4 1
ts-morph-common.d.ts queueDirectoryDelete 0.4 1
ts-morph-common.d.ts saveForDirectorySync 0.4 1
ts-morph-common.d.ts deleteFileImmediatelySync 0.4 1
ts-morph-common.d.ts clearDirectoryImmediatelySync 0.4 1
ts-morph-common.d.ts deleteDirectoryImmediatelySync 0.4 1
ts-morph-common.d.ts realpathSync 0.4 1
ts-morph-common.d.ts getBaseName 0.4 1
ts-morph-common.d.ts getExtension 0.4 1
ts-morph-common.d.ts getTextWithByteOrderMark 0.4 1
ts-morph-common.d.ts deleteSync 0.4 1
ts-morph-common.d.ts mkdirSync 0.4 1
ts-morph-common.d.ts fileExists 0.4 1
ts-morph-common.d.ts directoryExists 0.4 1
ts-morph-common.d.ts realpathSync 0.4 1
ts-morph-common.d.ts onModified 0.4 1
ts-morph-common.d.ts fire 0.4 1
ts-morph-common.d.ts stripBom 0.4 1
ts-morph-common.d.ts isWhitespace 0.4 1
ts-morph-common.d.ts startsWithNewLine 0.4 1
ts-morph-common.d.ts endsWithNewLine 0.4 1
ts-morph-common.d.ts getLineNumberAtPos 0.4 1
ts-morph-common.d.ts getLengthFromLineStartAtPos 0.4 1
ts-morph-common.d.ts getLineStartFromPos 0.4 1
ts-morph-common.d.ts getLineEndFromPos 0.4 1
ts-morph-common.d.ts getCompilerOptions 0.3 1
ts-morph-common.d.ts getValues 0.3 1
ts-morph-common.d.ts getValuesAsArray 0.3 1
ts-morph-common.d.ts getKeys 0.3 1
ts-morph-common.d.ts has 0.3 1
ts-morph-common.d.ts getArrayCopy 0.3 1
ts-morph-common.d.ts has 0.3 1
ts-morph-common.d.ts compareTo 0.3 1
ts-morph-common.d.ts compareTo 0.3 1
ts-morph-common.d.ts fileExistsSync 0.3 1
ts-morph-common.d.ts directoryExistsSync 0.3 1
ts-morph-common.d.ts flush 0.3 1
ts-morph-common.d.ts fileExistsSync 0.3 1
ts-morph-common.d.ts directoryExistsSync 0.3 1
ts-morph-common.d.ts isNotExistsError 0.3 1
ts-morph-common.d.ts pathIsAbsolute 0.3 1
ts-morph-common.d.ts isRootDirPath 0.3 1
ts-morph-common.d.ts isNegatedGlob 0.3 1
ts-morph-common.d.ts fileExistsSync 0.3 1
ts-morph-common.d.ts directoryExistsSync 0.3 1
ts-morph-common.d.ts isWhitespaceCharCode 0.3 1
ts-morph-common.d.ts isSpaces 0.3 1
ts-morph-common.d.ts hasBom 0.3 1
ts-morph-common.d.ts clear 0.2 1
ts-morph-common.d.ts 0.2 0
ts-morph-common.d.ts reportStats 0.2 1
ts-morph-common.d.ts 0.2 0
ts-morph-common.d.ts 0.2 0
ts-morph-common.d.ts 0.2 0
ts-morph-common.d.ts 0.2 0
ts-morph-common.d.ts 0.2 0
ts-morph-common.d.ts 0.2 0
ts-morph-common.d.ts throwNotImplementedForNeverValueError 0.2 1
ts-morph-common.d.ts getCurrentDirectory 0.2 1
ts-morph-common.d.ts 0.2 0
ts-morph-common.d.ts flushSync 0.2 1
ts-morph-common.d.ts getFileSystem 0.2 1
ts-morph-common.d.ts getCurrentDirectory 0.2 1
ts-morph-common.d.ts 0.2 0
ts-morph-common.d.ts getCurrentDirectory 0.2 1
ts-morph-common.d.ts getEncoding 0.2 1
ts-morph-common.d.ts 0.2 0
ts-morph-common.d.ts reset 0.2 1
ts-morph-common.d.ts get 0.2 1
ts-morph-common.d.ts getSize 0.1 1
ts-morph-common.d.ts hasItems 0.1 1
ts-morph-common.d.ts isCaseSensitive 0.1 1
ts-morph-common.d.ts isCaseSensitive 0.1 1
ts-morph-common.d.ts 0 0
ts-morph-common.d.ts 0 0
ts-morph-common.d.ts 0 0
ts-morph-common.d.ts 0 0
ts-morph-common.d.ts 0 0
ts-morph-common.d.ts 0 0