Branch Coverage

blib/lib/Limper/SendFile.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
23 0 0 if (defined wantarray) { }
30 0 0 unless defined $d
31 0 0 unless defined $d
32 0 0 length $y == 2 ? :
53 0 0 if ($file =~ qr"/\.\./")
57 0 0 if (-e $file and -r $file) { }
58 0 0 if (-f $file) { }
0 0 elsif (-d $file) { }
59 0 0 if (not exists response()->{'headers'}{'Content-Type'} and my($ext) = $file =~ /\.(\w+)$/)
60 0 0 if exists $mime_types{$ext}
69 0 0 unless $path =~ m[/$]