Condition Coverage

lib/ExtUtils/MM_Unix.pm
Criterion Covered Total %
condition 173 433 39.9


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 154 0 0 $Is{'ApplCor'} and $self->{'PERL_INC'} =~ m[^/System/Library/Perl/]
504 0 0 154 -e $self->catfile($self->{'PERL_INC'}, "config.h") and not $Is{'ApplCor'}
546 0 0 0 defined $key and defined $val
658 97 0 0 $attribs{'SUFFIX'} and not $attribs{'SUFFIX'} =~ /^\./
934 0 0 0 $self->{'XSMULTI'} and $d[0] eq "lib"
1032 0 0 0 $Is{'OSF'} and $armaybe eq ":"
1058 0 0 0 $^O eq "darwin" and $Is{'AppleRPath'}
1077 0 0 0 $Is{'NetBSD'} || $Is{'Interix'} || $Is{'Android'} and $ExtUtils::MM_Unix::Config{'useshrplib'} eq "true"
1277 20 0 0 $Is{'VMS'} and not basename($file) =~ /\./
1296 6 0 0 defined $ENV{'PERL_MM_SHEBANG'} and $ENV{'PERL_MM_SHEBANG'} eq "relocatable"
1316 3 0 0 $ExtUtils::MM_Unix::Verbose and $interpreter
1327 0 0 3 $origcmd ne $interpreter and $self->file_name_is_absolute($origcmd)
1329 2 0 1 $self->maybe_command($origcmd) and grep {$_ eq $origdir;} @absdirs
1332 0 0 1 $odev == $idev and $oino eq $iino
1441 156 0 0 defined $self->{'XS'} and not defined $self->{'C'}
1450 1258 0 0 $name =~ /$distprefix/ and -d $name
1454 346 0 0 $Is{'VMS'} || $Is{'Dos'} and $name =~ /[._]pl$/i
1611 21 0 0 $self->{'PERL_CORE'} and $name =~ /(config|setup).*\.pm/is
1686 188 0 124 -d $pmlibdir and not $dir{$pmlibdir}
1693 0 155 1 $self->{'PM'} and $self->{'ARGS'}{'PM'}
1724 123 0 0 $self->{'XSMULTI'} and $inst =~ /\.xs\z/
1811 1248 0 0 -f $self->catfile($dir, "config_h.SH") and -f $self->catfile($dir, "perl.h")
1248 0 0 -f $self->catfile($dir, "config_h.SH") and -f $self->catfile($dir, "perl.h") and -f $self->catfile($dir, "lib", "strict.pm")
1822 156 0 0 $self->{'PERL_CORE'} and not $self->{'PERL_SRC'}
1832 0 0 0 $Is{'VMS'} and -s $self->catfile($self->{'PERL_SRC'}, "vmsish.h")
1914 156 0 0 $self->{'CONFIG'} and ref $self->{'CONFIG'} ne "ARRAY"
2027 462 0 0 $self->{$Lib} and not $self->{$Arch}
2117 157 0 0 $Is{'VMS'} and defined $ExtUtils::MM_Unix::Config{'usevmsdebug'}
157 0 0 $Is{'VMS'} and defined $ExtUtils::MM_Unix::Config{'usevmsdebug'} and $ExtUtils::MM_Unix::Config{'usevmsdebug'} eq "define"
2168 0 0 0 $self->{'PERL_ARCHLIB'} && $self->{'PERL_LIB'} && $self->{'PERL_ARCHLIB'} ne $self->{'PERL_LIB'}
2264 0 0 0 defined $d[0] and $d[0] eq "lib"
2456 153 0 1 $self->{'EXE_FILES'} and ref $self->{'EXE_FILES'} eq "ARRAY"
2518 0 154 0 defined $linktype and $linktype eq ""
2633 0 0 0 $extra and ref $extra eq "ARRAY"
2661 0 0 0 $libperl and -f $lperl
2728 0 0 0 defined &Dos::UseLFN and Dos::UseLFN() == 0
2787 0 0 0 /_pure_\w+_\w+_\w+\.\w+$/ and -f "$File::Find::dir/.pure"
2898 93 0 105 -x $file and not -d $file
2963 0 5 0 $result and /^\s*$/ || /^\=/
2970 12 0 1 $pod_encoding and not "$]" < 5.008 || !$ExtUtils::MM_Unix::Config{'useperlio'}
3030 13 139 3 defined $result and not $result =~ /^v?[\d_\.]+$/
3119 0 0 1 -r $file and -f _
3342 2205 16 14 $self->{'ARGS'}{'PREFIX'} and not $path =~ s/^\Q$sprefix\E\b/$rprefix/s
3347 14 0 0 not $default and $ExtUtils::MM_Unix::Verbose >= 2
3640 0 0 0 $self->{'PERL_SRC'} and $self->{'EXTRALIBS'}
3670 0 0 0 exists $self->{'FULL_AR'} and -x $self->{'FULL_AR'}
3784 0 41 113 not $tests and -d "t"
41 113 0 not $tests and -d "t" and defined $attribs{'RECURSIVE_TEST_FILES'}
0 41 113 not $tests and -d "t"
3828 226 226 0 $linktype eq "static" and $self->needs_linking
3936 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/
4004 154 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{$_} ||= ""
565 0 156 $self->{'DESTDIR'} ||= ""
623 0 156 $self->{'TAR'} ||= "tar"
624 0 156 $self->{'TARFLAGS'} ||= "cvf"
625 0 156 $self->{'ZIP'} ||= "zip"
626 0 156 $self->{'ZIPFLAGS'} ||= "-r"
627 0 156 $self->{'COMPRESS'} ||= "gzip --best"
628 0 156 $self->{'SUFFIX'} ||= ".gz"
629 0 156 $self->{'SHAR'} ||= "shar"
630 0 156 $self->{'PREOP'} ||= "\$(NOECHO) \$(NOOP)"
631 0 156 $self->{'POSTOP'} ||= "\$(NOECHO) \$(NOOP)"
632 0 156 $self->{'TO_UNIX'} ||= "\$(NOECHO) \$(NOOP)"
634 0 156 $self->{'CI'} ||= "ci -u"
635 0 156 $self->{'RCS_LABEL'} ||= "rcs -Nv\$(VERSION_SYM): -q"
636 0 156 $self->{'DIST_CP'} ||= "best"
637 0 156 $self->{'DIST_DEFAULT'} ||= "tardist"
1014 0 0 $attribs->{'OTHERLDFLAGS'} || ''
1015 0 0 $attribs->{'INST_DYNAMIC_DEP'} || ''
1031 0 0 $attribs->{'ARMAYBE'} || $self->{'ARMAYBE'} || ':'
1046 0 0 $dlsyms || ''
1484 0 156 $self->{'PL_FILES'} ||= \%pl_files
1485 1 155 $self->{'DIR'} ||= [sort(keys %dir)]
1486 0 156 $self->{'XS'} ||= \%xs
1487 0 156 $self->{'C'} ||= [sort(keys %c)]
1488 0 156 $self->{'H'} ||= [sort(keys %h)]
1489 1 155 $self->{'PM'} ||= \%pm
1512 4 227 $$self{"${man}PODS"} ||= {}
1791 152 4 $self->{'PARENT_NAME'} ||= ""
1907 17 139 $self->{'INSTALLDIRS'} ||= "site"
1934 0 156 $self->{'AR_STATIC_ARGS'} ||= "cr"
1937 156 0 $self->{'OBJ_EXT'} ||= ".o"
1938 156 0 $self->{'LIB_EXT'} ||= ".a"
1940 57 99 $self->{'MAP_TARGET'} ||= "perl"
1960 0 157 $self->{'ECHO'} ||= "echo"
1961 0 157 $self->{'ECHO_N'} ||= "echo -n"
1962 0 157 $self->{'RM_F'} ||= "rm -f"
1963 0 157 $self->{'RM_RF'} ||= "rm -rf"
1964 0 157 $self->{'TOUCH'} ||= "touch"
1965 0 157 $self->{'TEST_F'} ||= "test -f"
1966 0 157 $self->{'TEST_S'} ||= "test -s"
1967 0 157 $self->{'CP'} ||= "cp"
1968 0 157 $self->{'MV'} ||= "mv"
1969 0 157 $self->{'CHMOD'} ||= "chmod"
1970 0 157 $self->{'FALSE'} ||= "false"
1971 0 157 $self->{'TRUE'} ||= "true"
1973 156 1 $self->{'LD'} ||= "ld"
1979 0 0 $self->{'SHELL'} ||= "/bin/sh"
1993 0 157 $self->{'PERL_ARCHIVE'} ||= ""
1994 0 157 $self->{'PERL_ARCHIVEDEP'} ||= ""
1995 0 157 $self->{'PERL_ARCHIVE_AFTER'} ||= ""
1996 0 157 $self->{'EXPORT_LIST'} ||= ""
2642 0 0 $target ||= "perl"
2643 0 0 $tmp ||= "."
3208 1 153 $self->{'ABSTRACT'} || ''
3213 1 148 $self->{'AUTHOR'} || ''
3286 0 154 $self->{'BINARY_LOCATION'} || ''
3335 1326 907 $$self{uc $var} || $Config_Override{lc $var} || $ExtUtils::MM_Unix::Config{lc $var} || ''
3783 0 154 $attribs{'TESTS'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
28 0 0 52 $^O eq 'MSWin32' || $ExtUtils::MM_Unix::Config{'osname'} eq 'NetWare'
37 0 0 52 $Is{'SunOS4'} || $Is{'Solaris'}
38 0 0 52 $^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{$_}
570 0 2808 0 $self->{$destvar} ||= "\$(DESTDIR)\$(INSTALL" . $var . ")"
640 1 155 0 $self->{'DISTVNAME'} ||= $self->{'DISTNAME'} . "-" . $self->{'VERSION'}
668 0 1552 0 $attribs{$key} || $self->{$key}
1077 0 0 0 $Is{'NetBSD'} || $Is{'Interix'} || $Is{'Android'}
1409 1 1 158 $self->{'OBJECT'} or @{[] unless $self->{'C'};}
2 1 157 $self->{'OBJECT'} or @{[] unless $self->{'C'};} or $self->{'MYEXTLIB'}
1452 156 156 946 $name eq $Curdir or $name eq $Updir
312 297 649 $name eq $Curdir or $name eq $Updir or $ignore{$name}
1454 0 0 346 $Is{'VMS'} || $Is{'Dos'}
1509 4 227 81 $$self{"${man}PODS"} or $$self{"INSTALL${man}DIR"} =~ /^(none|\s*)$/
1611 0 0 21 $self->{'PERL_CORE'} and $name =~ /(config|setup).*\.pm/is or $name =~ /^README\.pod$/i
1825 0 0 0 $self->{'PERL_LIB'} ||= $self->catdir("$self->{'PERL_SRC'}", "lib")
1832 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'}
1857 57 0 99 $self->{'PERL_LIB'} || $self->{'PERL_ARCHLIB'} || $self->{'PERL_INC'}
1858 0 156 0 $self->{'PERL_LIB'} ||= $ExtUtils::MM_Unix::Config{'privlibexp'}
1859 57 99 0 $self->{'PERL_ARCHLIB'} ||= $ExtUtils::MM_Unix::Config{'archlibexp'}
1863 156 0 0 -f ($perl_h = $self->catfile($self->{'PERL_INC'}, "perl.h")) or $old
1909 1 0 155 $self->{'MAN1EXT'} ||= $ExtUtils::MM_Unix::Config{'man1ext'}
1910 0 0 156 $self->{'MAN3EXT'} ||= $ExtUtils::MM_Unix::Config{'man3ext'}
1923 342 2778 468 $$self{uc $m} ||= $ExtUtils::MM_Unix::Config{$m}
1942 0 156 0 $self->{'LIBPERL_A'} ||= "libperl$self->{'LIB_EXT'}"
1948 156 0 0 -f $self->catfile("$self->{'PERL_LIB'}", "strict.pm") or $self->{'NAME'} eq "ExtUtils::MakeMaker"
2098 57 100 0 $self->{'PERL'} ||= $self->find_perl(5, \@perls, \@defpath, $ExtUtils::MM_Unix::Verbose)
2112 0 0 157 $has_mcr or $Is{'VMS'}
2168 0 0 157 $self->{'UNINSTALLED_PERL'} || $self->{'PERL_CORE'}
2662 0 0 0 $self->{'PERL_SRC'} || "$self->{'PERL_ARCHLIB'}/CORE"
2664 0 0 0 $libperl ||= "libperl$self->{'LIB_EXT'}"
2666 0 0 0 $lperl ||= "libperl$self->{'LIB_EXT'}"
2669 0 0 0 -f $libperl or -f $lperl
2678 0 0 0 -f $lperl or defined $self->{'PERL_SRC'}
2783 0 0 0 /^libperl/ or /^perl\Q$self->{'LIB_EXT'}\E$/
2917 0 0 154 $self->has_link_code or $self->{'MAKEAPERL'}
2963 3 0 2 /^\s*$/ || /^\=/
2970 0 0 1 "$]" < 5.008 || !$ExtUtils::MM_Unix::Config{'useperlio'}
3013 0 0 355 $inpod or /^\s*#/
3037 140 0 2 $result =~ /^v?[\d_\.]+$/ or eval {
3822 226 0 82 $tests or -f "test.pl"
4023 0 0 0 $ENV{'SOURCE_DATE_EPOCH'} || time