| line |
true |
false |
branch |
|
17
|
50 |
43 |
if (defined $headers) |
|
18
|
15 |
35 |
if (ref $headers eq 'ARRAY') { } |
|
|
0 |
35 |
elsif (ref $headers eq 'HASH') { } |
|
19
|
0 |
15 |
if @$headers % 2 != 0 |
|
26
|
93 |
0 |
defined $rc ? : |
|
|
15 |
78 |
defined $content ? : |
|
|
50 |
43 |
defined $headers ? : |
|
35
|
0 |
101 |
if (@_) { } |
|
37
|
0 |
0 |
if (ref $headers eq 'ARRAY') { } |
|
|
0 |
0 |
elsif (ref $headers eq 'HASH') { } |
|
38
|
0 |
0 |
if @$headers % 2 != 0 |
|
52
|
43 |
42 |
unless defined $body |
|
53
|
28 |
57 |
if (not ref $body or builtin::blessed($body) and overload::Method($body, '""') and not $body->can('getline')) { } |
|
54
|
5 |
23 |
if &Encode::is_utf8($body) |
|
63
|
0 |
85 |
if $DIRECT |
|
64
|
0 |
85 |
unless $self->status |
|
69
|
0 |
70 |
if $SECURITY_HEADER and $k eq "X-XSS-Protection" |
|
80
|
77 |
8 |
if $SECURITY_HEADER |