Branch Coverage

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


line true false branch
57 0 0 unless ($self->_process_args(@_))
73 0 0 if ($$self{'nserver'}) { }
82 0 0 unless (keys %{$$self{'nsauth'};})
88 0 0 unless ($$self{'error'})
103 0 0 unless $PUBLIC_ARGS{$attr}
115 0 0 if ($$self{'config_file'})
121 0 0 unless (defined $$self{'debug'})
148 0 0 if ($nsstr)
154 0 0 if ($nsname)
155 0 0 if ($nsip)
162 0 0 if ($nsname =~ /^(.*\.$$self{'qdomain'}|$$self{'qdomain'})$/) { }
220 0 0 if ($$self{'debug'} > 0)
251 0 0 if ($$self{'debug'} > 0)
259 0 0 if ($packet) { }
261 0 0 if ($rr->type eq 'NS')
262 0 0 if $rr->nsdname
263 0 0 if ($$self{'debug'} > 0)
278 0 0 unless (@ns)
292 0 0 if ($$self{'debug'} > 0)
301 0 0 if ($packet)
303 0 0 if ($rr->type eq 'A')
305 0 0 if ($$self{'debug'} > 0)
317 0 0 if ($address)
320 0 0 if ($$self{'debug'} > 0)
328 0 0 if ($packet) { }
331 0 0 if ($packet->answer) { }
341 0 0 if (lc $rr->name eq lc $$self{'domain'} and $rr->type eq 'NS')
349 0 0 if (@nsresult) { }
358 0 0 if ($nsname)
359 0 0 if ($$self{'debug'} > 0)
366 0 0 if ($$self{'debug'} > 0)
377 0 0 if ($nsname =~ /^(.*\.$$self{'qdomain'}|$$self{'qdomain'})$/) { }
394 0 0 if ($$self{'debug'} > 0)
402 0 0 if ($$self{'debug'} > 0)
425 0 0 if (scalar @{$$self{'nsauth'}{$nsname}{'ip'};} > 0) { }
436 0 0 if (not $queryobj->error) { }
441 0 0 if ($$self{'debug'} > 0)
449 0 0 if ($$self{'debug'} > 0)
451 0 0 if ($$self{'nsauth'}{$nsname}{'host'})
479 0 0 unless (@{$$self{'nsquery'};})
499 0 0 if ($test->test_status) { }
509 0 0 if (grep {$_ eq $status;} @{$$self{'config'}->error_status;})
524 0 0 unless (defined $$self{'test_obj'} or defined $$self{'config'}{$status})
528 0 0 if ($status) { }
531 0 0 if ($$self{'test_obj'}{$test_name}{'status'} eq $status)
546 0 0 unless ($test_name)
558 0 0 unless ($test_name)
570 0 0 unless $test_name
572 0 0 unless ($test_name or $$self{'test_obj'}{$test_name})
591 0 0 unless (defined $$self{'test_summary'})
595 0 0 if ($status) { }
628 0 0 unless $nsname