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