blib/lib/Net/DNSServer/Cache.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 42 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
54 | 0 | 0 | 0 | $cache_structure and ref $cache_structure eq 'ARRAY' |
0 | 0 | 0 | $cache_structure and ref $cache_structure eq 'ARRAY' and scalar @$cache_structure == 3 | |
73 | 0 | 0 | 0 | $answer_ref and $authority_ref |
0 | 0 | 0 | $answer_ref and $authority_ref and $additional_ref | |
103 | 0 | 0 | 0 | $lookup and ref $lookup eq 'ARRAY' |
188 | 0 | 0 | 0 | $expires > $Net::DNSServer::Cache::expiration_check and !$next_expiration_check || $expires < $next_expiration_check |
line | l | !l | condition |
---|---|---|---|
17 | 0 | 0 | shift() || 'Net::DNSServer::Cache' |
18 | 0 | 0 | shift() || {} |
19 | 0 | 0 | $$self{'dns_cache'} ||= {} |
53 | 0 | 0 | $$self{'dns_cache'}{"$key;structure"} || undef |
152 | 0 | 0 | $$answer_hash{$key} ||= [] |
197 | 0 | 0 | $next_expiration_check || undef |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
29 | 0 | 0 | 0 | ref $entry ne 'ARRAY' or $$entry[0] < time |
39 | 0 | 0 | 0 | shift() || croak('Usage> $obj->resolve($Net_DNS_obj)') |
155 | 0 | 0 | 0 | not $Net::DNSServer::Cache::expiration_check or $expiration < $Net::DNSServer::Cache::expiration_check |
188 | 0 | 0 | 0 | !$next_expiration_check || $expires < $next_expiration_check |