Branch Coverage

blib/lib/Data/OptList/Object.pm
Criterion Covered Total %
branch 34 36 94.4


line true false branch
42 1 1 unless ref +(shift())->[1]
51 2 1 defined $_[0][0] ? :
60 0 29 if ref $class
62 1 26 @_ == 1 && builtin::blessed($_[0]) && $_[0]->DOES(__PACKAGE__) && $_[0]->can('TO_LIST') ? :
1 27 @_ == 1 && 'HASH' eq ref $_[0] ? :
1 28 @_ == 1 && 'ARRAY' eq ref $_[0] ? :
109 4 12 defined $value ? :
128 2 3 unless (defined $$self->[1])
153 6 38 if (wantarray) { }
9 29 elsif (defined wantarray) { }
155 3 12 $is_code ? :
3 15 if ($is_re) { }
160 1 22 $is_code ? :
1 23 if ($is_re) { }
162 6 3 if $found
163 0 3 $is_code ? :
177 2 8 $is_code ? :
2 10 if ($is_re) { }