AIOWPSecurity_Utility_IP B

Total Complexity 80
Dependencies 4
Dependents 17
Total lines 358
Lines of code 234
Logical lines of code 161
Comment lines 81
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
validate_ip_list()
C
35 26 84
get_server_detected_user_ip_address()
A
52 10 21
is_ip_whitelisted()
A
52 9 22
is_ipv6_address_or_ipv6_range()
S
58 7 14
check_login_whitelist_and_forbid()
S
57 5 17
get_user_ip_address()
S
62 5 11
get_external_ip_address()
S
54 4 20
is_server_suitable_ip_methods_give_same_ip_address()
S
60 4 14
get_sanitized_ip_range()
S
59 4 13
get_server_suitable_ip_methods()
S
62 4 12
__construct()
S
91 1 2
create_ip_list_array_from_string_with_newline()
S
75 1 4