Condition Coverage

blib/lib/Class/groups.pm
Criterion Covered Total %
condition 18 23 78.2


and 3 conditions

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

or 2 conditions

line l !l condition
64 9 4 $s->{$n} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
28 1 9 1 defined $group->{'no_strict'} or defined $group->{'props'}
62 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