Branch Coverage

blib/lib/Path/This.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
15 1 2 -e $file ? :
24 6 6 if ($item =~ /\A([&\$])?THISFILE\z/) { }
6 0 elsif ($item =~ /\A([&\$])?THISDIR\z/) { }
26 3 3 unless (defined $abs_file)
29 2 4 if (not $symbol) { }
2 2 elsif ($symbol eq '&') { }
2 0 elsif ($symbol eq '$') { }
45 6 0 unless (defined $abs_dir)
46 3 3 -e $file ? :
0 6 defined $abs_file ? :
50 2 4 if (not $symbol) { }
2 2 elsif ($symbol eq '&') { }
2 0 elsif ($symbol eq '$') { }