Branch Coverage

blib/lib/Class/constr.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
19 19 0 unless ref $$constr{'init'} eq 'ARRAY'
24 0 46 if defined $$constr{'pre_process'}
26 0 46 ref $_[0] eq 'HASH' ? :
30 6 40 if (my $cdef = $$constr{'default'})
34 0 6 unless ref $default_props eq 'HASH'
40 3 43 $$constr{'copy'} && ref $c ? :
46 16 25 if (my $a = $s->can($p)) { }
50 12 13 unless $$constr{'no_strict'}
52 0 13 if ($$constr{'skip_autoload'}) { }
57 13 0 if ($@)
62 4 30 if ($$constr{'init'})
67 0 4 unless $s