Branch Coverage

blib/lib/Net/DNS/Check/Host.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
29 0 0 if (defined $param{'debug'}) { }
40 0 0 if $$self{'qtype'} eq 'PTR'
55 0 0 if ($$self{'debug'} and 0)
61 0 0 if ($$self{'init_only'})
83 0 0 if (not $$self{'init_only'}) { }
85 0 0 if ($$self{'host'}) { }
87 0 0 if (scalar @{$$self{'ip'};} > 0) { }
96 0 0 if ($$self{'query_AAAA'})
111 0 0 if ($$self{'query_AAAA'})
148 0 0 unless $host and $ip
152 0 0 if ($$self{'debug'} > 0)
173 0 0 if (not $packet and $qtype ne 'AAAA') { }
175 0 0 if ($$self{'debug'} > 0)
203 0 0 unless $host
207 0 0 if ($$self{'debug'} > 0)
226 0 0 if (not $packet and $qtype ne 'AAAA') { }
227 0 0 if ($$self{'debug'} > 0)
253 0 0 unless $packet
265 0 0 if $rr->name ne $host
267 0 0 if ($rr->type eq 'A')
272 0 0 if ($rr->type eq 'AAAA')
277 0 0 if ($rr->type eq 'PTR')
282 0 0 if ($rr->type eq 'CNAME')
293 0 0 if ($cname and not scalar @{$ip;} and $$self{'depth'} <= $$self{'max_depth'})
296 0 0 if ($$self{'debug'} > 0)
309 0 0 if (scalar @{$$self{'ip'};} > 0) { }
317 0 0 unless $ip
321 0 0 if ($iscname)
326 0 0 if (scalar @{$ip;}) { }
331 0 0 if ($qtype eq 'AAAA') { }
335 0 0 if ($$self{'debug'} > 0 and not $iscname)
347 0 0 if ($$self{'debug'} > 0 and not $iscname)
361 0 0 if ($$self{'debug'} > 0 and not $iscname)
377 0 0 unless $$self{'ipfound'}
393 0 0 if ($packet) { }
395 0 0 if ($rr->type eq 'PTR')
412 0 0 unless $$self{'type'}
422 0 0 unless $$self{'ipfound'}
439 0 0 unless $$self{'ip6found'}