Cognitive complexity
0 %
Correct
0/2
100 %
Warning
2/2
(threshold : 10)
0 %
Error
0/2
(threshold : 20)
Cyclomatic complexity
100 %
Correct
2/2
0 %
Warning
0/2
(threshold : 5)
0 %
Error
0/2
(threshold : 10)
Methods of ternary-expression.ts
run | Complexity Index | 15.8 | Cyclomatic complexity | 4 |
---|---|---|---|---|
|
questionMarkCase | Complexity Index | 15 | Cyclomatic complexity | 4 |
---|---|---|---|---|
|