Total Complexity | 47 |
Dependencies | 8 |
Dependents | 18 |
Total lines | 205 |
Lines of code | 123 |
Logical lines of code | 81 |
Comment lines | 56 |
Methods | 10 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validate_ip_list() | 45 | 13 | 37 | |
is_ipv6_address_or_ipv6_range() | 55 | 11 | 16 | |
check_login_whitelist_and_forbid() | 58 | 5 | 16 | |
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 | |
is_userip_whitelisted() | 70 | 3 | 6 | |
__construct() | 91 | 1 | 2 | |
get_user_ip_address() | 80 | 1 | 3 | |
create_ip_list_array_from_string_with_newline() | 75 | 1 | 4 |