Condition Coverage

blib/lib/CGI/Pure.pm
Criterion Covered Total %
condition 14 24 58.3


and 3 conditions

line !l l&&!r l&&r condition
268 21 5 0 $length and $type =~ m[^multipart/form-data]imsx
285 0 2 0 $self->{'post_max'} != $POST_MAX_NO_LIMIT and $length > $self->{'post_max'}
397 0 0 0 exists $ENV{'HTTP_USER_AGENT'} and $ENV{'HTTP_USER_AGENT'} =~ / MSIE\s+ 3\.0[12]; \s* Mac /imsx

or 2 conditions

line l !l condition
263 0 26 $ENV{'CONTENT_TYPE'} || 'No CONTENT_TYPE received'
264 5 21 $ENV{'CONTENT_LENGTH'} || 0
265 7 19 $ENV{'REQUEST_METHOD'} || 'No REQUEST_METHOD received'

or 3 conditions

line l !l&&r !l&&!r condition
245 9 39 3 $overwrite or not exists $self->{'.parameters'}{$param}
268 5 0 19 $method eq 'GET' or $method eq 'HEAD'
310 5 0 0 $ENV{'QUERY_STRING'} || $EMPTY_STR