Branch Coverage

blib/lib/PHP/Functions/File.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
22 0 0 unless (defined $filename)
26 0 0 defined $use_include_path ? :
27 0 0 defined $offset ? :
30 0 0 if ($filename =~ m[^([^:]+)://(.+)])
37 0 0 if ($protocol eq 'file')
38 0 0 if ($use_include_path)
44 0 0 if (-e $filepath)
54 0 0 if ($protocol eq 'default') { }
0 0 elsif ($protocol eq 'http' or $protocol eq 'https') { }
0 0 elsif ($protocol eq 'zlib') { }
73 0 0 if ($res->is_success) { }
86 0 0 unless my $gz = gzopen($filename, 'rb')
140 0 0 unless (defined $filename)
149 0 0 if ($filename =~ m[^([^:]+)://(.+)])
154 0 0 if ($protocol eq 'file')
155 0 0 if ($use_include_path)
161 0 0 if (-e $filepath)
171 0 0 if ($protocol eq 'default') { }
0 0 elsif ($protocol eq 'zlib') { }
179 0 0 unless my $gz = gzopen($filename, 'wb')