Condition Coverage

lib/ExtUtils/MM_Unix.pm
Criterion Covered Total %
condition 184 436 42.2


and 3 conditions

line !l l&&!r l&&r condition
310 0 0 1 $ExtUtils::MM_Unix::Config{'usemymalloc'} and not $ExtUtils::MM_Unix::Config{'bincompat5005'}
0 0 1 $ExtUtils::MM_Unix::Config{'usemymalloc'} and not $ExtUtils::MM_Unix::Config{'bincompat5005'} and not $ExtUtils::MM_Unix::Config{'ccflags'} =~ /-DPERL_POLLUTE_MALLOC\b/
0 1 0 $ExtUtils::MM_Unix::Config{'usemymalloc'} and not $ExtUtils::MM_Unix::Config{'bincompat5005'} and not $ExtUtils::MM_Unix::Config{'ccflags'} =~ /-DPERL_POLLUTE_MALLOC\b/ and $self->{'PERL_MALLOC_OK'}
494 156 0 0 $Is{'ApplCor'} and $self->{'PERL_INC'} =~ m[^/System/Library/Perl/]
556 2 0 154 -e $self->catfile($self->{'PERL_INC'}, "config.h") and not $Is{'ApplCor'}
572 0 0 0 defined $key and defined $val
684 99 0 0 $attribs{'SUFFIX'} and not $attribs{'SUFFIX'} =~ /^\./
960 0 0 0 $self->{'XSMULTI'} and $d[0] eq "lib"
1058 0 0 0 $Is{'OSF'} and $armaybe eq ":"
1084 0 0 0 $^O eq "darwin" and $Is{'AppleRPath'}
1104 0 0 0 $Is{'NetBSD'} || $Is{'Interix'} || $Is{'Android'} and $ExtUtils::MM_Unix::Config{'useshrplib'} eq "true"
1304 24 0 0 $Is{'VMS'} and not basename($file) =~ /\./
1323 6 0 1 defined $ENV{'PERL_MM_SHEBANG'} and $ENV{'PERL_MM_SHEBANG'} eq "relocatable"
1344 3 0 0 $ExtUtils::MM_Unix::Verbose and $interpreter
1355 0 0 3 $origcmd ne $interpreter and $self->file_name_is_absolute($origcmd)
1357 2 0 1 $self->maybe_command($origcmd) and grep {$_ eq $origdir;} @absdirs
1360 0 0 1 $odev == $idev and $oino eq $iino
1469 158 0 0 defined $self->{'XS'} and not defined $self->{'C'}
1478 1269 0 0 $name =~ /$distprefix/ and -d $name
1485 351 0 0 $Is{'VMS'} || $Is{'Dos'} and $name =~ /[._]pl$/i
1642 21 0 0 $self->{'PERL_CORE'} and $name =~ /(config|setup).*\.pm/is
1717 192 0 124 -d $pmlibdir and not $dir{$pmlibdir}
1724 0 157 1 $self->{'PM'} and $self->{'ARGS'}{'PM'}
1756 123 0 0 $self->{'XSMULTI'} and $inst =~ /\.xs\z/
1843 1264 0 0 -f $self->catfile($dir, "config_h.SH") and -f $self->catfile($dir, "perl.h")
1264 0 0 -f $self->catfile($dir, "config_h.SH") and -f $self->catfile($dir, "perl.h") and -f $self->catfile($dir, "lib", "strict.pm")
1854 158 0 0 $self->{'PERL_CORE'} and not $self->{'PERL_SRC'}
1864 0 0 0 $Is{'VMS'} and -s $self->catfile($self->{'PERL_SRC'}, "vmsish.h")
1946 158 0 0 $self->{'CONFIG'} and ref $self->{'CONFIG'} ne "ARRAY"
2052 468 0 0 $self->{$Lib} and not $self->{$Arch}
2142 159 0 0 $Is{'VMS'} and defined $ExtUtils::MM_Unix::Config{'usevmsdebug'}
159 0 0 $Is{'VMS'} and defined $ExtUtils::MM_Unix::Config{'usevmsdebug'} and $ExtUtils::MM_Unix::Config{'usevmsdebug'} eq "define"
2183 0 0 0 $self->{'PERL_ARCHLIB'} && $self->{'PERL_LIB'} && $self->{'PERL_ARCHLIB'} ne $self->{'PERL_LIB'}
2279 0 0 0 defined $d[0] and $d[0] eq "lib"
2471 155 0 1 $self->{'EXE_FILES'} and ref $self->{'EXE_FILES'} eq "ARRAY"
2533 0 156 0 defined $linktype and $linktype eq ""
2648 0 0 0 $extra and ref $extra eq "ARRAY"
2676 0 0 0 $libperl and -f $lperl
2743 0 0 0 defined &Dos::UseLFN and Dos::UseLFN() == 0
2802 0 0 0 /_pure_\w+_\w+_\w+\.\w+$/ and -f "$File::Find::dir/.pure"
2914 1 1 354 defined $file and length $file
2915 247 0 107 -x $file and not -d $file
2980 0 5 0 $result and /^\s*$/ || /^\=/
2987 12 0 1 $pod_encoding and not "$]" < 5.008 || !$ExtUtils::MM_Unix::Config{'useperlio'}
3047 13 167 3 defined $result and not $result =~ /^v?[\d_\.]+$/
3136 0 0 1 -r $file and -f _
3365 2229 16 14 $self->{'ARGS'}{'PREFIX'} and not $path =~ s/^\Q$sprefix\E\b/$rprefix/s
3370 14 0 0 not $default and $ExtUtils::MM_Unix::Verbose >= 2
3665 0 0 0 $self->{'PERL_SRC'} and $self->{'EXTRALIBS'}
3695 0 0 0 exists $self->{'FULL_AR'} and -x $self->{'FULL_AR'}
3809 0 43 113 not $tests and -d "t"
43 113 0 not $tests and -d "t" and defined $attribs{'RECURSIVE_TEST_FILES'}
0 43 113 not $tests and -d "t"
3853 226 226 0 $linktype eq "static" and $self->needs_linking
3961 0 0 0 $Is{'VMS'} and $ExtUtils::MM_Unix::Config{'ldflags'}
0 0 0 $Is{'VMS'} and $ExtUtils::MM_Unix::Config{'ldflags'} and $ExtUtils::MM_Unix::Config{'ldflags'} =~ m[/Debug]i
0 0 0 exists $self->{'XSOPT'} && $self->{'XSOPT'} =~ /linenumbers/
0 0 0 $Is{'VMS'} and $ExtUtils::MM_Unix::Config{'ldflags'} and $ExtUtils::MM_Unix::Config{'ldflags'} =~ m[/Debug]i and not exists $self->{'XSOPT'} && $self->{'XSOPT'} =~ /linenumbers/
4032 156 0 0 @{[] unless $self->{'O_FILES'};} and @{[] unless $self->{'H'};}

