Branch Coverage

blib/lib/Pinto/Server/Responder/File.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
29 23 58 unless -f $file
30 1 57 if index($file, '/../') > 0
34 0 57 if $modified_since and $stat[9] <= $modified_since
41 57 0 if $self->should_not_cache($file)
43 57 0 unless $self->request->method eq 'HEAD'
62 20 37 if $basename eq '01mailrc.txt.gz'
63 17 20 if $basename eq '02packages.details.txt.gz'
64 20 0 if $basename eq '03modlist.data.gz'