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