Cognitive complexity
50 %
Correct
1/2
50 %
Warning
1/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 method-declaration.ts
run | Complexity Index | 14.2 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
getName | Complexity Index | 2 | Cyclomatic complexity | 4 |
---|---|---|---|---|
|