blib/lib/Catalyst/Request.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 42 | 47.6 |
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'} | |
1037 | 14 | 0 | 2 | $append and exists $params{$key} |
1083 | 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" |
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 || '' |
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" | |
0 | 0 | 0 | $self->method eq "POST" or $self->method eq "PUT" or $self->method eq "PATCH" or $self->method eq "DELETE" | |
154 | 12 | 100 | 0 | $maxlength ||= $CHUNKSIZE |