Cognitive complexity
66.7 %
Correct
2/3
33.3 %
Warning
1/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 regex.mock.ts
shortRegex | Complexity Index | 2.3 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
Complexity Index | 4.7 | Cyclomatic complexity | 1 | |
---|---|---|---|---|
|
frenchPhoneNumber | Complexity Index | 11.8 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|