-
Home
-
Simla.com
-
4.7.5
-
Code
-
Classes
- WC_Retailcrm_Url_Validator
| Total Complexity |
28 |
| Dependencies |
2 |
| Dependents |
1 |
| Total lines |
190 |
| Lines of code |
83 |
| Logical lines of code |
46 |
| Comment lines |
68 |
| Methods |
13 |
| Properties |
0 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| 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 |
| getValidDomains() |
S |
66 |
2 |
8 |
| validateUrlFormat() |
S |
67 |
1 |
9 |
| getMainDomain() |
S |
72 |
1 |
5 |
| checkDomains() |
S |
78 |
1 |
3 |