Condition Coverage

inc/Module/Build/Functions.pm
Criterion Covered Total %
condition 8 67 11.9


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 1 $0 ne 'Build.PL' and $0 ne 'Makefile.PL'
150 0 0 0 /^=cut\s*\z/ and $in_pod
575 0 0 0 -d 'script' and -f "script/$script"
766 0 0 0 defined $ARGV and $ARGV eq '-'
769 0 0 0 @ARGV > 0 && $ARGV[0] eq '-' && -t *STDIN
853 0 0 0 defined $type and $type eq 'module' || $type eq 'dist'
858 0 0 0 defined $dir and -d $dir
1048 0 0 0 defined $Module::Build::Functions::ARGS{'meta_merge'}{$key} and ref $value ne ref $Module::Build::Functions::ARGS{'meta_merge'}{$key}

or 2 conditions

line l !l condition
62 0 1 $config{'prefix'} ||= 'inc'
642 0 0 $ver || 0
739 0 0 reftype($fh) || ''
1002 0 0 shift() || 'directory'
1015 0 0 shift() || []

or 3 conditions

line l !l&&r !l&&!r condition
63 0 1 0 $config{'author'} ||= $^O eq 'VMS' ? '_author' : '.author'
64 0 1 0 $config{'base'} ||= Cwd::abs_path($FindBin::Bin)
70 0 1 0 $config{'name'} ||= $class
71 0 1 0 $config{'version'} ||= $class->VERSION
77 0 1 0 $config{'file'} ||= "$config{'base'}/$config{'prefix'}/$config{'path'}.pm"
79 0 0 1 -f $config{'file'} or $0 ne 'Build.PL' and $0 ne 'Makefile.PL'
655 0 0 0 -x $_cmd or $_cmd = 'MM'->maybe_command($_cmd)
661 0 0 0 -x $abs or $abs = 'MM'->maybe_command($abs)
748 0 0 0 tied *{$fh;} || defined fileno $fh
791 0 0 0 $^O eq 'MSWin32' || $^O eq 'cygwin'
853 0 0 0 $type eq 'module' || $type eq 'dist'