-
Home
-
WooCommerce
-
10.2.2
-
Code
-
Classes
- WC_Geo_IP
| Total Complexity |
132 |
| Dependencies |
2 |
| Dependents |
0 |
| Total lines |
1,701 |
| Lines of code |
384 |
| Logical lines of code |
214 |
| Comment lines |
153 |
| Methods |
14 |
| Properties |
12 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| _setup_segments() |
D |
24 |
70 |
128 |
| _common_get_record() |
B |
36 |
16 |
81 |
| _geoip_seek_country_v6() |
A |
43 |
10 |
46 |
| _geoip_seek_country() |
A |
45 |
10 |
42 |
| geoip_country_code_by_addr() |
S |
59 |
5 |
14 |
| geoip_open() |
S |
57 |
4 |
16 |
| _safe_substr() |
S |
62 |
3 |
12 |
| geoip_country_code_by_addr_v6() |
S |
68 |
3 |
7 |
| log() |
S |
69 |
2 |
6 |
| geoip_close() |
S |
71 |
2 |
6 |
| _get_record() |
S |
69 |
2 |
7 |
| geoip_record_by_addr() |
S |
69 |
2 |
7 |
| geoip_country_id_by_addr_v6() |
S |
66 |
2 |
8 |
| geoip_country_id_by_addr() |
S |
75 |
1 |
4 |