Condition Coverage

lib/Class/Spiffy.pm
Criterion Covered Total %
condition 27 38 71.0


and 3 conditions

line !l l&&!r l&&r condition
21 6 0 1 $_[1] eq 'import' && (caller())->isa('autouse')
167 8 15 0 defined $default and $$args{-'weak'}
171 19 2 2 ref $default eq 'ARRAY' && !@$default
17 2 2 ref $default eq 'HASH' && !keys(%$default)
247 0 57 55 defined $elem and defined $booleans{$elem}
0 53 4 defined $elem and defined $pairs{$elem}
53 0 4 defined $elem and defined $pairs{$elem} and @_
248 47 8 0 @_ && $_[0] =~ /^[01]$/
419 0 3 2 @roles and $roles[0] =~ /^!/

or 2 conditions

line l !l condition
326 0 26 $INC{'mixin.pm'} ||= 'Class/Spiffy/mixin.pm'

or 3 conditions

line l !l&&r !l&&!r condition
34 0 19 0 ref $class || $class
79 1 55 0 $$args{-'package'} || caller $stack_frame
301 8 12 30 $seen || ($seen = $_ eq $caller_class)