Branch Coverage

blib/lib/Path/Resource/Base.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
39 1 93 unless blessed $dir and $dir->isa('Path::Class::Dir')
43 40 54 unless blessed $uri and $uri->isa('URI')
48 86 8 unless length $uri_path
54 91 3 if (defined $_{'loc'}) { }
56 37 54 unless blessed $loc and $loc->isa('Path::Abstract')
57 35 56 if ($loc->is_branch)
95 77 1 unless @_
96 0 1 if blessed($_[0]) and $_[0]->isa('URI')
113 91 1 unless @_
114 0 1 if 1 == @_ and blessed($_[0]) and $_[0]->isa('Path::Abstract')
131 77 1 unless @_
132 0 1 if 1 == @_ and blessed($_[0]) and $_[0]->isa('Path::Class::Dir')