blib/lib/ThreatNet/Filter/Network.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
177 | 0 | 2 | ref $_[0] ? : |
180 | 0 | 2 | unless my $type = lc _IDENTIFIER(shift()) |
181 | 0 | 2 | unless $type eq 'keep' or $type eq 'discard' |
184 | 2 | 2 | $ThreatNet::Filter::Network::KEYWORD{$_} ? : |
189 | 0 | 2 | unless @network |
211 | 1 | 1 | $_[0]{'keep'} ? : |
249 | 0 | 10 | unless my $Message = _INSTANCE(shift(), 'ThreatNet::Message::IPv4') |
251 | 5 | 5 | $$self{'keep'} ? : |
10 | 0 | defined $rv ? : |