Cognitive complexity
0 %
Correct
0/2
0 %
Warning
0/2
(threshold : 10)
100 %
Error
2/2
(threshold : 20)
Cyclomatic complexity
100 %
Correct
2/2
0 %
Warning
0/2
(threshold : 5)
0 %
Error
0/2
(threshold : 10)
Methods of ternaryToCoalescing.refactorer.ts
refactorNeeded | Complexity Index | 23.3 | Cyclomatic complexity | 5 |
---|---|---|---|---|
|
refactor | Complexity Index | 23.9 | Cyclomatic complexity | 4 |
---|---|---|---|---|
|