-
Home
-
GD Rating System
-
3.6.1
-
Code
-
Classes
- d4p_core_ips
Total Complexity |
60 |
Dependencies |
0 |
Dependents |
8 |
Total lines |
321 |
Lines of code |
216 |
Logical lines of code |
140 |
Comment lines |
0 |
Methods |
11 |
Properties |
4 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_ipv4_in_range() |
A |
44 |
11 |
41 |
is_cloudflare_ip() |
A |
53 |
8 |
23 |
get_full_ipv6() |
A |
48 |
7 |
33 |
get_visitor_ip() |
S |
53 |
7 |
22 |
is_private_ip() |
S |
56 |
7 |
19 |
is_ipv6_in_range() |
S |
48 |
6 |
32 |
get_all_ips() |
S |
59 |
4 |
13 |
ip2long6() |
S |
61 |
3 |
11 |
validate_ip() |
S |
62 |
3 |
11 |
get_server_ip() |
S |
68 |
2 |
7 |
cleanup_ip() |
S |
74 |
2 |
4 |