-
Home
-
Simla.com
-
4.8.23
-
Code
-
Classes
- WC_Retailcrm_Url_Validator
| Total Complexity |
30 |
| Dependencies |
3 |
| Dependents |
1 |
| Total lines |
197 |
| Lines of code |
87 |
| Logical lines of code |
49 |
| Comment lines |
68 |
| Methods |
13 |
| Properties |
0 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getValidDomains() |
S |
60 |
4 |
12 |
| validateUrl() |
S |
58 |
3 |
15 |
| validateUrlDomains() |
S |
65 |
3 |
8 |
| checkScheme() |
S |
71 |
3 |
5 |
| checkAuth() |
S |
72 |
3 |
5 |
| checkPath() |
S |
71 |
3 |
5 |
| checkHost() |
S |
73 |
2 |
5 |
| checkQuery() |
S |
73 |
2 |
5 |
| checkFragment() |
S |
73 |
2 |
5 |
| checkPort() |
S |
73 |
2 |
5 |
| validateUrlFormat() |
S |
67 |
1 |
9 |
| getMainDomain() |
S |
72 |
1 |
5 |
| checkDomains() |
S |
78 |
1 |
3 |