Condition Coverage

lib/ExtUtils/MM_Any.pm
Criterion Covered Total %
condition 144 302 47.6


and 3 conditions

line !l l&&!r l&&r condition
168 0 9 81 $dir and -d $dir
189 0 0 0 $self->os_flavor_is("Win32") and not $self->os_flavor_is("Win9x")
224 31 0 2 $type eq "gmake" and $minus_v =~ /GNU make/i
226 31 0 0 $type eq "bsdmake" and $minus_v =~ /^usage: make \[-BeikNnqrstWwX\]/im
268 429 0 0 $arg =~ / / and not $self->can_dep_space
1188 40 208 8 $metadata->{'version'} && !'CPAN::Meta::Validator'->new->version('version', $metadata->{'version'})
1227 256 0 0 $@ and not $@ =~ /encountered CODE.*, but JSON can only represent references to arrays or hashes/
1232 0 0 256 $meta and eval {
0 0 256 $meta and eval {
1240 254 0 2 $self->{'LICENSE'} and $self->{'LICENSE'} ne "unknown"
254 0 2 $self->{'LICENSE'} and $self->{'LICENSE'} ne "unknown" and @{$now_license;} == 1
0 0 2 $self->{'LICENSE'} and $self->{'LICENSE'} ne "unknown" and @{$now_license;} == 1 and $now_license->[0] eq "unknown"
1343 1 302 3 $v1_add and $key eq "prereqs"
1386 890 0 10 defined $meta->{'meta-spec'} and defined $meta->{'meta-spec'}{'version'}
1501 80 0 1 ref $val and not blessed($val)
1672 0 0 4 $meta->{'generated_by'} and $meta->{'generated_by'} =~ /ExtUtils::MakeMaker version ([\d\._]+)/
1884 154 1 0 $self->{'ABSTRACT_FROM'} and $self->{'ABSTRACT'}
1896 154 1 0 $self->{'ABSTRACT'} and $self->{'ABSTRACT'} =~ /[[:cntrl:]]+/
1959 153 2 0 $self->{'ARGS'}{'INSTALL_BASE'} and $self->{'ARGS'}{'PREFIX'}
2220 24 0 12 $thing =~ /^man.dir$/ && !$ExtUtils::MM_Any::Config{lc $key}
2445 154 0 0 $self->{'MAGICXS'} || $self->{'XSMULTI'} and @{[] unless $self->{'O_FILES'};}

or 2 conditions

line l !l condition
411 1 5 $append || 0
983 0 0 $attribs->{'DL_FUNCS'} || $self->{'DL_FUNCS'} || {}
0 0 $attribs->{'FUNCLIST'} || $self->{'FUNCLIST'} || []
0 0 $attribs->{'IMPORTS'} || $self->{'IMPORTS'} || {}
0 0 $attribs->{'DL_VARS'} || $self->{'DL_VARS'} || []
1140 1 131 $self->{'META_ADD'} || {}
1 131 $self->{'META_MERGE'} || {}
1301 294 6 $meta_add ||= {}
1302 293 7 $meta_merge ||= {}
1318 2 298 $self->{'ABSTRACT'} || 'unknown'
2 298 $self->{'LICENSE'} || 'unknown'
1488 17 14 $options->{'indent'} || ''
1491 0 31 $options->{'max_key_length'} || 20
1493 0 31 $options->{'customs'} || {}
1631 4 151 shift() || ''
1640 0 151 $self->{'META_ADD'} || {}
0 151 $self->{'META_MERGE'} || {}
1655 4 151 shift() || ''
2003 0 0 $self->{'INSTALLSITEBIN'} ||= "\$(INSTALLBIN)"
2005 0 0 $self->{'INSTALLSITESCRIPT'} ||= "\$(INSTALLSCRIPT)"
2020 0 0 $ExtUtils::MM_Any::Config{'installprefixexp'} || $ExtUtils::MM_Any::Config{'installprefix'} || $ExtUtils::MM_Any::Config{'prefixexp'} || $ExtUtils::MM_Any::Config{'prefix'} || ''
2022 153 0 $ExtUtils::MM_Any::Config{'siteprefixexp'} || ''
2028 2 151 $self->{'PREFIX'} ||= ""
2048 153 0 $ExtUtils::MM_Any::Config{'installstyle'} || 'lib/perl5'
2060 5 217 $$self{"INSTALLMAN" . $num . "DIR"} ||= "none"
2273 94 61 $self->{'VERSION_FROM'} ||= ""
2382 0 156 $self->{'UNINST'} ||= 0
2383 0 156 $self->{'VERBINST'} ||= 0
2389 0 156 $self->{'UMASK_NULL'} ||= "umask 0"
2392 0 156 $self->{'DEV_NULL'} ||= "> /dev/null 2>&1"
2394 0 156 $self->{'NOOP'} ||= "\$(TRUE)"
2397 0 155 $self->{'MAKEFILE'} || 'Makefile'
2403 0 156 $self->{'USEMAKEFILE'} ||= "-f"
2407 0 156 $self->{'MACROSTART'} ||= ""
2408 0 156 $self->{'MACROEND'} ||= ""
2459 0 154 $self->{'PERLMAINCC'} ||= "\$(CC)"
3081 0 0 $separator ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
189 137 0 0 $self->os_flavor_is("Unix") or $self->os_flavor_is("Win32") and not $self->os_flavor_is("Win9x")
222 33 0 0 $self->make || $self->{'MAKE'}
1132 0 28 132 $self->{'NO_META'} or not _has_cpan_meta()
1916 57 99 0 $self->{'INST_ARCHLIB'} ||= $self->catdir($Curdir, "blib", "arch")
1917 57 99 0 $self->{'INST_BIN'} ||= $self->catdir($Curdir, "blib", "bin")
1938 57 99 0 $self->{'INST_SCRIPT'} ||= $self->catdir($Curdir, "blib", "script")
1940 58 98 0 $self->{'INST_MAN1DIR'} ||= $self->catdir($Curdir, "blib", "man1")
1941 57 99 0 $self->{'INST_MAN3DIR'} ||= $self->catdir($Curdir, "blib", "man3")
1989 1 297 0 $$self{uc $k} ||= uc "\$(installman${num}dir)"
1997 1 6 297 $$self{uc $k} ||= $ExtUtils::MM_Any::Config{'usevendorprefix'} ? uc "\$(installman${num}dir)" : ""
2010 0 4 149 $self->{'INSTALLVENDORBIN'} ||= $ExtUtils::MM_Any::Config{'usevendorprefix'} ? $ExtUtils::MM_Any::Config{'installbin'} : ""
2015 0 4 149 $self->{'INSTALLVENDORSCRIPT'} ||= $ExtUtils::MM_Any::Config{'usevendorprefix'} ? $ExtUtils::MM_Any::Config{'installscript'} : ""
2035 0 151 0 $self->{'PERLPREFIX'} ||= $iprefix
2036 0 151 0 $self->{'SITEPREFIX'} ||= $sprefix
2037 0 4 147 $self->{'VENDORPREFIX'} ||= $vprefix
2151 0 0 0 $self->{$Installvar} ||= $self->catdir($self->{'LIB'}, $ExtUtils::MM_Any::Config{'archname'})
2154 0 0 0 $self->{$Installvar} ||= $self->{'LIB'}
2183 0 2 151 $self->{'VENDORARCHEXP'} ||= $self->{'INSTALLVENDORARCH'}
2184 0 2 151 $self->{'VENDORLIBEXP'} ||= $self->{'INSTALLVENDORLIB'}
2220 0 36 0 $install{$key} ||= $thing =~ /^man.dir$/ && !$ExtUtils::MM_Any::Config{lc $key} ? "none" : $self->catdir("\$(INSTALL_BASE)", @{$map{$thing};})
2225 0 2 0 $install{'INSTALLARCHLIB'} ||= delete $install{'INSTALLARCH'}
2226 0 2 0 $install{'INSTALLPRIVLIB'} ||= delete $install{'INSTALLLIB'}
2229 0 36 0 $self->{$key} ||= $install{$key}
2306 0 106 49 $self->{'XS_VERSION'} ||= $self->{'VERSION'}
2353 156 0 0 $self->{'ECHO'} ||= $self->oneliner("binmode STDOUT, qq{:raw}; print qq{\@ARGV}", ["-l"])
2354 156 0 0 $self->{'ECHO_N'} ||= $self->oneliner("print qq{\@ARGV}")
2356 156 0 0 $self->{'TOUCH'} ||= $self->oneliner("touch", ["-MExtUtils::Command"])
2357 156 0 0 $self->{'CHMOD'} ||= $self->oneliner("chmod", ["-MExtUtils::Command"])
2358 156 0 0 $self->{'RM_F'} ||= $self->oneliner("rm_f", ["-MExtUtils::Command"])
2359 156 0 0 $self->{'RM_RF'} ||= $self->oneliner("rm_rf", ["-MExtUtils::Command"])
2360 156 0 0 $self->{'TEST_F'} ||= $self->oneliner("test_f", ["-MExtUtils::Command"])
2361 156 0 0 $self->{'TEST_S'} ||= $self->oneliner("test_s", ["-MExtUtils::Command::MM"])
2362 0 156 0 $self->{'CP_NONEMPTY'} ||= $self->oneliner("cp_nonempty", ["-MExtUtils::Command::MM"])
2363 156 0 0 $self->{'FALSE'} ||= $self->oneliner("exit 1")
2364 156 0 0 $self->{'TRUE'} ||= $self->oneliner("exit 0")
2366 0 156 0 $self->{'MKPATH'} ||= $self->oneliner("mkpath", ["-MExtUtils::Command"])
2368 156 0 0 $self->{'CP'} ||= $self->oneliner("cp", ["-MExtUtils::Command"])
2369 156 0 0 $self->{'MV'} ||= $self->oneliner("mv", ["-MExtUtils::Command"])
2372 0 156 0 $self->{'MOD_INSTALL'} ||= $self->oneliner("install([ from_to => {\@ARGV}, verbose => '\$(VERBINST)', uninstall_shadows => '\$(UNINST)', dir_mode => '\$(PERM_DIR)' ]);\n", ["-MExtUtils::Install"])
2375 0 156 0 $self->{'DOC_INSTALL'} ||= $self->oneliner("perllocal_install", ["-MExtUtils::Command::MM"])
2376 0 156 0 $self->{'UNINSTALL'} ||= $self->oneliner("uninstall", ["-MExtUtils::Command::MM"])
2378 0 156 0 $self->{'WARN_IF_OLD_PACKLIST'} ||= $self->oneliner("warn_if_old_packlist", ["-MExtUtils::Command::MM"])
2379 0 156 0 $self->{'FIXIN'} ||= $self->oneliner("MY->fixin(shift)", ["-MExtUtils::MY"])
2380 0 156 0 $self->{'EQUALIZE_TIMESTAMP'} ||= $self->oneliner("eqtime", ["-MExtUtils::Command"])
2385 0 156 0 $self->{'SHELL'} ||= $ExtUtils::MM_Any::Config{'sh'}
2397 1 155 0 $self->{'FIRST_MAKEFILE'} ||= $self->{'MAKEFILE'} || 'Makefile'
2398 0 156 0 $self->{'MAKEFILE'} ||= $self->{'FIRST_MAKEFILE'}
2399 0 156 0 $self->{'MAKEFILE_OLD'} ||= $self->{'MAKEFILE'} . ".old"
2400 0 156 0 $self->{'MAKE_APERL_FILE'} ||= $self->{'MAKEFILE'} . ".aperl"
2437 0 0 155 $libs[0] or $libs[1]
0 0 155 $libs[0] or $libs[1] or $libs[2]
2445 0 0 154 $self->{'MAGICXS'} || $self->{'XSMULTI'}
2593 0 155 0 $ENV{'MAKE'} || $ExtUtils::MM_Any::Config{'make'}
0 155 0 $self->{'MAKE'} ||= $ENV{'MAKE'} || $ExtUtils::MM_Any::Config{'make'}
3048 0 0 0 $self->{'PERL_SRC'} || $ENV{'PERL_SRC'} || $self->catdir($ExtUtils::MM_Any::Config{'archlibexp'}, 'CORE')