Cognitive complexity
100 %
Correct
5/5
0 %
Warning
0/5
(threshold : 10)
0 %
Error
0/5
(threshold : 20)
Cyclomatic complexity
100 %
Correct
5/5
0 %
Warning
0/5
(threshold : 5)
0 %
Error
0/5
(threshold : 10)
Methods of callbacks.mock.ts
Complexity Index | 1.4 | Cyclomatic complexity | 0 | |
---|---|---|---|---|
|
recursion | Complexity Index | 3.5 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
methodWithCallback | Complexity Index | 3.9 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
caller | Complexity Index | 6.4 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
callerFunction | Complexity Index | 6.5 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|