Branch Coverage

blib/lib/File/PathList.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
105 0 12 ref $_[0] ? :
108 6 6 @_ == 1 ? :
113 5 7 unless _ARRAY($params{'paths'})
117 2 5 $params{'cache'} ? :
126 0 7 if (grep {_CODE($_[0]);} $self->paths)
181 6 15 unless defined $rel and not ref $rel and length $rel
182 0 15 unless 'File::Spec::Unix'->no_upwards($rel)
183 1 14 if 'File::Spec::Unix'->file_name_is_absolute($rel)
186 2 12 if ($$self{'cache'} and exists $$self{'cache'}{$rel})
195 1 11 if (@parts != 'File::Spec::Unix'->no_upwards(@parts))
202 11 7 unless -f $path
205 1 6 if ($$self{'cache'})