Cognitive complexity
100 %
Correct
3/3
0 %
Warning
0/3
(threshold : 10)
0 %
Error
0/3
(threshold : 20)
Cyclomatic complexity
100 %
Correct
3/3
0 %
Warning
0/3
(threshold : 5)
0 %
Error
0/3
(threshold : 10)
Methods of php.mock.ts
ifMethod | Complexity Index | 2 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
recursion | Complexity Index | 5.4 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
methodWithCallback | Complexity Index | 3.7 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|