Cognitive complexity
69.5 %
Correct
362/521
25 %
Warning
130/521
(threshold : 10)
5.6 %
Error
29/521
(threshold : 20)
Cyclomatic complexity
91.9 %
Correct
479/521
7.7 %
Warning
40/521
(threshold : 5)
0.4 %
Error
2/521
(threshold : 10)
Subfolders of src
Folders | Number of files | Number of methods | Cognitive complexity of methods | Cyclomatic complexity of methods | ||||
---|---|---|---|---|---|---|---|---|
Correct | Warning | Error | Correct | Warning | Error | |||
../ | ||||||||
src | 520 | 521 | 362 | 130 | 29 | 479 | 40 | 2 |
src/automatic-refactoring | 12 | 35 | 20 | 11 | 4 | 34 | 1 | 0 |
src/core | 37 | 106 | 90 | 12 | 4 | 99 | 7 | 0 |
src/json-ast-to-reports | 45 | 177 | 135 | 38 | 4 | 158 | 18 | 1 |
src/languages-to-json-ast | 422 | 198 | 114 | 69 | 15 | 184 | 13 | 1 |
src/workers | 3 | 3 | 3 | 0 | 0 | 3 | 0 | 0 |
Files of src
File | Method | Cognitive complexity | Cyclomatic complexity |
---|---|---|---|
index.ts | start | 39.6 | 9 |
index.ts | useWorker | 21.1 | 2 |
Methods of src folder and its subfolders
(ordered by decreasing cognitive complexity)