| blib/lib/ThreatNet/Filter/ThreatCache.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 12 | 20 | 60.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 59 | 0 | 2 | ref $_[0] ? : | 
| 70 | 0 | 2 | defined $args{'timeout'} ? : | 
| 93 | 2 | 6 | unless my $Message = _INSTANCE(shift(), 'ThreatNet::Message') | 
| 94 | 0 | 6 | unless $Message->can('ip') | 
| 98 | 0 | 4 | if (time > $$event{'time'} + $$self{'timeout'}) { } | 
| 112 | 0 | 6 | unless my $created = $Message->created | 
| 113 | 0 | 6 | unless my $ip = $Message->ip | 
| 119 | 2 | 4 | if $$self{'cache_ip'}{$ip} | 
| 190 | 4 | 0 | $total ? : | 
| 197 | 0 | 4 | $interval ? : |