blib/lib/Class/groups.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 23 | 73.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
65 | 34 | 4 | 2 | my $def = $$group{'default'} and not keys %$hash |
88 | 1 | 2 | 2 | my $m = $s->can($p) and grep /^$p$/, @group_props |
111 | 0 | 1 | 6 | my $m = $s->can($p) and grep /^$p$/, @group_props |
line | l | !l | condition |
---|---|---|---|
63 | 9 | 4 | $$s{$n} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
28 | 1 | 0 | 10 | defined $$group{'no_strict'} or defined $$group{'props'} |
61 | 8 | 7 | 0 | ref $s || $s |
68 | 2 | 0 | 0 | ref $def eq 'HASH' && $def || (ref $def eq 'CODE' || !ref($def)) && $s->$def |
76 | 9 | 1 | 0 | ref $s || $s |