Condition Coverage

blib/lib/Catalyst/Request.pm
Criterion Covered Total %
condition 20 39 51.2


and 3 conditions

line !l l&&!r l&&r condition
340 37 0 11 scalar %part_data and not $c->config->{'skip_complex_post_part_handling'}
346 0 0 21 $c and $c->encoding
0 0 21 $c and $c->encoding and not $c->config->{'skip_body_param_unicode_decoding'}
371 1 0 36 $c and $c->encoding
1 0 36 $c and $c->encoding and not $c->config->{'skip_body_param_unicode_decoding'}
1035 14 0 2 $append and exists $params{$key}
1081 20 0 2 ref $behavior eq "HASH" and defined $behavior->{'mode'}
20 0 2 ref $behavior eq "HASH" and defined $behavior->{'mode'} and $behavior->{'mode'} eq "append"

or 2 conditions

line l !l condition
110 0 0 $self->env->{'psgix.io'} || $self->env->{'net.async.http.server.req'} && $self->env->{'net.async.http.server.req'}->stream || die('Your Server does not support psgix.io')
125 7 0 $self->content_type || (return)
343 21 0 ref $proto_value || ''

or 3 conditions

line l !l&&r !l&&!r condition
126 7 0 0 $self->method eq "POST" or $self->method eq "PUT"
7 0 0 $self->method eq "POST" or $self->method eq "PUT" or $self->method eq "PATCH"
154 12 100 0 $maxlength ||= $CHUNKSIZE