Branch Coverage

blib/lib/Boxer/World/Reclass.pm
Criterion Covered Total %
branch 25 44 56.8


line true false branch
71 1 0 if ($self->data)
86 1 0 if ($self->data)
102 480 920 if $path->is_dir
103 0 920 unless $path->basename =~ /\.yml$/u
113 0 10 if $path->is_dir
114 0 10 unless $path->basename =~ /\.yml$/u
125 0 1270 unless ($classdata->{$next})
130 450 820 if ($classdata->{$next}{'classes'} and not $params{'_seen'}{$next})
136 725 95 if $classdata->{$next}{'parameters'}
140 0 10 if $nodedata->{$_}{'parameters'}
158 1 9 unless (@{$self->parts;})
163 8 3 if ($_->id eq $id)
190 0 0 unless ($section_order{$a} // 1000) <=> ($section_order{$b} // 1000)
196 54 0 if ($node->{'pkg'} and $node->{'doc'}{$key}{'pkg'} or $nonfree and $node->{'pkg-nonfree'} and $node->{'doc'}{$key}{'pkg-nonfree'})
203 54 0 if ($node->{'pkg'})
208 0 0 if ($nonfree and $node->{'pkg-nonfree'})
214 2 8 if ($node->{'tweak'} and $node->{'doc'}{$key}{'tweak'})
223 6 0 defined $desc{'pkg'} ? :
227 1 5 defined $desc{'tweak'} ? :
249 0 6 if ($nonfree)
250 0 0 if $node->{'pkg-nonfree'}
252 0 0 if $node->{'pkg-nonfree-auto'}