Branch Coverage

blib/lib/Net/DNS/Check/NSQuery.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
16 0 0 unless $param{'domain'} and $param{'nserver'}
37 0 0 unless ($$self{'domain'})
42 0 0 unless ($$self{'nserver'})
47 0 0 if ($fatal)
66 0 0 if (defined $param{'debug'}) { }
98 0 0 if ($$self{'debug'} > 0)
125 0 0 unless (@{$$self{'ip'};})
127 0 0 if ($$self{'debug'} > 0)
142 0 0 if (@{$$self{'ip'};}) { }
145 0 0 if ($$self{'debug'} > 0)
155 0 0 if ($$self{'debug'} > 2)
167 0 0 if ($$self{'debug'} > 0)
185 0 0 if ($packet) { }
188 0 0 if ($$self{'debug'} > 0)
195 0 0 if ($$self{'debug'} > 1)
203 0 0 if ($self->header_aa and scalar $packet->answer) { }
206 0 0 if ($rr->type eq 'SOA')
211 0 0 if ($rr->type eq 'NS')
217 0 0 if ($rr->type eq 'MX')
231 0 0 if ($$self{'debug'} > 0)
247 0 0 unless ($hostname)
261 0 0 if ($hostname eq $$self{'domain'} or $hostname =~ /.*$$self{'qdomain'}$/ and $domcount == $hostcount) { }
284 0 0 unless defined $$self{'result'}{'header'}
294 0 0 unless defined $$self{'result'}{'header'}
305 0 0 unless defined $$self{'result'}{'NS'}
317 0 0 unless defined $$self{'result'}{'MX'}
326 0 0 unless defined $$self{'result'}{'SOA'}
336 0 0 unless defined $$self{'result'}{'SOA'}
348 0 0 unless defined $$self{'result'}{'SOA'}
358 0 0 unless defined $$self{'result'}{'SOA'}
368 0 0 unless defined $$self{'result'}{'SOA'}
378 0 0 unless defined $$self{'result'}{'SOA'}
388 0 0 unless defined $$self{'result'}{'SOA'}