Branch Coverage

blib/lib/DNS/Zone/Label.pm
Criterion Covered Total %
branch 3 68 4.4


line true false branch
51 0 0 if $id
59 0 29 if $label
80 0 0 if ($array[$i] == $record)
88 0 0 $found ? :
95 0 0 if (exists $$ref{'ID'} and $$ref{'ID'}) { }
0 0 elsif (exists $$ref{'TYPE'} and $$ref{'TYPE'}) { }
96 0 0 if $_->id eq $$ref{'ID'}
99 0 0 if $_->type eq $$ref{'TYPE'}
108 0 8 if scalar @records
110 8 0 if ref $$self{'RECORDS'} eq 'ARRAY'
122 0 0 if $label eq $origin
126 0 0 $first ? :
130 0 0 if $record->type ne ''
153 0 0 unless $self
167 0 0 if $b->type eq ''
169 0 0 if $a->type eq ''
170 0 0 if $b->type eq 'IN SOA'
171 0 0 if $a->type eq 'IN SOA'
172 0 0 if $b->type eq 'IN A'
173 0 0 if $a->type eq 'IN A'
174 0 0 if $b->type eq 'IN NS'
175 0 0 if $a->type eq 'IN NS'
176 0 0 if $b->type eq 'IN MX'
177 0 0 if $a->type eq 'IN MX'
178 0 0 if $b->type eq 'IN CNAME'
179 0 0 if $a->type eq 'IN CNAME'
180 0 0 if $b->type eq 'IN TXT'
181 0 0 if $a->type eq 'IN TXT'
182 0 0 if $b->type eq 'IN PTR'
183 0 0 if $a->type eq 'IN PTR'
184 0 0 if $b->type eq 'IN HINFO'
185 0 0 if $a->type eq 'IN HINFO'
186 0 0 if $b->type eq 'IN WKS'
187 0 0 if $a->type eq 'IN WKS'