Branch Coverage

blib/lib/Boxer/World/Reclass.pm
Criterion Covered Total %
branch 28 46 60.8


line true false branch
72 1 0 if ($self->data)
87 1 0 if ($self->data)
123 480 920 if $path->is_dir
124 0 920 unless $path->basename =~ /\.yml$/u
134 0 15 if $path->is_dir
135 0 15 unless $path->basename =~ /\.yml$/u
146 10 5 $nodedata->{$_}{'classes'} ? :
149 0 1270 unless ($classdata->{$next})
154 450 820 if ($classdata->{$next}{'classes'} and not $params{'_seen'}{$next})
160 725 95 if $classdata->{$next}{'parameters'}
164 5 10 if $nodedata->{$_}{'parameters'}
182 1 10 unless (@{$self->parts;})
187 9 6 if ($_->id eq $id)
214 0 0 unless ($section_order{$a} // 1000) <=> ($section_order{$b} // 1000)
220 54 0 if ($node->{'pkg'} and $node->{'doc'}{$key}{'pkg'} or $nonfree and $node->{'pkg-nonfree'} and $node->{'doc'}{$key}{'pkg-nonfree'})
227 54 0 if ($node->{'pkg'})
232 0 0 if ($nonfree and $node->{'pkg-nonfree'})
238 2 8 if ($node->{'tweak'} and $node->{'doc'}{$key}{'tweak'})
247 6 0 defined $desc{'pkg'} ? :
251 1 5 defined $desc{'tweak'} ? :
273 0 6 if ($nonfree)
274 0 0 if $node->{'pkg-nonfree'}
276 0 0 if $node->{'pkg-nonfree-auto'}