Branch Coverage

blib/lib/File/System/Layered.pm
Criterion Covered Total %
branch 24 46 52.1


line true false branch
56 0 1 unless @_
89 0 1 unless @_
95 2 0 if (UNIVERSAL::isa($fs, 'File::System::Object')) { }
0 0 elsif (ref $fs eq 'ARRAY') { }
126 30 10 if $res
138 227 64 if defined $res
168 44 44 if (@_) { }
195 0 0 if $res
206 0 9 unless defined $path
209 0 9 unless defined $type
213 9 0 if ($layer->is_creatable($path, $type))
215 9 0 if (defined $obj) { }
234 18 0 unless defined $obj
236 0 0 if $res
290 1 17 if (not $$self{'here'}->exists($to->path)) { }
291 1 0 if ($$self{'here'}->is_creatable($to->path, 'd')) { }
0 0 elsif ($$self{'here'}->is_creatable($to->path, 'df')) { }
312 0 9 if (not $$self{'here'}->exists($to->path)) { }
313 0 0 if ($$self{'here'}->is_creatable($to->path, 'd')) { }
0 0 elsif ($$self{'here'}->is_creatable($to->path, 'df')) { }
366 6 4 if $res
422 25 10 if defined $child
425 25 1 if (defined $child) { }