Cognitive complexity
55.6 %
Correct
5/9
44.4 %
Warning
4/9
(threshold : 10)
0 %
Error
0/9
(threshold : 20)
Cyclomatic complexity
44.4 %
Correct
4/9
55.6 %
Warning
5/9
(threshold : 5)
0 %
Error
0/9
(threshold : 10)
Methods of ast-node.service.ts
getCode | Complexity Index | 11 | Cyclomatic complexity | 8 |
---|---|---|---|---|
|
getContext | Complexity Index | 9.9 | Cyclomatic complexity | 7 |
---|---|---|---|---|
|
getIdentifierContext | Complexity Index | 7.1 | Cyclomatic complexity | 7 |
---|---|---|---|---|
|
isSecondSonOfPropertyAccessExpression | Complexity Index | 3.5 | Cyclomatic complexity | 4 |
---|---|---|---|---|
|
isCallback | Complexity Index | 3.4 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
hasCallBack | Complexity Index | 12.7 | Cyclomatic complexity | 7 |
---|---|---|---|---|
|
isRecursiveMethod | Complexity Index | 3.4 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
hasRecursiveNode | Complexity Index | 12.8 | Cyclomatic complexity | 7 |
---|---|---|---|---|
|
flatMapAstNodes | Complexity Index | 10.5 | Cyclomatic complexity | 4 |
---|---|---|---|---|
|