| line |
true |
false |
branch |
|
17
|
0 |
4 |
if (ref $conf eq 'ARRAY') { }
|
|
|
3 |
1 |
elsif (ref $conf eq 'HASH') { }
|
|
21
|
0 |
3 |
unless defined $c->config->{'scrubber'}{'auto'}
|
|
42
|
111 |
36 |
if (ref $conf ne "HASH" or $conf->{'auto'})
|
|
43
|
87 |
24 |
ref $conf eq 'HASH' ? :
|
|
52
|
12 |
101 |
if $c->_req_path_exempt_from_scrubbing($conf)
|
|
58
|
83 |
18 |
if (exists $c->req->data_handlers->{$c->req->content_type})
|
|
59
|
83 |
0 |
if (my $body_data = $c->request->body_data)
|
|
66
|
9 |
92 |
if ($c->request->can("data"))
|
|
68
|
9 |
0 |
if ($data)
|
|
84
|
217 |
24 |
if (ref $data eq 'HASH') { }
|
|
|
24 |
0 |
elsif (ref $data eq 'ARRAY') { }
|
|
|
0 |
0 |
elsif (ref $data eq 'CODE') { }
|
|
86
|
60 |
208 |
unless ($c->_should_scrub_param($conf, $key, $data->{$key}))
|
|
92
|
48 |
160 |
if (my $ref = ref $data->{$key}) { }
|
|
94
|
48 |
0 |
if defined $data->{$key}
|
|
100
|
160 |
0 |
if defined $data->{$key}
|
|
105
|
0 |
48 |
if (ref $_) { }
|
|
108
|
48 |
0 |
if defined $_
|
|
118
|
0 |
0 |
if $c->_should_scrub_param($conf, "", $data)
|
|
128
|
0 |
208 |
unless defined $value
|
|
132
|
12 |
196 |
if ($conf->{'no_encode_entities'})
|
|
142
|
228 |
36 |
if ($conf and $conf->{'ignore_params'})
|
|
144
|
0 |
228 |
if (ref $ignore_params ne "ARRAY")
|
|
148
|
228 |
192 |
if (ref $ignore_param eq 'Regexp') { }
|
|
149
|
36 |
192 |
if $param =~ /$ignore_param/
|
|
151
|
12 |
180 |
if $param eq $ignore_param
|
|
160
|
108 |
108 |
if ($conf and $conf->{'ignore_values'})
|
|
162
|
0 |
108 |
if (ref $ignore_values ne "ARRAY")
|
|
166
|
12 |
96 |
if (defined $value and $value =~ /$ignore_value/)
|
|
180
|
35 |
78 |
unless exists $conf->{'ignore_paths'}
|
|
183
|
78 |
0 |
unless $req_path =~ m[^/]
|
|
185
|
72 |
78 |
if (ref $ignore eq 'Regexp') { }
|
|
186
|
6 |
66 |
if $req_path =~ /$ignore/
|
|
188
|
6 |
72 |
if $req_path eq $ignore
|