Cognitive complexity
100 %
Correct
1/1
0 %
Warning
0/1
(threshold : 10)
0 %
Error
0/1
(threshold : 20)
Cyclomatic complexity
100 %
Correct
1/1
0 %
Warning
0/1
(threshold : 5)
0 %
Error
0/1
(threshold : 10)
Subfolders of node_modules/strip-ansi
Folders | Number of files | Number of methods | Cognitive complexity of methods | Cyclomatic complexity of methods | ||||
---|---|---|---|---|---|---|---|---|
Correct | Warning | Error | Correct | Warning | Error | |||
../ | ||||||||
node_modules/strip-ansi | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 |
Files of node_modules/strip-ansi
File | Method | Cognitive complexity | Cyclomatic complexity |
---|---|---|---|
index.d.ts | stripAnsi | 0.4 | 1 |
Methods of node_modules/strip-ansi folder and its subfolders
(ordered by decreasing cognitive complexity)
File | Method | Cognitive complexity | Cyclomatic complexity |
---|---|---|---|
index.d.ts | stripAnsi | 0.4 | 1 |