Genese complexity report

<- src/automatic-refactoring/refactorers
Files : 3
Methods : 11
Complexity Index : 213.3
Cyclomatic complexity : 41
Cognitive complexity
9.1 % Correct 1/11
54.5 % Warning 6/11 (threshold : 10)
36.4 % Error 4/11 (threshold : 20)
Cyclomatic complexity
90.9 % Correct 10/11
9.1 % Warning 1/11 (threshold : 5)
0 % Error 0/11 (threshold : 10)
Subfolders of src/automatic-refactoring/refactorers
Folders Number of files Number of methods Cognitive complexity of methods Cyclomatic complexity of methods
Correct Warning Error Correct Warning Error
../
src/automatic-refactoring/refactorers 3 11 1 6 4 10 1 0
Files of src/automatic-refactoring/refactorers
File Method Cognitive complexity Cyclomatic complexity
bigIfElse.refactorer.ts refactor 48.5 2
uselessElse.refactorer.ts refactor 33.9 5
ternaryToCoalescing.refactorer.ts refactor 23.9 4
ternaryToCoalescing.refactorer.ts refactorNeeded 23.3 5
bigIfElse.refactorer.ts keepOnlyParameters 16.7 3
bigIfElse.refactorer.ts catchInputs 13.8 4
uselessElse.refactorer.ts refactorNeeded 12.3 8
bigIfElse.refactorer.ts addMethodToClass 11.8 2
bigIfElse.refactorer.ts isConditionnedBlock 10.6 4
bigIfElse.refactorer.ts refactorNeeded 10.3 1
bigIfElse.refactorer.ts isInputs 8.2 3
Methods of src/automatic-refactoring/refactorers folder and its subfolders (ordered by decreasing cognitive complexity)
File Method Cognitive complexity Cyclomatic complexity
bigIfElse.refactorer.ts refactor 48.5 2
uselessElse.refactorer.ts refactor 33.9 5
ternaryToCoalescing.refactorer.ts refactor 23.9 4
ternaryToCoalescing.refactorer.ts refactorNeeded 23.3 5
bigIfElse.refactorer.ts keepOnlyParameters 16.7 3
bigIfElse.refactorer.ts catchInputs 13.8 4
uselessElse.refactorer.ts refactorNeeded 12.3 8
bigIfElse.refactorer.ts addMethodToClass 11.8 2
bigIfElse.refactorer.ts isConditionnedBlock 10.6 4
bigIfElse.refactorer.ts refactorNeeded 10.3 1
bigIfElse.refactorer.ts isInputs 8.2 3