Cognitive complexity
89.5 %
Correct
17/19
10.5 %
Warning
2/19
(threshold : 10)
0 %
Error
0/19
(threshold : 20)
Cyclomatic complexity
100 %
Correct
19/19
0 %
Warning
0/19
(threshold : 5)
0 %
Error
0/19
(threshold : 10)
Methods of ast-folder.service.ts
Complexity Index | 1 | Cyclomatic complexity | 0 | |
---|---|---|---|---|
|
calculateStats | Complexity Index | 8.6 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
calculateAstFolderCpxByStatus | Complexity Index | 7.8 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|
calculateAstFileCpxByStatus | Complexity Index | 8 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
incrementMethodsByStatus | Complexity Index | 3.6 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
getNameOrPath | Complexity Index | 1 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
getNumberOfFiles | Complexity Index | 4 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|
getChildrenFoldersNumberOfFiles | Complexity Index | 6.2 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|
getNumberOfMethods | Complexity Index | 5 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|
getCurrentFolderNumberOfMethods | Complexity Index | 2.9 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|
getChildrenFoldersNumberOfMethods | Complexity Index | 7.2 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
getRelativePath | Complexity Index | 4.2 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|
getAstFolderRoot | Complexity Index | 5.4 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|
getRootPath | Complexity Index | 1.9 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
getRouteFromFolderToFile | Complexity Index | 15 | Cyclomatic complexity | 4 |
---|---|---|---|---|
|
getLinkStarter | Complexity Index | 6.7 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
getRouteFromFolderToSubFolder | Complexity Index | 15.6 | Cyclomatic complexity | 5 |
---|---|---|---|---|
|
isSlashExist | Complexity Index | 3.5 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
linkSlicer | Complexity Index | 8.4 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|