Condition Coverage

blib/lib/CGI/Easy/SendFile.pm
Criterion Covered Total %
condition 31 33 93.9


and 3 conditions

line !l l&&!r l&&r condition
36 1 2 1 $ifmod and $ifmod eq $lastmod
56 6 2 16 $start == 0 and $end == $len - 1
67 3 6 15 $allow_range and defined $r->{'ENV'}{'HTTP_RANGE'}
70 5 4 6 $from ne '' and $to ne ''
9 0 6 $from ne '' and $to ne '' and $from <= $to
4 1 5 $from ne '' and $to ne '' and $from <= $to and $to < $len
5 1 4 $from ne '' and $to eq ''
6 1 3 $from ne '' and $to eq '' and $from < $len
2 0 5 $from eq '' and $to ne ''
2 1 4 $from eq '' and $to ne '' and 0 < $to
1 1 3 $from eq '' and $to ne '' and 0 < $to and $to <= $len