Cognitive complexity
66.7 %
Correct
2/3
0 %
Warning
0/3
(threshold : 10)
33.3 %
Error
1/3
(threshold : 20)
Cyclomatic complexity
100 %
Correct
3/3
0 %
Warning
0/3
(threshold : 5)
0 %
Error
0/3
(threshold : 10)
Methods of hyper-complex.mock.ts
hyperComplex | Complexity Index | 23.7 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
ifIf | Complexity Index | 4.1 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|
reducer | Complexity Index | 8.6 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|