line |
true |
false |
branch |
25
|
0 |
173 |
if $class ne 'Data::CompactReadonly::V0::Node' |
41
|
65776 |
7 |
if (defined $args{'data'}) { } |
44
|
40 |
65736 |
ref $args{'data'} ? : |
59
|
31 |
131275 |
ref $args{'data'} ? : |
|
131306 |
6 |
defined $args{'data'} ? : |
104
|
8 |
0 |
$int <= 18446744073709551615 ? : |
|
10 |
8 |
$int <= 4294967295 ? : |
|
13 |
18 |
$int <= 16777215 ? : |
|
18 |
31 |
$int <= 65535 ? : |
|
65718 |
49 |
$int <= 255 ? : |
118
|
1 |
0 |
$bytes == 4 ? : |
|
4 |
1 |
$bytes == 3 ? : |
|
8 |
5 |
$bytes == 2 ? : |
|
65694 |
13 |
$bytes == 1 ? : |
129
|
0 |
65667 |
unless $class->_sub_type_for_collection_of_length(length 'Data::CompactReadonly::V0::Text'->_text_to_bytes($data)) |
143
|
0 |
21 |
unless $class->_sub_type_for_collection_of_length(1 + $#{$data;}) |
147
|
0 |
19 |
unless $class->_sub_type_for_collection_of_length(scalar keys %{$data;}) |
151
|
57 |
0 |
!ref($data) ? : |
|
15 |
57 |
is_number($data) ? : |
|
54 |
72 |
is_integer($data) ? : |
|
19 |
126 |
ref $data eq 'HASH' ? : |
|
21 |
145 |
ref $data eq 'ARRAY' ? : |
|
7 |
166 |
!defined($data) ? : |
152
|
5 |
49 |
$data < 0 ? : |
154
|
8 |
0 |
$bytes < 9 ? : |
|
8 |
8 |
$bytes == 4 ? : |
|
8 |
16 |
$bytes == 3 ? : |
|
8 |
24 |
$bytes == 2 ? : |
|
22 |
32 |
$bytes == 1 ? : |
207
|
8 |
786 |
if $scalar_type eq 'Reserved' |
209
|
7 |
779 |
if $type ne 'Scalar' and $scalar_type =~ /^(Null|Float|Negative|Huge)/ |
220
|
62 |
890 |
unless ($type_name->VERSION) |
222
|
0 |
62 |
if $@ |
235
|
0 |
3048 |
if (not defined $chars_read) { } |
|
1 |
3047 |
elsif ($chars_read != $bytes) { } |
256
|
1708 |
197042 |
if ($#_ == 0) { } |
264
|
4 |
197038 |
if $args{'pointer'} >= 256 ** $args{'ptr_size'} |