P_Ban S

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

Methods 7

Method Rating Maintainability Complexity Lines of code
is_ip_blocked()
A
52 8 24
is_ip_whitelisted()
A
53 8 22
check_range_rule()
S
62 3 11
ip_ban()
S
73 3 5
__construct()
S
67 2 7
check_subnet_mask_rule()
S
65 1 8
check_wildcard_rule()
S
71 1 5