Branch Coverage

blib/lib/Path/Resource.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
128 54 39 if ($base = $_{'base'}) { }
130 0 54 unless $base->isa('Path::Resource::Base')
134 0 39 if ($dir and $file and $path) { }
0 39 elsif ($dir and $file) { }
39 0 elsif ($dir) { }
0 0 elsif ($file) { }
139 0 0 unless blessed $dir and $dir->isa('Path::Class::Dir')
140 0 0 unless blessed $file and $file->isa('Path::Class::File')
145 39 0 unless blessed $dir and $dir->isa('Path::Class::Dir')
158 39 54 unless blessed $path and $path->isa('Path::Abstract')
266 24 11 unless $self->_path->is_empty
318 2 0 unless $self->_path->is_empty
341 12 7 unless $self->_path->is_empty