Cognitive complexity
0 %
Correct
0/7
71.4 %
Warning
5/7
(threshold : 10)
28.6 %
Error
2/7
(threshold : 20)
Cyclomatic complexity
100 %
Correct
7/7
0 %
Warning
0/7
(threshold : 5)
0 %
Error
0/7
(threshold : 10)
Methods of binary-expression.ts
run | Complexity Index | 17 | Cyclomatic complexity | 5 |
---|---|---|---|---|
|
binaryOperatorsCase | Complexity Index | 12.9 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
constructBinaryOperatorsAst | Complexity Index | 24 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
assignmentOperatorCase | Complexity Index | 11.2 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|
reconstructOperators | Complexity Index | 19 | Cyclomatic complexity | 5 |
---|---|---|---|---|
|
splitExpression | Complexity Index | 22.8 | Cyclomatic complexity | 4 |
---|---|---|---|---|
|
toBinaryExpression | Complexity Index | 12.4 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|