Branch Coverage

blib/lib/XML/SAX/PurePerl/Reader/URI.pm
Criterion Covered Total %
branch 5 10 50.0


line true false branch
18 17 1 if (-e $uri and -f _) { }
1 0 elsif ($uri =~ /^file:(.*)$/ and -e $1 and -f _) { }
20 0 17 unless open $fh, $uri
26 0 1 unless open $fh, $file
46 0 0 if ($res->is_success) { }