Condition Coverage

blib/lib/PAGI/Middleware/ConditionalGet.pm
Criterion Covered Total %
condition 9 26 34.6


and 3 conditions

line !l l&&!r l&&r condition
71 0 0 3 $response_status >= 200 and $response_status < 300
78 0 0 3 defined $if_none_match and defined $etag
0 0 0 defined $if_modified_since and defined $last_modified
186 0 0 0 defined $client_time and defined $server_time

or 2 conditions

line l !l condition
43 4 0 $scope->{'method'} // ""
123 6 0 $scope->{'headers'} // []
133 6 0 $headers // []
201 2 0 $headers // []

or 3 conditions

line l !l&&r !l&&!r condition
44 3 0 1 $method eq "GET" or $method eq "HEAD"
54 3 0 0 defined $if_none_match or defined $if_modified_since