inc/Spiffy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 38 | 62 | 61.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
20 | 723 | 0 | 0 | $_[1] eq 'import' && (caller())->isa('autouse') |
81 | 45 | 0 | 43 | $$args{-'selfless'} || $$args{-'Base'} and not $$filtered_files{(caller $stack_frame)[1]}++ |
210 | 150 | 120 | 0 | defined $default and $$args{-'weak'} |
214 | 240 | 15 | 15 | ref $default eq 'ARRAY' && !@$default |
225 | 0 | 30 | ref $default eq 'HASH' && !keys(%$default) | |
291 | 0 | 493 | 45 | defined $elem and defined $booleans{$elem} |
0 | 420 | 60 | defined $elem and defined $pairs{$elem} | |
420 | 0 | 60 | defined $elem and defined $pairs{$elem} and @_ | |
292 | 43 | 0 | 0 | @_ && $_[0] =~ /^[01]$/ |
463 | 0 | 0 | 0 | @roles and $roles[0] =~ /^!/ |
line | l | !l | condition |
---|---|---|---|
370 | 0 | 15 | $INC{'mixin.pm'} ||= 'Spiffy/mixin.pm' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
33 | 0 | 414 | 0 | ref $class || $class |
81 | 0 | 43 | 45 | $$args{-'selfless'} || $$args{-'Base'} |
84 | 0 | 88 | 0 | $$args{-'package'} || caller $stack_frame |
85 | 43 | 0 | 45 | $$args{-'Base'} or $$args{-'base'} |
94 | 56 | 0 | 73 | $$args{-'Base'} || $$args{-'base'} |
235 | 4 | 16 | 13 | $#_ > 0 or defined $_[0]{'block_delim'} |
5 | 81 | 22 | $#_ > 0 or defined $_[0]{'data_delim'} | |
3 | 34 | 15 | $#_ > 0 or defined $_[0]{'block_list'} | |
3 | 6 | 8 | $#_ > 0 or defined $_[0]{'spec'} | |
345 | 0 | 0 | 0 | $seen || ($seen = $_ eq $caller_class) |