Condition Coverage

lib/Spiffy.pm
Criterion Covered Total %
condition 38 50 76.0


and 3 conditions

line !l l&&!r l&&r condition
20 6 0 1 $_[1] eq 'import' && (caller())->isa('autouse')
81 53 4 12 $$args{-'selfless'} || $$args{-'Base'} and not $$filtered_files{(caller $stack_frame)[1]}++
210 8 14 0 defined $default and $$args{-'weak'}
214 18 2 2 ref $default eq 'ARRAY' && !@$default
16 2 2 ref $default eq 'HASH' && !keys(%$default)
291 0 64 62 defined $elem and defined $booleans{$elem}
0 60 4 defined $elem and defined $pairs{$elem}
60 0 4 defined $elem and defined $pairs{$elem} and @_
292 54 8 0 @_ && $_[0] =~ /^[01]$/
463 0 3 2 @roles and $roles[0] =~ /^!/

or 2 conditions

line l !l condition
370 0 30 $INC{'mixin.pm'} ||= 'Spiffy/mixin.pm'

or 3 conditions

line l !l&&r !l&&!r condition
33 0 21 0 ref $class || $class
81 0 16 53 $$args{-'selfless'} || $$args{-'Base'}
84 1 68 0 $$args{-'package'} || caller $stack_frame
85 16 41 12 $$args{-'Base'} or $$args{-'base'}
94 16 65 23 $$args{-'Base'} || $$args{-'base'}
345 7 12 28 $seen || ($seen = $_ eq $caller_class)