Branch Coverage

lib/Provision/Unix/DNS/tinydns.pm
Criterion Covered Total %
branch 4 44 9.0


line true false branch
59 0 0 if ($self->get_zone('zone', $zone, 'fatal', 0))
125 0 0 unless ($self->get_zone('zone', $p{'zone'}))
129 0 0 $type eq 'AAAA' ? :
0 0 $type eq 'NAPTR' ? :
0 0 $type eq 'SRV' ? :
0 0 $type eq 'CNAME' ? :
0 0 $type eq 'TXT' ? :
0 0 $type eq 'PTR' ? :
0 0 $type eq 'NS' ? :
0 0 $type eq 'MX' ? :
0 0 $type eq 'A' ? :
249 0 0 if ($priority < 0 or $priority > 65535)
252 0 0 if ($weight < 0 or $weight > 65535)
255 0 0 if ($port < 0 or $port > 65535)
289 0 0 unless (defined $h)
314 1 2 if $record =~ /\.$/
317 1 1 unless $record =~ /$zone$/
333 0 0 unless chdir $data_dir
335 0 0 if system $tdata
363 0 0 if (scalar @lines > 0)
475 0 0 if ($char =~ m[[\r\n\t: \\/]]) { }
489 0 0 if ($number - 256 >= 0)