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)
69 0 0 unless ($realpath and $realpath =~ /^\Q$base\E/)
75 0 0 if (-f $realpath and $fh->open($realpath))
82 0 0 if ($if_modified_since)
85 0 0 if (defined $if_modified_since and $if_modified_since <= $now and $mtime <= $if_modified_since)
109 0 0 if (defined $content) { }
130 0 0 if ($mtime > $now)
144 0 0 if ($cgi->request_method ne 'HEAD')