Branch Coverage

blib/lib/DNS/Zone.pm
Criterion Covered Total %
branch 5 36 13.8


line true false branch
54 0 0 if $id
62 0 0 if $name
72 0 0 if $ref
94 0 0 if ($array[$i] == $record)
103 0 0 $found ? :
110 15 0 if (exists $$ref{'NAME'} and $$ref{'NAME'}) { }
0 0 elsif (exists $$ref{'ID'} and $$ref{'ID'}) { }
112 11 18 if $_->label eq $$ref{'NAME'}
117 0 0 if $_->id eq $$ref{'ID'}
127 0 16 if scalar @labels
129 16 0 if ref $$self{'LABELS'} eq 'ARRAY'
142 0 0 if ($a[$i] and $b[$i]) { }
0 0 elsif ($a[$i] and not $b[$i]) { }
0 0 elsif (not $a[$i] and $b[$i]) { }
143 0 0 if $a[$i] cmp $b[$i]
171 0 0 if $length > $labellength
178 0 0 if (exists $ttl_hash{$ttl}) { }
190 0 0 if $ttl_hash{$_} > $ttl_max