Branch Coverage

blib/lib/Net/DNS/ToolKit/RR.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
48 0 28 if ($RRtype eq 'DESTROY') { }
55 12 16 if ($@)
61 2 10 if ($RRtype =~ /^TYPE(\d+)$/ and $generic = TypeTxt()->{$1} and $generic =~ /T_(.+)/) { }
88 4 6 if ($_ = TypeTxt()->{$type} and $_ =~ /T_(.+)/) { }
90 3 1 if ($function->can($action)) { }
98 2 4 if ($function->can($action)) { }
118 7 5 unless $function
133 1 9 if (exists $_[1]{'class'}) { }
144 0 10 if $name =~ /\.$/
147 0 10 unless (@dnptrs)
151 0 10 unless $off = put16($bp, $off, $type)
173 3 8 unless $function
408 2 11 $class && ClassTxt()->{$class} ? :