Condition Coverage

blib/lib/Stem/Class.pm
Criterion Covered Total %
condition 4 19 21.0


and 3 conditions

line !l l&&!r l&&r condition
105 0 0 0 $class_args and ref $class_args eq 'HASH'
0 0 0 $class_args and ref $class_args eq 'ARRAY'
139 52 0 0 my $callback = $$field{'callback'} and $field_val

or 2 conditions

line l !l condition
69 0 7 $args_in{'reg_name'} || ''
86 0 0 $field_val ||= []

or 3 conditions

line l !l&&r !l&&!r condition
83 0 0 0 $$field{'always_create'} or $class eq 'Stem::Cell'
226 7 3 0 ${$val_ref;} =~ s/^(?:|1|Y|Yes)$/1/i or ${$val_ref;} =~ s/^(?:|0|N|No)$/0/i