Condition Coverage

blib/lib/Data/ParseBinary/Constructs.pm
Criterion Covered Total %
condition 32 83 38.5


and 3 conditions

line !l l&&!r l&&r condition
38 2 0 2 exists $$data{$name} and defined $$data{$name}
391 0 0 20 $keyfunc and ref $keyfunc
0 0 20 $keyfunc and ref $keyfunc and UNIVERSAL::isa($keyfunc, 'CODE')
393 0 0 20 $cases and ref $cases
0 0 20 $cases and ref $cases and UNIVERSAL::isa($cases, 'HASH')
399 17 2 1 $$self{'default'} and $$self{'default'} == $Data::ParseBinary::BaseConstruct::DefaultPass
465 0 0 285 defined $data and not ref $data
479 0 0 14 ref $coderef and UNIVERSAL::isa($coderef, 'CODE')
494 0 0 50 defined $data and not ref $data
583 0 0 12 $sub and $coderef
584 0 0 12 ref $sub and UNIVERSAL::isa($sub, 'Data::ParseBinary::BaseConstruct')
585 0 0 12 ref $coderef and UNIVERSAL::isa($coderef, 'CODE')
616 0 0 28 defined $data and ref $data
0 0 28 defined $data and ref $data and UNIVERSAL::isa($data, 'ARRAY')
631 0 0 40 $sub and $coderef
632 0 0 40 ref $sub and UNIVERSAL::isa($sub, 'Data::ParseBinary::BaseConstruct')
633 0 0 40 ref $coderef and UNIVERSAL::isa($coderef, 'CODE')
656 0 0 137 defined $data and ref $data
0 0 137 defined $data and ref $data and UNIVERSAL::isa($data, 'ARRAY')
673 0 0 3 ref $sub and UNIVERSAL::isa($sub, 'Data::ParseBinary::BaseConstruct')
720 0 0 3 defined $data and ref $data
0 0 3 defined $data and ref $data and UNIVERSAL::isa($data, 'ARRAY')
722 3 0 0 defined $$self{'max'} and @$data > $$self{'max'}
759 0 0 63 defined $data and ref $data
0 0 63 defined $data and ref $data and UNIVERSAL::isa($data, 'ARRAY')
813 0 0 551 defined $data and ref $data
0 0 551 defined $data and ref $data and UNIVERSAL::isa($data, 'HASH')

or 2 conditions

line l !l condition
236 1 1 $distance || 0