Cognitive complexity
57.1 %
Correct
20/35
31.4 %
Warning
11/35
(threshold : 10)
11.4 %
Error
4/35
(threshold : 20)
Cyclomatic complexity
97.1 %
Correct
34/35
2.9 %
Warning
1/35
(threshold : 5)
0 %
Error
0/35
(threshold : 10)
Subfolders of src/automatic-refactoring
Folders | Number of files | Number of methods | Cognitive complexity of methods | Cyclomatic complexity of methods | ||||
---|---|---|---|---|---|---|---|---|
Correct | Warning | Error | Correct | Warning | Error | |||
../ | ||||||||
src/automatic-refactoring | 12 | 35 | 20 | 11 | 4 | 34 | 1 | 0 |
src/automatic-refactoring/models | 4 | 9 | 6 | 3 | 0 | 9 | 0 | 0 |
src/automatic-refactoring/refactorers | 3 | 11 | 1 | 6 | 4 | 10 | 1 | 0 |
src/automatic-refactoring/services | 3 | 9 | 7 | 2 | 0 | 9 | 0 | 0 |
src/automatic-refactoring/templates | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
src/automatic-refactoring/utils | 1 | 3 | 3 | 0 | 0 | 3 | 0 | 0 |
Files of src/automatic-refactoring
File | Method | Cognitive complexity | Cyclomatic complexity |
---|---|---|---|
automatic-refactoring.ts | refactorFromSourceFile | 6.3 | 1 |
automatic-refactoring.ts | start | 4.7 | 1 |
automatic-refactoring.ts | setRefactorer | 1.1 | 1 |
Methods of src/automatic-refactoring folder and its subfolders
(ordered by decreasing cognitive complexity)