Branch Coverage

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


line true false branch
156 1 17 unless my $source = _INSTANCE($args{'source'}, 'Algorithm::Dependency::Source')
166 5 12 if ($args{'ignore_orphans'})
171 12 5 unless _ARRAY($args{'selected'})
177 0 15 unless $source->item($id)
180 0 15 if $selected{$id}
274 0 279 unless my(@stack) = @_
281 2 7 $$self{'ignore_orphans'} ? :
9 763 unless my $Item = $$self{'source'}->item($id)
285 77 686 if $checked{$id}
293 396 290 unless (scalar grep({$id eq $_;} @_))
327 0 156 unless my(@items) = @_
330 2 154 unless my $depends = $self->depends(@items)