Condition Coverage

blib/lib/Object/Enum.pm
Criterion Covered Total %
condition 12 16 75.0


and 3 conditions

line !l l&&!r l&&r condition
150 5 6 1 defined $arg->{'default'} and not grep({$_ eq $arg->{'default'};} @{$$arg{'values'};})
254 48 1 10 @_ and not $self->_readonly

or 2 conditions

line l !l condition
126 14 0 (shift())->value || ''
133 14 0 $arg ||= []

or 3 conditions

line l !l&&r !l&&!r condition
146 11 0 2 $arg->{'unset'} or defined $arg->{'default'}
197 7 11 0 ref $class || $class