Condition Coverage

lib/ExtUtils/MM_Unix.pm
Criterion Covered Total %
condition 174 433 40.1


and 3 conditions

line !l l&&!r l&&r condition
41 52 0 0 $^O eq "darwin" and $^X eq "/usr/bin/perl"
306 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'}
490 153 0 0 $Is{'ApplCor'} and $self->{'PERL_INC'} =~ m[^/System/Library/Perl/]
500 0 0 153 -e $self->catfile($self->{'PERL_INC'}, "config.h") and not $Is{'ApplCor'}
542 0 0 0 defined $key and defined $val
654 96 0 0 $attribs{'SUFFIX'} and not $attribs{'SUFFIX'} =~ /^\./
930 0 0 0 $self->{'XSMULTI'} and $d[0] eq "lib"
1028 0 0 0 $Is{'OSF'} and $armaybe eq ":"
1073 0 0 0 $Is{'NetBSD'} || $Is{'Interix'} || $Is{'Android'} and $ExtUtils::MM_Unix::Config{'useshrplib'} eq "true"
1273 20 0 0 $Is{'VMS'} and not basename($file) =~ /\./
1292 6 0 0 defined $ENV{'PERL_MM_SHEBANG'} and $ENV{'PERL_MM_SHEBANG'} eq "relocatable"
1312 3 0 0 $ExtUtils::MM_Unix::Verbose and $interpreter
1323 0 0 3 $origcmd ne $interpreter and $self->file_name_is_absolute($origcmd)
1325 2 0 1 $self->maybe_command($origcmd) and grep {$_ eq $origdir;} @absdirs
1328 0 0 1 $odev == $idev and $oino eq $iino
1437 155 0 0 defined $self->{'XS'} and not defined $self->{'C'}
1446 1251 0 0 $name =~ /$distprefix/ and -d $name
1450 343 0 0 $Is{'VMS'} || $Is{'Dos'} and $name =~ /[._]pl$/i
1607 21 0 0 $self->{'PERL_CORE'} and $name =~ /(config|setup).*\.pm/is
1682 187 0 123 -d $pmlibdir and not $dir{$pmlibdir}
1689 0 154 1 $self->{'PM'} and $self->{'ARGS'}{'PM'}
1720 122 0 0 $self->{'XSMULTI'} and $inst =~ /\.xs\z/
1807 1240 0 0 -f $self->catfile($dir, "config_h.SH") and -f $self->catfile($dir, "perl.h")
1240 0 0 -f $self->catfile($dir, "config_h.SH") and -f $self->catfile($dir, "perl.h") and -f $self->catfile($dir, "lib", "strict.pm")
1818 155 0 0 $self->{'PERL_CORE'} and not $self->{'PERL_SRC'}
1828 0 0 0 $Is{'VMS'} and -s $self->catfile($self->{'PERL_SRC'}, "vmsish.h")
1910 155 0 0 $self->{'CONFIG'} and ref $self->{'CONFIG'} ne "ARRAY"
2023 459 0 0 $self->{$Lib} and not $self->{$Arch}
2113 156 0 0 $Is{'VMS'} and defined $ExtUtils::MM_Unix::Config{'usevmsdebug'}
156 0 0 $Is{'VMS'} and defined $ExtUtils::MM_Unix::Config{'usevmsdebug'} and $ExtUtils::MM_Unix::Config{'usevmsdebug'} eq "define"
2164 0 0 0 $self->{'PERL_ARCHLIB'} && $self->{'PERL_LIB'} && $self->{'PERL_ARCHLIB'} ne $self->{'PERL_LIB'}
2260 0 0 0 defined $d[0] and $d[0] eq "lib"
2452 152 0 1 $self->{'EXE_FILES'} and ref $self->{'EXE_FILES'} eq "ARRAY"
2514 0 153 0 defined $linktype and $linktype eq ""
2629 0 0 0 $extra and ref $extra eq "ARRAY"
2657 0 0 0 $libperl and -f $lperl
2724 0 0 0 defined &Dos::UseLFN and Dos::UseLFN() == 0
2783 0 0 0 /_pure_\w+_\w+_\w+\.\w+$/ and -f "$File::Find::dir/.pure"
2894 93 0 104 -x $file and not -d $file
2959 0 5 0 $result and /^\s*$/ || /^\=/
2966 12 0 1 $pod_encoding and not "$]" < 5.008 || !$ExtUtils::MM_Unix::Config{'useperlio'}
3026 13 139 3 defined $result and not $result =~ /^v?[\d_\.]+$/
3115 0 0 1 -r $file and -f _
3338 2191 16 14 $self->{'ARGS'}{'PREFIX'} and not $path =~ s/^\Q$sprefix\E\b/$rprefix/s
3343 14 0 0 not $default and $ExtUtils::MM_Unix::Verbose >= 2
3636 0 0 0 $self->{'PERL_SRC'} and $self->{'EXTRALIBS'}
3666 0 0 0 exists $self->{'FULL_AR'} and -x $self->{'FULL_AR'}
3780 0 40 113 not $tests and -d "t"
40 113 0 not $tests and -d "t" and defined $attribs{'RECURSIVE_TEST_FILES'}
0 40 113 not $tests and -d "t"
3824 226 226 0 $linktype eq "static" and $self->needs_linking
3932 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/
4000 153 0 0 @{[] unless $self->{'O_FILES'};} and @{[] unless $self->{'H'};}

