Cognitive complexity
100 %
Correct
4/4
0 %
Warning
0/4
(threshold : 10)
0 %
Error
0/4
(threshold : 20)
Cyclomatic complexity
100 %
Correct
4/4
0 %
Warning
0/4
(threshold : 5)
0 %
Error
0/4
(threshold : 10)
Methods of cyclomatic-cpx.service.ts
calculateCyclomaticCpx | Complexity Index | 3.5 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
currentAstNodeCyclomaticCpx | Complexity Index | 3 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
childrenCyclomaticCpx | Complexity Index | 5.2 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
increasesCyclomaticComplexity | Complexity Index | 6 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|