Condition Coverage

blib/lib/CGI/Pure.pm
Criterion Covered Total %
condition 15 27 55.5


and 3 conditions

line !l l&&!r l&&r condition
83 0 9 0 defined $new_values[0] && ref $new_values[0]
260 16 5 0 $length and $type =~ m[^multipart/form-data]imsx
277 0 2 0 $self->{'post_max'} != $POST_MAX_NO_LIMIT and $length > $self->{'post_max'}
389 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
255 0 21 $ENV{'CONTENT_TYPE'} || 'No CONTENT_TYPE received'
256 5 16 $ENV{'CONTENT_LENGTH'} || 0
257 7 14 $ENV{'REQUEST_METHOD'} || 'No REQUEST_METHOD received'

or 3 conditions

line l !l&&r !l&&!r condition
237 9 36 2 $overwrite or not exists $self->{'.parameters'}{$param}
260 5 0 14 $method eq 'GET' or $method eq 'HEAD'
302 5 0 0 $ENV{'QUERY_STRING'} || $EMPTY_STR