Branch Coverage

blib/lib/HTTP/Server/Simple/Static.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
33 0 0 if ($path =~ /$type->[0]/)
38 0 0 unless (defined $magic)
71 0 0 unless ($realpath and $realpath =~ /^\Q$realbase\E/)
77 0 0 if (-f $realpath and $fh->open($realpath))
84 0 0 if ($if_modified_since)
87 0 0 if (defined $if_modified_since and $if_modified_since <= $now and $mtime <= $if_modified_since)
111 0 0 if (defined $content) { }
132 0 0 if ($mtime > $now)
146 0 0 if ($cgi->request_method ne 'HEAD')