blib/lib/Logwatch/RecordTree/IPv4.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 15 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
61 | 0 | 2 | 0 | $self->identify and $ip =~ m[^\d+\.\d+\.\d+\.\d+(/\d+)?$] || $ip =~ m[^[\d:]+(/\d+)?$] |
204 | 0 | 0 | 0 | $ip and $masked_ip == ($self->ip_to_bin($ip) & $mask) |
238 | 0 | 0 | 0 | $ip and not $masked_ip |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
61 | 1 | 0 | 1 | $ip =~ m[^\d+\.\d+\.\d+\.\d+(/\d+)?$] || $ip =~ m[^[\d:]+(/\d+)?$] |
82 | 4 | 0 | 2 | $ip =~ m[^\d+\.\d+\.\d+\.\d+(/\d+)?$] or $ip =~ m[^[\d:]+(/\d+)?$] |