Cognitive complexity
85.7 %
Correct
6/7
0 %
Warning
0/7
(threshold : 10)
14.3 %
Error
1/7
(threshold : 20)
Cyclomatic complexity
85.7 %
Correct
6/7
14.3 %
Warning
1/7
(threshold : 5)
0 %
Error
0/7
(threshold : 10)
Methods of tools.service.ts
capitalize | Complexity Index | 5.2 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
incrementIdentifierDuration | Complexity Index | 2.5 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
percent | Complexity Index | 3.7 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
addObjects | Complexity Index | 24.7 | Cyclomatic complexity | 8 |
---|---|---|---|---|
|
isLastKey | Complexity Index | 4.3 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
isLastIndex | Complexity Index | 1.2 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
randomString | Complexity Index | 7.2 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|