Total Complexity | 14 |
Dependencies | 4 |
Dependents | 3 |
Total lines | 115 |
Lines of code | 69 |
Logical lines of code | 42 |
Comment lines | 29 |
Methods | 6 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_list_blocked_ips() | 58 | 4 | 16 | |
add_ip_to_block_list() | 55 | 3 | 20 | |
check_visitor_ip_and_perform_blocking() | 58 | 3 | 16 | |
is_ip_blocked() | 65 | 2 | 9 | |
__construct() | 100 | 1 | 2 | |
unblock_ip() | 70 | 1 | 6 |