Branch Coverage

blib/lib/Test/DNS.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
51 0 0 if (@_ >= 3 or @_ <= 4)
54 0 0 if (ref $hashref eq 'HASH' and not ref $test_name and ref \$test_name eq 'SCALAR')
74 0 0 unless $self->_handle_hash_format('A', $domain, $ips, $test_name)
82 0 0 unless $self->_handle_hash_format('PTR', $ip, $domains, $test_name)
90 0 0 unless $self->_handle_hash_format('NS', $domain, $ns, $test_name)
98 0 0 unless $self->_handle_hash_format('MX', $domain, $mx, $test_name)
106 0 0 unless $self->_handle_hash_format('CNAME', $domain, $cname, $test_name)
114 0 0 unless $self->_handle_hash_format('TXT', $domain, $txt, $test_name)
131 0 0 $method ? :
138 0 0 if ($rr->type eq 'CNAME') { }
0 0 elsif ($rr->type eq 'A') { }
143 0 0 if ($query)
167 0 0 unless ref $expected eq 'ARRAY'
170 0 0 unless ($query_res)
179 0 0 if ($rr->type ne $type) { }
180 0 0 if ($rr->type eq 'CNAME' and $self->follow_cname) { }
198 0 0 unless $self->warnings