Cognitive complexity
50 %
Correct
1/2
50 %
Warning
1/2
(threshold : 10)
0 %
Error
0/2
(threshold : 20)
Cyclomatic complexity
50 %
Correct
1/2
50 %
Warning
1/2
(threshold : 5)
0 %
Error
0/2
(threshold : 10)
Methods of code-line.model.ts
addComment | Complexity Index | 2.9 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
setDepthAndNestingCpx | Complexity Index | 13.3 | Cyclomatic complexity | 9 |
---|---|---|---|---|
|