| line |
true |
false |
branch |
|
36
|
5 |
0 |
if (my $client = $self->client) |
|
44
|
1 |
14 |
if defined $self->$attr |
|
46
|
1 |
13 |
unless defined $method |
|
50
|
0 |
56 |
unless defined $method |
|
56
|
2 |
0 |
if (my $logger = $env->{'psgix.logger'}) { } |
|
69
|
1 |
4 |
if (my $key = $self->secure_set_key) |
|
81
|
1 |
4 |
if (my $attr = &first(sub {
not is_coderef($self->$_);
}
, "histogram", "increment", "set_add")) |
|
85
|
1 |
3 |
if (my $catch = $self->catch_errors) |
|
87
|
1 |
0 |
unless (is_coderef($catch)) |
|
91
|
1 |
0 |
if (my $logger = $env->{'psgix.logger'}) { } |
|
112
|
5 |
2 |
if defined $secure |
|
117
|
1 |
6 |
if (my $catch = $self->catch_errors) { } |
|
132
|
0 |
7 |
unless $client |
|
136
|
0 |
7 |
if defined $rate and $rate >= 1 |
|
146
|
7 |
0 |
if (defined $env->{'CONTENT_LENGTH'}) |
|
153
|
7 |
0 |
if (my $method = $env->{'REQUEST_METHOD'}) |
|
154
|
1 |
6 |
unless $method =~ /^\w+$/a |
|
158
|
1 |
6 |
if (my $type = _mime_type_to_metric($env->{'CONTENT_TYPE'})) |
|
163
|
5 |
0 |
if defined $secure and $env->{'REMOTE_ADDR'} |
|
174
|
0 |
7 |
if ($h->exists($xsendfile)) |
|
178
|
7 |
0 |
if ($h->exists("Content-Length")) |
|
183
|
7 |
0 |
if (my $type = _mime_type_to_metric($h->get("Content-Type"))) |
|
189
|
0 |
7 |
$env->{'psgix.harakiri.supported'} ? : |
|
|
0 |
7 |
if ($env->{'psgix.harakiri.supported'} ? $env->{'psgix.harakiri'} : $env->{'psgix.harakiri.commit'}) |
|
198
|
0 |
7 |
if $client->can("flush") |
|
207
|
6 |
8 |
unless $type |
|
208
|
0 |
8 |
unless $type =~ m[^\w+/(?:\w+[\-\+])*\w+(?: *;\w+=\w+)?]a |