Branch Coverage

blib/lib/HTML/Mason/Resolver/File.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
33 1148 1130 unless -f $srcfile
35 1105 25 $comp_root_key eq 'MAIN' ? :
36 1105 25 if $comp_root_key eq 'MAIN'
61 1 6 unless -f $file
62 6 0 if (substr($file, 0, $root_length) eq $comp_root_path)
80 0 0 unless -f $file
89 0 0 if (paths_eq($root, substr($file, 0, length $root)))
91 0 0 length $path ? :
92 0 0 if $path ne '/' and substr($path, -1) eq '/'