Cognitive complexity
100 %
Correct
3/3
0 %
Warning
0/3
(threshold : 10)
0 %
Error
0/3
(threshold : 20)
Cyclomatic complexity
100 %
Correct
3/3
0 %
Warning
0/3
(threshold : 5)
0 %
Error
0/3
(threshold : 10)
Methods of switches.mock.ts
switches | Complexity Index | 5.8 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
tryCatch | Complexity Index | 3.9 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
questionDotToken | Complexity Index | 0.7 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|