Total Complexity | 26 |
Dependencies | 0 |
Dependents | 0 |
Total lines | 147 |
Lines of code | 82 |
Logical lines of code | 57 |
Comment lines | 45 |
Methods | 7 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
is_ip_blocked() | 52 | 8 | 24 | |
is_ip_whitelisted() | 53 | 8 | 22 | |
check_range_rule() | 62 | 3 | 11 | |
ip_ban() | 73 | 3 | 5 | |
__construct() | 67 | 2 | 7 | |
check_subnet_mask_rule() | 65 | 1 | 8 | |
check_wildcard_rule() | 71 | 1 | 5 |