Condition Coverage

lib/CGI/Lite.pm
Criterion Covered Total %
condition 45 48 93.7


and 3 conditions

line !l l&&!r l&&r condition
670 2 0 2251 -d _ and -r _
2 0 2251 -d _ and -r _ and -w _
683 1 1 1 $mime_type and not exists $self->{'convert'}{$mime_type}
816 2265 1 1 $self->{'size_limit'} > -1 and $content_length > $self->{'size_limit'}
1123 9 3 6 $type eq 'cookies' and $self->{'unique_cookies'} > 0
1232 2253 20 5008 ref $handle and fileno $handle
1234 1245 2534 3502 $mime_type and $self->{'convert'}{$mime_type}
1298 1 1 2249 $handle and fileno $handle

or 2 conditions

line l !l condition
771 2242 1 $ENV{'CONTENT_LENGTH'} || (return 0)
811 2265 2 $user_request || $ENV{'REQUEST_METHOD'} || ''
812 2259 8 $ENV{'CONTENT_LENGTH'} || 0
881 44 1 $ENV{'HTTP_COOKIE'} || (return)
927 3 1 $string || (return)
1226 7281 0 $headers ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
738 2 1 3 $value == 0 or $value == 1
3 1 2 $value == 0 or $value == 1 or $value == 2
831 3 3 2253 not $content_type or $content_type =~ m[^application/x-www-form-urlencoded]
1343 6235 1022 1 $filtered_name || $file