Cognitive complexity
93.8 %
Correct
15/16
6.3 %
Warning
1/16
(threshold : 10)
0 %
Error
0/16
(threshold : 20)
Cyclomatic complexity
81.3 %
Correct
13/16
18.8 %
Warning
3/16
(threshold : 5)
0 %
Error
0/16
(threshold : 10)
Methods of ast.service.ts
mayDefineContext | Complexity Index | 3.1 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
isArrayIndex | Complexity Index | 2.7 | Cyclomatic complexity | 5 |
---|---|---|---|---|
|
isArrayOfArray | Complexity Index | 4.5 | Cyclomatic complexity | 8 |
---|---|---|---|---|
|
isBinary | Complexity Index | 1.1 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
isBlock | Complexity Index | 0.9 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
isCallExpression | Complexity Index | 1.1 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
isDifferentLogicDoor | Complexity Index | 11.4 | Cyclomatic complexity | 5 |
---|---|---|---|---|
|
isElseIfStatement | Complexity Index | 2.7 | Cyclomatic complexity | 5 |
---|---|---|---|---|
|
isElseStatement | Complexity Index | 6.3 | Cyclomatic complexity | 6 |
---|---|---|---|---|
|
isFunctionOrMethod | Complexity Index | 5.6 | Cyclomatic complexity | 7 |
---|---|---|---|---|
|
isIdentifier | Complexity Index | 0.9 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
isLogicDoor | Complexity Index | 2.8 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
isCallIdentifier | Complexity Index | 4.3 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
isParam | Complexity Index | 1.1 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
isPropertyAccessExpression | Complexity Index | 1.1 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
isSameOperatorToken | Complexity Index | 1.5 | Cyclomatic complexity | 5 |
---|---|---|---|---|
|