-
Home
-
Hustle – Email Marketing, Lead Generation, Optins, Popups
-
7.4.11
-
Code
-
Classes
- Opt_In_Geo
Total Complexity |
72 |
Dependencies |
0 |
Dependents |
8 |
Total lines |
468 |
Lines of code |
287 |
Logical lines of code |
151 |
Comment lines |
120 |
Methods |
14 |
Properties |
0 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
_country_from_api() |
B |
43 |
20 |
44 |
get_user_ip() |
A |
43 |
11 |
48 |
_get_service() |
A |
44 |
8 |
50 |
get_country_from_ip() |
S |
55 |
6 |
20 |
is_cloudflare() |
S |
57 |
5 |
18 |
cloudflare_requests_check() |
S |
59 |
5 |
16 |
get_user_country() |
S |
60 |
4 |
14 |
validate_cloudflare_ip() |
S |
53 |
3 |
25 |
_get_geo_services() |
S |
56 |
2 |
19 |
_is_crawler() |
S |
69 |
3 |
6 |
cloudflare_ip_in_range() |
S |
61 |
2 |
11 |
get_deprecated_geo_services() |
S |
68 |
1 |
8 |
_update_ip_county_map() |
S |
73 |
1 |
5 |
_get_ip_county_map() |
S |
80 |
1 |
3 |