Cognitive complexity
50 %
Correct
2/4
25 %
Warning
1/4
(threshold : 10)
25 %
Error
1/4
(threshold : 20)
Cyclomatic complexity
100 %
Correct
4/4
0 %
Warning
0/4
(threshold : 5)
0 %
Error
0/4
(threshold : 10)
Methods of language-to-json-ast.ts
start | Complexity Index | 20.8 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
generateFromAllFiles | Complexity Index | 2 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
generateFromFiles | Complexity Index | 5.1 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
findInObject | Complexity Index | 14.7 | Cyclomatic complexity | 4 |
---|---|---|---|---|
|