Cognitive complexity
100 %
Correct
28/28
0 %
Warning
0/28
(threshold : 10)
0 %
Error
0/28
(threshold : 20)
Cyclomatic complexity
100 %
Correct
28/28
0 %
Warning
0/28
(threshold : 5)
0 %
Error
0/28
(threshold : 10)
Subfolders of node_modules/@types/node/ts3.4
Folders | Number of files | Number of methods | Cognitive complexity of methods | Cyclomatic complexity of methods | ||||
---|---|---|---|---|---|---|---|---|
Correct | Warning | Error | Correct | Warning | Error | |||
../ | ||||||||
node_modules/@types/node/ts3.4 | 4 | 28 | 28 | 0 | 0 | 28 | 0 | 0 |
Files of node_modules/@types/node/ts3.4
File | Method | Cognitive complexity | Cyclomatic complexity |
---|---|---|---|
assert.d.ts | doesNotReject | 1.7 | 1 |
assert.d.ts | rejects | 1.5 | 1 |
assert.d.ts | fail | 1.3 | 1 |
assert.d.ts | rejects | 1.3 | 1 |
assert.d.ts | doesNotReject | 1.3 | 1 |
assert.d.ts | doesNotThrow | 1.2 | 1 |
assert.d.ts | 1.1 | 0 | |
assert.d.ts | calls | 1 | 1 |
assert.d.ts | equal | 1 | 1 |
assert.d.ts | notEqual | 1 | 1 |
assert.d.ts | deepEqual | 1 | 1 |
assert.d.ts | notDeepEqual | 1 | 1 |
assert.d.ts | strictEqual | 1 | 1 |
assert.d.ts | notStrictEqual | 1 | 1 |
assert.d.ts | deepStrictEqual | 1 | 1 |
assert.d.ts | notDeepStrictEqual | 1 | 1 |
assert.d.ts | throws | 1 | 1 |
assert.d.ts | match | 1 | 1 |
assert.d.ts | doesNotMatch | 1 | 1 |
assert.d.ts | assert | 0.8 | 1 |
assert.d.ts | ok | 0.8 | 1 |
assert.d.ts | throws | 0.8 | 1 |
assert.d.ts | doesNotThrow | 0.8 | 1 |
assert.d.ts | fail | 0.5 | 1 |
assert.d.ts | ifError | 0.4 | 1 |
assert.d.ts | calls | 0.3 | 1 |
assert.d.ts | report | 0.3 | 1 |
assert.d.ts | verify | 0.2 | 1 |
Methods of node_modules/@types/node/ts3.4 folder and its subfolders
(ordered by decreasing cognitive complexity)
File | Method | Cognitive complexity | Cyclomatic complexity |
---|---|---|---|
assert.d.ts | doesNotReject | 1.7 | 1 |
assert.d.ts | rejects | 1.5 | 1 |
assert.d.ts | fail | 1.3 | 1 |
assert.d.ts | rejects | 1.3 | 1 |
assert.d.ts | doesNotReject | 1.3 | 1 |
assert.d.ts | doesNotThrow | 1.2 | 1 |
assert.d.ts | 1.1 | 0 | |
assert.d.ts | calls | 1 | 1 |
assert.d.ts | equal | 1 | 1 |
assert.d.ts | notEqual | 1 | 1 |
assert.d.ts | deepEqual | 1 | 1 |
assert.d.ts | notDeepEqual | 1 | 1 |
assert.d.ts | strictEqual | 1 | 1 |
assert.d.ts | notStrictEqual | 1 | 1 |
assert.d.ts | deepStrictEqual | 1 | 1 |
assert.d.ts | notDeepStrictEqual | 1 | 1 |
assert.d.ts | throws | 1 | 1 |
assert.d.ts | match | 1 | 1 |
assert.d.ts | doesNotMatch | 1 | 1 |
assert.d.ts | assert | 0.8 | 1 |
assert.d.ts | ok | 0.8 | 1 |
assert.d.ts | throws | 0.8 | 1 |
assert.d.ts | doesNotThrow | 0.8 | 1 |
assert.d.ts | fail | 0.5 | 1 |
assert.d.ts | ifError | 0.4 | 1 |
assert.d.ts | calls | 0.3 | 1 |
assert.d.ts | report | 0.3 | 1 |
assert.d.ts | verify | 0.2 | 1 |