blib/lib/Class/constr.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 15 | 80.0 |
line | l | !l | condition |
---|---|---|---|
20 | 16 | 3 | $constr->{'init'} &&= [$constr->{'init'}] |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
41 | 43 | 0 | 3 | $constr->{'copy'} && ref $c |
line | l | !l | condition |
---|---|---|---|
16 | 8 | 9 | $args[0] ||= {} |
18 | 5 | 14 | $constr->{'name'} || 'new' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
27 | 4 | 42 | 0 | ref $c || $c |
31 | 2 | 1 | 0 | ref $cdef eq 'HASH' && $cdef || ref $cdef eq 'CODE' && $s->$cdef(%props) || !ref($cdef) && $s->$cdef(%props) |