line |
true |
false |
branch |
17
|
31 |
4 |
if (defined $headers) |
18
|
12 |
19 |
if (ref $headers eq 'ARRAY') { } |
|
0 |
19 |
elsif (ref $headers eq 'HASH') { } |
19
|
0 |
12 |
if @$headers % 2 != 0 |
26
|
35 |
0 |
defined $rc ? : |
|
12 |
23 |
defined $content ? : |
|
31 |
4 |
defined $headers ? : |
35
|
0 |
33 |
if (@_) { } |
37
|
0 |
0 |
if (ref $headers eq 'ARRAY') { } |
|
0 |
0 |
elsif (ref $headers eq 'HASH') { } |
38
|
0 |
0 |
if @$headers % 2 != 0 |
52
|
4 |
26 |
unless defined $body |
53
|
15 |
15 |
if (not ref $body or &Scalar::Util::blessed($body) and overload::Method($body, '""') and not $body->can('getline')) { } |
54
|
5 |
10 |
if &Encode::is_utf8($body) |
63
|
0 |
30 |
if $DIRECT |
64
|
0 |
30 |
unless $self->status |
69
|
0 |
41 |
if $SECURITY_HEADER and $k eq "X-XSS-Protection" |
80
|
22 |
8 |
if $SECURITY_HEADER |