| line |
true |
false |
branch |
|
15
|
0 |
4 |
scalar @_ == 1 ? : |
|
20
|
0 |
2 |
$args{'file'} ? : |
|
|
2 |
2 |
if $args{'encode'} |
|
24
|
0 |
2 |
$args{'file'} ? : |
|
|
2 |
0 |
if $args{'decode'} |
|
28
|
0 |
10 |
scalar @_ == 1 ? : |
|
36
|
7 |
4 |
scalar @_ == 1 ? : |
|
38
|
1 |
10 |
if $self->{'parse_headers'} |
|
42
|
0 |
28 |
if ($@) { } |
|
43
|
0 |
0 |
if ($self->{'error_cb'}) { } |
|
49
|
0 |
28 |
if $self->{'success_cb'} |
|
50
|
6 |
22 |
$json =~ /\n$/ ? : |
|
70
|
1 |
8 |
if $self->{'parse_headers'} |
|
71
|
4 |
5 |
wantarray ? : |
|
84
|
0 |
2 |
if (defined $fh) { } |
|
104
|
1 |
2 |
if eof $fh |
|
106
|
0 |
1 |
wantarray ? : |
|
119
|
0 |
32 |
if ($@) |
|
120
|
0 |
0 |
if ($self->{'error_cb'}) { } |
|
126
|
0 |
32 |
if $self->{'success_cb'} |
|
133
|
1 |
0 |
unless (@headers) |
|
134
|
0 |
1 |
if (ref $data[0] eq 'ARRAY') { } |
|
147
|
0 |
2 |
ref $d eq 'ARRAY' ? : |
|
159
|
0 |
1 |
unless ref $data[0] eq 'ARRAY' |
|
168
|
0 |
2 |
ref $d eq 'HASH' ? : |