Branch Coverage

blib/lib/Algorithm/Dependency.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
147 1 17 unless my $source = &_INSTANCE($args{'source'}, 'Algorithm::Dependency::Source')
157 5 12 if ($args{'ignore_orphans'})
162 12 5 unless &_ARRAY($args{'selected'})
168 0 15 unless $source->item($id)
171 0 15 if $selected{$id}
265 0 279 unless my(@stack) = @_
273 2 7 $self->{'ignore_orphans'} ? :
9 763 unless my $Item = $self->{'source'}->item($id)
276 77 686 if $checked{$id}
284 396 290 unless (scalar grep({$id eq $_;} @_))
318 0 156 unless my(@items) = @_
321 2 154 unless my $depends = $self->depends(@items)