line |
true |
false |
branch |
8
|
4 |
29 |
if ($data) { }
|
9
|
0 |
4 |
if ($self->{'data'}) { }
|
12
|
1 |
3 |
unless ref $data
|
21
|
4 |
0 |
unless ref $default_view_model
|
30
|
1 |
2 |
if (defined $value)
|
38
|
0 |
0 |
if (defined $value)
|
50
|
8 |
0 |
if (ref \$proto[0] eq 'SCALAR') { }
|
56
|
5 |
3 |
if (scalar @proto and ref $proto[$#proto] eq 'HASH')
|
66
|
3 |
5 |
if (scalar @proto and &Scalar::Util::blessed($proto[$#proto]))
|
74
|
0 |
8 |
if (@proto)
|
79
|
0 |
0 |
$status ? :
|
|
0 |
8 |
if $self->{'ctx'}->debug
|
84
|
0 |
6 |
if @headers
|
85
|
6 |
0 |
unless $res->status != 200
|
86
|
6 |
0 |
unless $res->content_type
|
88
|
0 |
6 |
if (my $param = $self->{'callback_param'})
|
90
|
0 |
0 |
unless $cb =~ /^[a-zA-Z0-9\.\_\[\]]+$/
|
94
|
6 |
0 |
unless $res->has_body
|
95
|
0 |
6 |
if $self->{'auto_detach'}
|