Cognitive complexity
33.3 %
Correct
1/3
66.7 %
Warning
2/3
(threshold : 10)
0 %
Error
0/3
(threshold : 20)
Cyclomatic complexity
100 %
Correct
3/3
0 %
Warning
0/3
(threshold : 5)
0 %
Error
0/3
(threshold : 10)
Methods of cst-to-ast.ts
cstToAst | Complexity Index | 11 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|
toKebabCase | Complexity Index | 8.4 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
getBinaryOperatorName | Complexity Index | 18.4 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|