Condition Coverage

blib/lib/PDL/IO/Sereal.pm
Criterion Covered Total %
condition 8 24 33.3


and 3 conditions

line !l l&&!r l&&r condition
80 0 0 2 ref $data eq 'HASH' and &looks_like_number($data->{'version'})
82 0 0 2 defined $data->{'type_name'} and not ref $data->{'type_name'}
83 0 0 2 defined $data->{'type_size'} and &looks_like_number($data->{'type_size'})
85 0 0 2 defined $data->{'native_one'} and not ref $data->{'native_one'}
86 0 0 2 defined $data->{'packed_data'} and not ref $data->{'packed_data'}
98 2 0 0 $do_swap and $type_sz > 1
107 2 0 0 $pdl->isa('HASH') and ref $data->{'hash_main'} eq 'HASH'

or 3 conditions

line l !l&&r !l&&!r condition
92 0 2 0 $native_one == 16777216 or $native_one == 1