line |
true |
false |
branch |
45
|
10 |
16 |
if (defined $opt{'bins'}) { } |
47
|
0 |
10 |
if keys %opt > 1 |
48
|
0 |
10 |
unless ref $bins and ref $bins eq 'ARRAY' and @$bins > 1 |
56
|
0 |
48 |
unless defined $opt{$_} |
71
|
0 |
1 |
if $constname eq 'constant' |
73
|
0 |
1 |
if ($error) |
99
|
7 |
4 |
if ($type eq 'simple') { } |
|
2 |
2 |
elsif ($type eq 'json' or $type eq 'yaml') { } |
|
2 |
0 |
elsif ($type eq 'native_pack') { } |
100
|
3 |
4 |
defined $bins_ary ? : |
116
|
1 |
1 |
if defined $bins_ary |
118
|
2 |
0 |
if ($type eq 'json') { } |
119
|
0 |
2 |
unless (defined $JSON) |
132
|
1 |
1 |
$bins_ary ? : |
134
|
1 |
1 |
unless $bins_ary |
135
|
1 |
1 |
unless $bins_ary |
157
|
0 |
11 |
if (not $version) { } |
|
0 |
11 |
elsif ($VERSION - $version < -1) { } |
171
|
0 |
11 |
unless defined $dump |
175
|
7 |
4 |
if ($type eq 'simple') { } |
|
2 |
2 |
elsif ($type eq 'json') { } |
|
0 |
2 |
elsif ($type eq 'yaml') { } |
|
2 |
0 |
elsif ($type eq 'native_pack') { } |
180
|
0 |
7 |
if ($version <= 1) { } |
|
0 |
7 |
elsif (@rest != $nexpected - 1) { } |
192
|
3 |
4 |
if ($version >= 1 and $rest[7] ne '') |
197
|
0 |
2 |
unless (defined $JSON) |
204
|
0 |
2 |
unless ref $hashref eq 'HASH' |
209
|
0 |
0 |
if (@docs != 1 or not ref $docs[0] eq 'HASH') |
225
|
2 |
0 |
if ($prepended_length) |
230
|
2 |
0 |
$prepended_length ? : |
|
2 |
0 |
$flags_support ? : |
238
|
2 |
0 |
$prepended_length ? : |
|
2 |
0 |
$flags_support ? : |
246
|
2 |
0 |
if ($flags_support) |
248
|
1 |
1 |
if (vec $flags, 0, 1) |
260
|
5 |
6 |
if (defined $$hashref{'bins'}) { } |
300
|
0 |
0 |
unless defined $name |
301
|
0 |
0 |
unless defined $title |