Condition Coverage

blib/lib/Class/constr.pm
Criterion Covered Total %
condition 12 15 80.0


and 2 conditions

line l !l condition
19 16 3 $$constr{'init'} &&= [$$constr{'init'}]

and 3 conditions

line !l l&&!r l&&r condition
40 43 0 3 $$constr{'copy'} && ref $c

or 2 conditions

line l !l condition
16 8 9 $args[0] ||= {}
18 5 14 $$constr{'name'} || 'new'

or 3 conditions

line l !l&&r !l&&!r condition
27 4 42 0 ref $c || $c
31 2 0 1 ref $cdef eq 'HASH' && $cdef || ref $cdef eq 'CODE' && $s->$cdef(%props) || !ref($cdef) && $s->$cdef(%props)