Branch Coverage

blib/lib/Net/DNS/Domain.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
97 4 4726 unless defined $s
101 2639 2087 if defined $cache
103 4 2083 unless $limit--
110 11 2076 $s eq '@' ? :
113 2 3948 unless length $_
129 1 3947 if length $_ > 63
134 379 1705 if $s =~ /\.$/
158 1166 1624 if defined $self->{'name'}
159 193 1431 unless defined wantarray
162 26 1405 unless scalar @label
183 37 1318 $name =~ /[.]$/ ? :
266 13 133 defined $name ? :
309 676 4213 $origin ? :