Genese complexity report

<- node_modules/fast-glob/out/utils
Files : 8
Methods : 29
Complexity Index : 14.7
Cyclomatic complexity : 29
Cognitive complexity
100 % Correct 29/29
0 % Warning 0/29 (threshold : 10)
0 % Error 0/29 (threshold : 20)
Cyclomatic complexity
100 % Correct 29/29
0 % Warning 0/29 (threshold : 5)
0 % Error 0/29 (threshold : 10)
Subfolders of node_modules/fast-glob/out/utils
Folders Number of files Number of methods Cognitive complexity of methods Cyclomatic complexity of methods
Correct Warning Error Correct Warning Error
../
node_modules/fast-glob/out/utils 8 29 29 0 0 29 0 0
Files of node_modules/fast-glob/out/utils
File Method Cognitive complexity Cyclomatic complexity
array.d.ts splitWhen 1.1 1
array.d.ts flatten 0.8 1
pattern.d.ts convertPatternsToRe 0.8 1
fs.d.ts createDirentFromStats 0.7 1
pattern.d.ts getPatternParts 0.7 1
path.d.ts makeAbsolute 0.6 1
pattern.d.ts getNegativePatterns 0.6 1
pattern.d.ts getPositivePatterns 0.6 1
pattern.d.ts expandPatternsWithBraceExpansion 0.6 1
pattern.d.ts makeRe 0.6 1
pattern.d.ts matchAny 0.6 1
stream.d.ts merge 0.6 1
pattern.d.ts isStaticPattern 0.5 1
pattern.d.ts isDynamicPattern 0.5 1
pattern.d.ts expandBraceExpansion 0.5 1
path.d.ts unixify 0.4 1
path.d.ts escape 0.4 1
path.d.ts removeLeadingDotSegment 0.4 1
pattern.d.ts convertToPositivePattern 0.4 1
pattern.d.ts convertToNegativePattern 0.4 1
pattern.d.ts getBaseDirectory 0.4 1
string.d.ts isString 0.4 1
errno.d.ts isEnoentCodeError 0.3 1
pattern.d.ts isNegativePattern 0.3 1
pattern.d.ts isPositivePattern 0.3 1
pattern.d.ts hasGlobStar 0.3 1
pattern.d.ts endsWithSlashGlobStar 0.3 1
pattern.d.ts isAffectDepthOfReadingPattern 0.3 1
string.d.ts isEmpty 0.3 1
Methods of node_modules/fast-glob/out/utils folder and its subfolders (ordered by decreasing cognitive complexity)
File Method Cognitive complexity Cyclomatic complexity
array.d.ts splitWhen 1.1 1
array.d.ts flatten 0.8 1
pattern.d.ts convertPatternsToRe 0.8 1
fs.d.ts createDirentFromStats 0.7 1
pattern.d.ts getPatternParts 0.7 1
path.d.ts makeAbsolute 0.6 1
pattern.d.ts getNegativePatterns 0.6 1
pattern.d.ts getPositivePatterns 0.6 1
pattern.d.ts expandPatternsWithBraceExpansion 0.6 1
pattern.d.ts makeRe 0.6 1
pattern.d.ts matchAny 0.6 1
stream.d.ts merge 0.6 1
pattern.d.ts isStaticPattern 0.5 1
pattern.d.ts isDynamicPattern 0.5 1
pattern.d.ts expandBraceExpansion 0.5 1
path.d.ts unixify 0.4 1
path.d.ts escape 0.4 1
path.d.ts removeLeadingDotSegment 0.4 1
pattern.d.ts convertToPositivePattern 0.4 1
pattern.d.ts convertToNegativePattern 0.4 1
pattern.d.ts getBaseDirectory 0.4 1
string.d.ts isString 0.4 1
errno.d.ts isEnoentCodeError 0.3 1
pattern.d.ts isNegativePattern 0.3 1
pattern.d.ts isPositivePattern 0.3 1
pattern.d.ts hasGlobStar 0.3 1
pattern.d.ts endsWithSlashGlobStar 0.3 1
pattern.d.ts isAffectDepthOfReadingPattern 0.3 1
string.d.ts isEmpty 0.3 1