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 unary-expression.ts
run | Complexity Index | 18.8 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
toUnaryPrefixOperator | Complexity Index | 11.1 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|