Branch Coverage

blib/lib/Path/Ancestor.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
20 2 31 if @_ == 1
37 40 114 if ($ref eq '/')
43 9 195 if ($$paths[$path_idx][$i] ne $ref)
55 20 30 if (exists $$_[$last_match + 1] and $$_[$last_match + 1] ne '/')
69 20 11 if ($last_match + 1 ne $maxlen and not $is_complete_path)
72 5 15 if ($last_slash_idx < 0) { }
4 11 elsif ($last_slash_idx == 0 and $$paths[0][0] eq '/') { }