| line |
true |
false |
branch |
|
33
|
5 |
0 |
if (my $client = $self->client) |
|
41
|
1 |
14 |
if defined $self->$attr |
|
43
|
1 |
13 |
unless defined $method |
|
47
|
0 |
49 |
unless defined $method |
|
66
|
1 |
4 |
if (my $attr = &first(sub {
not XXX;
}
, "histogram", "increment", "set_add")) |
|
70
|
1 |
3 |
if (my $catch = $self->catch_errors) |
|
72
|
1 |
0 |
unless (XXX) |
|
77
|
1 |
0 |
if (my $logger = $env->{'psgix.logger'}) { } |
|
101
|
1 |
5 |
if (my $catch = $self->catch_errors) { } |
|
116
|
0 |
6 |
unless $client |
|
122
|
0 |
6 |
if defined $rate and $rate >= 1 |
|
132
|
6 |
0 |
if (defined $env->{'CONTENT_LENGTH'}) |
|
139
|
6 |
0 |
if (my $method = $env->{'REQUEST_METHOD'}) |
|
143
|
1 |
5 |
if (my $type = _mime_type_to_metric($env->{'CONTENT_TYPE'})) |
|
148
|
6 |
0 |
if $env->{'REMOTE_ADDR'} |
|
159
|
0 |
6 |
if ($h->exists($xsendfile)) |
|
163
|
6 |
0 |
if ($h->exists("Content-Length")) |
|
168
|
6 |
0 |
if (my $type = _mime_type_to_metric($h->get("Content-Type"))) |
|
174
|
0 |
6 |
$env->{'psgix.harakiri.supported'} ? : |
|
|
0 |
6 |
if ($env->{'psgix.harakiri.supported'} ? $env->{'psgix.harakiri'} : $env->{'psgix.harakiri.commit'}) |
|
183
|
0 |
6 |
if $client->can("flush") |
|
192
|
5 |
7 |
unless my $type = $_[0] |