or 2 conditions

line l !l condition
234 0 1 $cflags{'shellflags'} ||= ""
289 2 1 $cflags{$_} ||= ""
561 0 155 $self->{'DESTDIR'} ||= ""
619 0 155 $self->{'TAR'} ||= "tar"
620 0 155 $self->{'TARFLAGS'} ||= "cvf"
621 0 155 $self->{'ZIP'} ||= "zip"
622 0 155 $self->{'ZIPFLAGS'} ||= "-r"
623 0 155 $self->{'COMPRESS'} ||= "gzip --best"
624 0 155 $self->{'SUFFIX'} ||= ".gz"
625 0 155 $self->{'SHAR'} ||= "shar"
626 0 155 $self->{'PREOP'} ||= "\$(NOECHO) \$(NOOP)"
627 0 155 $self->{'POSTOP'} ||= "\$(NOECHO) \$(NOOP)"
628 0 155 $self->{'TO_UNIX'} ||= "\$(NOECHO) \$(NOOP)"
630 0 155 $self->{'CI'} ||= "ci -u"
631 0 155 $self->{'RCS_LABEL'} ||= "rcs -Nv\$(VERSION_SYM): -q"
632 0 155 $self->{'DIST_CP'} ||= "best"
633 0 155 $self->{'DIST_DEFAULT'} ||= "tardist"
1010 0 0 $attribs->{'OTHERLDFLAGS'} || ''
1011 0 0 $attribs->{'INST_DYNAMIC_DEP'} || ''
1027 0 0 $attribs->{'ARMAYBE'} || $self->{'ARMAYBE'} || ':'
1042 0 0 $dlsyms || ''
1480 0 155 $self->{'PL_FILES'} ||= \%pl_files
1481 1 154 $self->{'DIR'} ||= [sort(keys %dir)]
1482 0 155 $self->{'XS'} ||= \%xs
1483 0 155 $self->{'C'} ||= [sort(keys %c)]
1484 0 155 $self->{'H'} ||= [sort(keys %h)]
1485 1 154 $self->{'PM'} ||= \%pm
1508 4 225 $$self{"${man}PODS"} ||= {}
1787 151 4 $self->{'PARENT_NAME'} ||= ""
1903 17 138 $self->{'INSTALLDIRS'} ||= "site"
1930 0 155 $self->{'AR_STATIC_ARGS'} ||= "cr"
1933 155 0 $self->{'OBJ_EXT'} ||= ".o"
1934 155 0 $self->{'LIB_EXT'} ||= ".a"
1936 57 98 $self->{'MAP_TARGET'} ||= "perl"
1956 0 156 $self->{'ECHO'} ||= "echo"
1957 0 156 $self->{'ECHO_N'} ||= "echo -n"
1958 0 156 $self->{'RM_F'} ||= "rm -f"
1959 0 156 $self->{'RM_RF'} ||= "rm -rf"
1960 0 156 $self->{'TOUCH'} ||= "touch"
1961 0 156 $self->{'TEST_F'} ||= "test -f"
1962 0 156 $self->{'TEST_S'} ||= "test -s"
1963 0 156 $self->{'CP'} ||= "cp"
1964 0 156 $self->{'MV'} ||= "mv"
1965 0 156 $self->{'CHMOD'} ||= "chmod"
1966 0 156 $self->{'FALSE'} ||= "false"
1967 0 156 $self->{'TRUE'} ||= "true"
1969 155 1 $self->{'LD'} ||= "ld"
1975 0 0 $self->{'SHELL'} ||= "/bin/sh"
1989 0 156 $self->{'PERL_ARCHIVE'} ||= ""
1990 0 156 $self->{'PERL_ARCHIVEDEP'} ||= ""
1991 0 156 $self->{'PERL_ARCHIVE_AFTER'} ||= ""
1992 0 156 $self->{'EXPORT_LIST'} ||= ""
2638 0 0 $target ||= "perl"
2639 0 0 $tmp ||= "."
3204 1 152 $self->{'ABSTRACT'} || ''
3209 1 147 $self->{'AUTHOR'} || ''
3282 0 153 $self->{'BINARY_LOCATION'} || ''
3331 1318 901 $$self{uc $var} || $Config_Override{lc $var} || $ExtUtils::MM_Unix::Config{lc $var} || ''
3779 0 153 $attribs{'TESTS'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
27 0 0 52 $^O eq 'MSWin32' || $ExtUtils::MM_Unix::Config{'osname'} eq 'NetWare'
36 0 0 52 $Is{'SunOS4'} || $Is{'Solaris'}
37 0 0 52 $^O =~ /^(?:free|net|open)bsd$/ || grep(($^O eq $_), ('bsdos', 'interix', 'dragonfly'))
161 0 0 0 $Is{'OS2'} or $Is{'Win32'}
0 0 0 $Is{'OS2'} or $Is{'Win32'} or $Is{'Dos'}
213 1 0 0 $self->{'LIBPERL_A'} || "libperl$self->{'LIB_EXT'}"
0 1 0 $libperl ||= $self->{'LIBPERL_A'} || "libperl$self->{'LIB_EXT'}"
293 1 1 1 $$self{uc $_} ||= $cflags{$_}
566 0 2790 0 $self->{$destvar} ||= "\$(DESTDIR)\$(INSTALL" . $var . ")"
636 1 154 0 $self->{'DISTVNAME'} ||= $self->{'DISTNAME'} . "-" . $self->{'VERSION'}
664 0 1536 0 $attribs{$key} || $self->{$key}
1073 0 0 0 $Is{'NetBSD'} || $Is{'Interix'} || $Is{'Android'}
1405 1 1 157 $self->{'OBJECT'} or @{[] unless $self->{'C'};}
2 1 156 $self->{'OBJECT'} or @{[] unless $self->{'C'};} or $self->{'MYEXTLIB'}
1448 155 155 941 $name eq $Curdir or $name eq $Updir
310 296 645 $name eq $Curdir or $name eq $Updir or $ignore{$name}
1450 0 0 343 $Is{'VMS'} || $Is{'Dos'}
1505 4 225 81 $$self{"${man}PODS"} or $$self{"INSTALL${man}DIR"} =~ /^(none|\s*)$/
1607 0 0 21 $self->{'PERL_CORE'} and $name =~ /(config|setup).*\.pm/is or $name =~ /^README\.pod$/i
1821 0 0 0 $self->{'PERL_LIB'} ||= $self->catdir("$self->{'PERL_SRC'}", "lib")
1828 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'}
1853 57 0 98 $self->{'PERL_LIB'} || $self->{'PERL_ARCHLIB'} || $self->{'PERL_INC'}
1854 0 155 0 $self->{'PERL_LIB'} ||= $ExtUtils::MM_Unix::Config{'privlibexp'}
1855 57 98 0 $self->{'PERL_ARCHLIB'} ||= $ExtUtils::MM_Unix::Config{'archlibexp'}
1859 155 0 0 -f ($perl_h = $self->catfile($self->{'PERL_INC'}, "perl.h")) or $old
1905 1 0 154 $self->{'MAN1EXT'} ||= $ExtUtils::MM_Unix::Config{'man1ext'}
1906 0 0 155 $self->{'MAN3EXT'} ||= $ExtUtils::MM_Unix::Config{'man3ext'}
1919 342 2758 465 $$self{uc $m} ||= $ExtUtils::MM_Unix::Config{$m}
1938 0 155 0 $self->{'LIBPERL_A'} ||= "libperl$self->{'LIB_EXT'}"
1944 155 0 0 -f $self->catfile("$self->{'PERL_LIB'}", "strict.pm") or $self->{'NAME'} eq "ExtUtils::MakeMaker"
2094 57 99 0 $self->{'PERL'} ||= $self->find_perl(5, \@perls, \@defpath, $ExtUtils::MM_Unix::Verbose)
2108 0 0 156 $has_mcr or $Is{'VMS'}
2164 0 0 156 $self->{'UNINSTALLED_PERL'} || $self->{'PERL_CORE'}
2658 0 0 0 $self->{'PERL_SRC'} || "$self->{'PERL_ARCHLIB'}/CORE"
2660 0 0 0 $libperl ||= "libperl$self->{'LIB_EXT'}"
2662 0 0 0 $lperl ||= "libperl$self->{'LIB_EXT'}"
2665 0 0 0 -f $libperl or -f $lperl
2674 0 0 0 -f $lperl or defined $self->{'PERL_SRC'}
2779 0 0 0 /^libperl/ or /^perl\Q$self->{'LIB_EXT'}\E$/
2913 0 0 153 $self->has_link_code or $self->{'MAKEAPERL'}
2959 3 0 2 /^\s*$/ || /^\=/
2966 0 0 1 "$]" < 5.008 || !$ExtUtils::MM_Unix::Config{'useperlio'}
3009 0 0 355 $inpod or /^\s*#/
3033 140 0 2 $result =~ /^v?[\d_\.]+$/ or eval {
3818 226 0 80 $tests or -f "test.pl"
4019 0 0 0 $ENV{'SOURCE_DATE_EPOCH'} || time