or 2 conditions

line l !l condition
238 0 1 $cflags{'shellflags'} ||= ""
293 2 1 $cflags{$_} ||= ""
591 0 158 $self->{'DESTDIR'} ||= ""
649 0 158 $self->{'TAR'} ||= "tar"
650 0 158 $self->{'TARFLAGS'} ||= "cvf"
651 0 158 $self->{'ZIP'} ||= "zip"
652 0 158 $self->{'ZIPFLAGS'} ||= "-r"
653 0 158 $self->{'COMPRESS'} ||= "gzip --best"
654 0 158 $self->{'SUFFIX'} ||= ".gz"
655 0 158 $self->{'SHAR'} ||= "shar"
656 0 158 $self->{'PREOP'} ||= "\$(NOECHO) \$(NOOP)"
657 0 158 $self->{'POSTOP'} ||= "\$(NOECHO) \$(NOOP)"
658 0 158 $self->{'TO_UNIX'} ||= "\$(NOECHO) \$(NOOP)"
660 0 158 $self->{'CI'} ||= "ci -u"
661 0 158 $self->{'RCS_LABEL'} ||= "rcs -Nv\$(VERSION_SYM): -q"
662 0 158 $self->{'DIST_CP'} ||= "best"
663 0 158 $self->{'DIST_DEFAULT'} ||= "tardist"
1040 0 0 $attribs->{'OTHERLDFLAGS'} || ''
1041 0 0 $attribs->{'INST_DYNAMIC_DEP'} || ''
1057 0 0 $attribs->{'ARMAYBE'} || $self->{'ARMAYBE'} || ':'
1072 0 0 $dlsyms || ''
1515 0 158 $self->{'PL_FILES'} ||= \%pl_files
1516 1 157 $self->{'DIR'} ||= [sort(keys %dir)]
1517 0 158 $self->{'XS'} ||= \%xs
1518 0 158 $self->{'C'} ||= [sort(keys %c)]
1519 0 158 $self->{'H'} ||= [sort(keys %h)]
1520 1 157 $self->{'PM'} ||= \%pm
1543 4 231 $$self{"${man}PODS"} ||= {}
1823 154 4 $self->{'PARENT_NAME'} ||= ""
1939 17 141 $self->{'INSTALLDIRS'} ||= "site"
1959 0 158 $self->{'AR_STATIC_ARGS'} ||= "cr"
1962 156 2 $self->{'OBJ_EXT'} ||= ".o"
1963 156 2 $self->{'LIB_EXT'} ||= ".a"
1965 57 101 $self->{'MAP_TARGET'} ||= "perl"
1985 0 159 $self->{'ECHO'} ||= "echo"
1986 0 159 $self->{'ECHO_N'} ||= "echo -n"
1987 0 159 $self->{'RM_F'} ||= "rm -f"
1988 0 159 $self->{'RM_RF'} ||= "rm -rf"
1989 0 159 $self->{'TOUCH'} ||= "touch"
1990 0 159 $self->{'TEST_F'} ||= "test -f"
1991 0 159 $self->{'TEST_S'} ||= "test -s"
1992 0 159 $self->{'CP'} ||= "cp"
1993 0 159 $self->{'MV'} ||= "mv"
1994 0 159 $self->{'CHMOD'} ||= "chmod"
1995 0 159 $self->{'FALSE'} ||= "false"
1996 0 159 $self->{'TRUE'} ||= "true"
1998 156 3 $self->{'LD'} ||= "ld"
2004 0 0 $self->{'SHELL'} ||= "/bin/sh"
2018 0 159 $self->{'PERL_ARCHIVE'} ||= ""
2019 0 159 $self->{'PERL_ARCHIVEDEP'} ||= ""
2020 0 159 $self->{'PERL_ARCHIVE_AFTER'} ||= ""
2021 0 159 $self->{'EXPORT_LIST'} ||= ""
2657 0 0 $target ||= "perl"
2658 0 0 $tmp ||= "."
3231 1 155 $self->{'ABSTRACT'} || ''
3236 1 150 $self->{'AUTHOR'} || ''
3309 0 156 $self->{'BINARY_LOCATION'} || ''
3358 1328 929 $$self{uc $var} || $Config_Override{lc $var} || $ExtUtils::MM_Unix::Config{lc $var} || ''
3808 0 156 $attribs{'TESTS'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
28 0 0 53 $^O eq 'MSWin32' || $ExtUtils::MM_Unix::Config{'osname'} eq 'NetWare'
37 0 0 53 $Is{'SunOS4'} || $Is{'Solaris'}
38 0 0 53 $^O =~ /^(?:free|midnight|net|open)bsd$/ || grep(($^O eq $_), ('bsdos', 'interix', 'dragonfly'))
165 0 0 0 $Is{'OS2'} or $Is{'Win32'}
0 0 0 $Is{'OS2'} or $Is{'Win32'} or $Is{'Dos'}
217 1 0 0 $self->{'LIBPERL_A'} || "libperl$self->{'LIB_EXT'}"
0 1 0 $libperl ||= $self->{'LIBPERL_A'} || "libperl$self->{'LIB_EXT'}"
297 1 1 1 $$self{uc $_} ||= $cflags{$_}
596 0 2844 0 $self->{$destvar} ||= '$(DESTDIR)$(INSTALL' . $var . ')'
666 1 157 0 $self->{'DISTVNAME'} ||= $self->{'DISTNAME'} . '-' . $self->{'VERSION'}
694 0 1584 0 $attribs{$key} || $self->{$key}
1104 0 0 0 $Is{'NetBSD'} || $Is{'Interix'} || $Is{'Android'}
1437 1 1 160 $self->{'OBJECT'} or @{[] unless $self->{'C'};}
2 1 159 $self->{'OBJECT'} or @{[] unless $self->{'C'};} or $self->{'MYEXTLIB'}
1483 158 158 953 $name eq $Curdir or $name eq $Updir
316 297 656 $name eq $Curdir or $name eq $Updir or $ignore{$name}
1485 0 0 351 $Is{'VMS'} || $Is{'Dos'}
1540 4 231 81 $$self{"${man}PODS"} or $$self{"INSTALL${man}DIR"} =~ /^(none|\s*)$/
1642 0 0 21 $self->{'PERL_CORE'} and $name =~ /(config|setup).*\.pm/is or $name =~ /^README\.pod$/i
1857 0 0 0 $self->{'PERL_LIB'} ||= $self->catdir("$self->{'PERL_SRC'}", "lib")
1864 0 0 0 -s $self->catfile($self->{'PERL_SRC'}, "cflags") or $Is{'VMS'} and -s $self->catfile($self->{'PERL_SRC'}, "vmsish.h")
0 0 0 -s $self->catfile($self->{'PERL_SRC'}, "cflags") or $Is{'VMS'} and -s $self->catfile($self->{'PERL_SRC'}, "vmsish.h") or $Is{'Win32'}
1889 57 0 101 $self->{'PERL_LIB'} || $self->{'PERL_ARCHLIB'} || $self->{'PERL_INC'}
1890 0 156 2 $self->{'PERL_LIB'} ||= $ExtUtils::MM_Unix::Config{'privlibexp'}
1891 57 99 2 $self->{'PERL_ARCHLIB'} ||= $ExtUtils::MM_Unix::Config{'archlibexp'}
1895 156 0 2 -f ($perl_h = $self->catfile($self->{'PERL_INC'}, "perl.h")) or $old
1941 1 0 157 $self->{'MAN1EXT'} ||= $ExtUtils::MM_Unix::Config{'man1ext'}
1942 0 0 158 $self->{'MAN3EXT'} ||= $ExtUtils::MM_Unix::Config{'man3ext'}
1955 342 2784 508 $$self{uc $m} ||= $ExtUtils::MM_Unix::Config{$m}
1967 0 158 0 $self->{'LIBPERL_A'} ||= "libperl$self->{'LIB_EXT'}"
1973 156 0 2 -f $self->catfile("$self->{'PERL_LIB'}", "strict.pm") or $self->{'NAME'} eq "ExtUtils::MakeMaker"
2123 57 102 0 $self->{'PERL'} ||= $self->find_perl(5, \@perls, \@defpath, $ExtUtils::MM_Unix::Verbose)
2137 0 0 159 $has_mcr or $Is{'VMS'}
2183 0 0 159 $self->{'UNINSTALLED_PERL'} || $self->{'PERL_CORE'}
2677 0 0 0 $self->{'PERL_SRC'} || "$self->{'PERL_ARCHLIB'}/CORE"
2679 0 0 0 $libperl ||= "libperl$self->{'LIB_EXT'}"
2681 0 0 0 $lperl ||= "libperl$self->{'LIB_EXT'}"
2684 0 0 0 -f $libperl or -f $lperl
2693 0 0 0 -f $lperl or defined $self->{'PERL_SRC'}
2798 0 0 0 /^libperl/ or /^perl\Q$self->{'LIB_EXT'}\E$/
2934 0 0 156 $self->has_link_code or $self->{'MAKEAPERL'}
2980 3 0 2 /^\s*$/ || /^\=/
2987 0 0 1 "$]" < 5.008 || !$ExtUtils::MM_Unix::Config{'useperlio'}
3030 0 0 383 $inpod or /^\s*#/
3054 168 0 2 $result =~ /^v?[\d_\.]+$/ or eval { do { "version"->parse($result) } }
3847 226 0 86 $tests or -f "test.pl"
4051 0 0 0 $ENV{'SOURCE_DATE_EPOCH'} || time