Branch Coverage

blib/lib/Object/ArrayType/New.pm
Criterion Covered Total %
branch 33 58 56.9


line true false branch
11 1 4 unless defined $params
12 0 5 unless ref $params and reftype $params eq 'ARRAY' or reftype $params eq 'HASH'
23 0 15 unless defined $target and defined $code
26 0 15 if $ENV{'OBJECT_ARRAYTYPE_DEBUG'}
28 0 15 unless eval $run and not $@
0 1 unless ref $_[0] and &Scalar::Util::reftype($_[0]) eq 'HASH'
1 2 if (@_ == 1) { }
0 2 elsif (@_ % 2) { }
2 1 defined $args{'foo'} ? :
1 2 defined $args{'bar'} ? :
0 2 defined $args{'baz'} ? :
0 0 unless ref $_[0] and &Scalar::Util::reftype($_[0]) eq 'HASH'
0 1 if (@_ == 1) { }
0 1 elsif (@_ % 2) { }
0 0 unless ref $_[0] and &Scalar::Util::reftype($_[0]) eq 'HASH'
0 1 if (@_ == 1) { }
0 1 elsif (@_ % 2) { }
1 0 defined $args{'bar'} ? :
0 0 unless ref $_[0] and &Scalar::Util::reftype($_[0]) eq 'HASH'
0 1 if (@_ == 1) { }
0 1 elsif (@_ % 2) { }
1 0 defined $args{'bar'} ? :
1 0 defined $args{'foo'} ? :
34 0 10 ref $val ? :
51 1 4 reftype $params eq 'HASH' ? :
55 0 10 unless defined $initarg
56 5 5 $def ? :
57 0 10 unless $store
73 8 2 $attr ? :