| line |
true |
false |
branch |
|
36
|
5 |
0 |
if (my $client = $self->client) |
|
45
|
1 |
19 |
if defined $self->$attr |
|
47
|
1 |
18 |
unless defined $method or $attr eq "secure_set_add" |
|
51
|
2 |
56 |
unless defined $method |
|
57
|
2 |
0 |
if (my $logger = $env->{'psgix.logger'}) { } |
|
69
|
5 |
0 |
unless ($client->can("secure_set_add")) |
|
70
|
1 |
4 |
if (my $key = $self->secure_set_key) |
|
82
|
1 |
4 |
if (my $attr = &first(sub {
not is_coderef($self->$_);
}
, "histogram", "increment", "set_add")) |
|
86
|
1 |
3 |
if (my $catch = $self->catch_errors) |
|
88
|
1 |
0 |
unless (is_coderef($catch)) |
|
92
|
1 |
0 |
if (my $logger = $env->{'psgix.logger'}) { } |
|
113
|
7 |
0 |
if (defined $secure) |
|
122
|
1 |
6 |
if (my $catch = $self->catch_errors) { } |
|
137
|
0 |
7 |
unless $client |
|
141
|
0 |
7 |
if defined $rate and $rate >= 1 |
|
151
|
7 |
0 |
if (defined $env->{'CONTENT_LENGTH'}) |
|
158
|
7 |
0 |
if (my $method = $env->{'REQUEST_METHOD'}) |
|
159
|
1 |
6 |
unless $method =~ /^\w+$/a |
|
163
|
1 |
6 |
if (my $type = _mime_type_to_metric($env->{'CONTENT_TYPE'})) |
|
168
|
7 |
0 |
if defined $secure and $env->{'REMOTE_ADDR'} |
|
179
|
0 |
7 |
if ($h->exists($xsendfile)) |
|
183
|
7 |
0 |
if ($h->exists("Content-Length")) |
|
188
|
7 |
0 |
if (my $type = _mime_type_to_metric($h->get("Content-Type"))) |
|
194
|
0 |
7 |
$env->{'psgix.harakiri.supported'} ? : |
|
|
0 |
7 |
if ($env->{'psgix.harakiri.supported'} ? $env->{'psgix.harakiri'} : $env->{'psgix.harakiri.commit'}) |
|
203
|
0 |
7 |
if $client->can("flush") |
|
212
|
6 |
8 |
unless $type |
|
213
|
0 |
8 |
unless $type =~ m[^\w+/(?:\w+[\-\+])*\w+(?: *;\w+=\w+)?]a |