-
Home
-
GD Rating System
-
3.4
-
Code
-
Classes
- d4p_core_ips
Total Complexity |
62 |
Dependencies |
0 |
Dependents |
8 |
Total lines |
326 |
Lines of code |
227 |
Logical lines of code |
145 |
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 |
52 |
9 |
27 |
get_full_ipv6() |
A |
48 |
7 |
33 |
get_visitor_ip() |
S |
52 |
7 |
23 |
is_private_ip() |
S |
56 |
7 |
19 |
is_ipv6_in_range() |
S |
48 |
6 |
32 |
validate_ip() |
S |
58 |
5 |
16 |
ip2long6() |
S |
61 |
3 |
11 |
get_all_ips() |
S |
62 |
3 |
10 |
get_server_ip() |
S |
68 |
2 |
7 |
cleanup_ip() |
S |
66 |
2 |
8 |