Branch Coverage

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


line true false branch
181 1 17 unless my $source = &_INSTANCE($args{'source'}, 'Algorithm::Dependency::Source')
191 5 12 if ($args{'ignore_orphans'})
196 12 5 unless &_ARRAY($args{'selected'})
202 0 15 unless $source->item($id)
205 0 15 if $selected{$id}
304 0 279 unless my(@stack) = @_
312 2 7 $self->{'ignore_orphans'} ? :
9 763 unless my $Item = $self->{'source'}->item($id)
315 77 686 if $checked{$id}
323 396 290 unless (scalar grep({$id eq $_;} @_))
360 0 156 unless my(@items) = @_
363 2 154 unless my $depends = $self->depends(@items)