Condition Coverage

blib/lib/Module/Compile.pm
Criterion Covered Total %
condition 31 44 70.4


and 3 conditions

line !l l&&!r l&&r condition
89 0 2 1 defined $file and not $file =~ /\.pm$/i
92 1 0 0 -s $pmc and -M $pmc <= -M $file
112 0 3 5 $class->isa('Module::Compile') and defined $flag
3 0 5 $class->isa('Module::Compile') and defined $flag and $flag eq '-base'
283 14 0 5 @blocks == 1 and @{$blocks[0][2];} == 0
304 12 19 13 $next and join($", @{$block->[2];}) eq join($", @{$next->[2];})
10 21 0 !$prev || @{$prev->[2];} < @{$block->[2];} and !$next || @{$next->[2];} < @{$block->[2];}
337 0 3 5 defined $return && !($return =~ /^\d+\z/)
365 10 5 0 $@ and not "$@" =~ /^Can't locate /
367 4 0 11 $klass->can('pmc_is_compiler_module') and $klass->pmc_is_compiler_module

or 2 conditions

line l !l condition
127 2 1 $class->VERSION || '0'
336 8 0 $context->{$klass} || {}

or 3 conditions

line l !l&&r !l&&!r condition
304 11 10 10 !$prev || @{$prev->[2];} < @{$block->[2];}
3 5 13 !$next || @{$next->[2];} < @{$block->[2];}

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
372 0 8 0 3 $use eq 'use' xor $klass->pmc_use_means_no