line |
true |
false |
branch |
42
|
88 |
0 |
unless defined $self->inject_form_input
|
63
|
32 |
56 |
$self->token_per_request ? :
|
68
|
16 |
72 |
ref $self->token_per_request eq 'CODE' ? :
|
82
|
2 |
11 |
if defined $self->header_name
|
92
|
7 |
6 |
unless (defined $val and length $val)
|
94
|
6 |
1 |
unless defined $self->header_name
|
106
|
0 |
6 |
unless defined $cookie_value
|
110
|
3 |
3 |
if $val ne $cookie_value
|
113
|
0 |
3 |
if $self->invalid_signature($val)
|
126
|
17 |
23 |
unless defined $self->logger
|
132
|
13 |
27 |
if ($request->method =~ $self->http_method_regex)
|
136
|
10 |
3 |
if defined $msg
|
158
|
4 |
21 |
if $token and not $self->token_per_request->($self, $request, $env)
|
164
|
0 |
21 |
if (defined $self->secret)
|
177
|
25 |
0 |
unless ($self->cookie_is_session_cookie)
|
229
|
4 |
171 |
if ($tag eq "head" and $self->meta_tag)
|
247
|
0 |
25 |
unless defined $tag and defined $attr->{'method'} and $tag eq "form" and $attr->{'method'} =~ $self->http_method_regex
|
249
|
0 |
0 |
unless (defined $attr and exists $attr->{'action'} and $attr->{'action'} =~ m[^https?://([^/:]+)[/:]] and defined $http_host and $1 ne $http_host)
|
287
|
0 |
50 |
if $done
|
289
|
25 |
25 |
if (defined(my $chunk = shift())) { }
|
307
|
5 |
25 |
unless $self->should_be_filtered($request, $env, $res)
|
313
|
0 |
25 |
unless $self->inject_form_input
|
324
|
3 |
0 |
unless defined $self->secret
|
328
|
0 |
0 |
if not defined $signature or $signature eq ""
|
341
|
10 |
0 |
$args->{'msg'} ? :
|
343
|
1 |
9 |
if (my $app_for_blocked = $self->blocked)
|