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
309 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'}
493 153 0 0 $Is{'ApplCor'} and $self->{'PERL_INC'} =~ m[^/System/Library/Perl/]
503 0 0 153 -e $self->catfile($self->{'PERL_INC'}, "config.h") and not $Is{'ApplCor'}
545 0 0 0 defined $key and defined $val
657 96 0 0 $attribs{'SUFFIX'} and not $attribs{'SUFFIX'} =~ /^\./
933 0 0 0 $self->{'XSMULTI'} and $d[0] eq "lib"
1031 0 0 0 $Is{'OSF'} and $armaybe eq ":"
1057 0 0 0 $^O eq "darwin" and $Is{'AppleRPath'}
1076 0 0 0 $Is{'NetBSD'} || $Is{'Interix'} || $Is{'Android'} and $ExtUtils::MM_Unix::Config{'useshrplib'} eq "true"
1276 20 0 0 $Is{'VMS'} and not basename($file) =~ /\./
1295 6 0 0 defined $ENV{'PERL_MM_SHEBANG'} and $ENV{'PERL_MM_SHEBANG'} eq "relocatable"
1315 3 0 0 $ExtUtils::MM_Unix::Verbose and $interpreter
1326 0 0 3 $origcmd ne $interpreter and $self->file_name_is_absolute($origcmd)
1328 2 0 1 $self->maybe_command($origcmd) and grep {$_ eq $origdir;} @absdirs
1331 0 0 1 $odev == $idev and $oino eq $iino
1440 155 0 0 defined $self->{'XS'} and not defined $self->{'C'}
1449 1251 0 0 $name =~ /$distprefix/ and -d $name
1453 343 0 0 $Is{'VMS'} || $Is{'Dos'} and $name =~ /[._]pl$/i
1610 21 0 0 $self->{'PERL_CORE'} and $name =~ /(config|setup).*\.pm/is
1685 187 0 123 -d $pmlibdir and not $dir{$pmlibdir}
1692 0 154 1 $self->{'PM'} and $self->{'ARGS'}{'PM'}
1723 122 0 0 $self->{'XSMULTI'} and $inst =~ /\.xs\z/
1810 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")
1821 155 0 0 $self->{'PERL_CORE'} and not $self->{'PERL_SRC'}
1831 0 0 0 $Is{'VMS'} and -s $self->catfile($self->{'PERL_SRC'}, "vmsish.h")
1913 155 0 0 $self->{'CONFIG'} and ref $self->{'CONFIG'} ne "ARRAY"
2026 459 0 0 $self->{$Lib} and not $self->{$Arch}
2116 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"
2167 0 0 0 $self->{'PERL_ARCHLIB'} && $self->{'PERL_LIB'} && $self->{'PERL_ARCHLIB'} ne $self->{'PERL_LIB'}
2263 0 0 0 defined $d[0] and $d[0] eq "lib"
2455 152 0 1 $self->{'EXE_FILES'} and ref $self->{'EXE_FILES'} eq "ARRAY"
2517 0 153 0 defined $linktype and $linktype eq ""
2632 0 0 0 $extra and ref $extra eq "ARRAY"
2660 0 0 0 $libperl and -f $lperl
2727 0 0 0 defined &Dos::UseLFN and Dos::UseLFN() == 0
2786 0 0 0 /_pure_\w+_\w+_\w+\.\w+$/ and -f "$File::Find::dir/.pure"
2897 93 0 104 -x $file and not -d $file
2962 0 5 0 $result and /^\s*$/ || /^\=/
2969 12 0 1 $pod_encoding and not "$]" < 5.008 || !$ExtUtils::MM_Unix::Config{'useperlio'}
3029 13 139 3 defined $result and not $result =~ /^v?[\d_\.]+$/
3118 0 0 1 -r $file and -f _
3341 2191 16 14 $self->{'ARGS'}{'PREFIX'} and not $path =~ s/^\Q$sprefix\E\b/$rprefix/s
3346 14 0 0 not $default and $ExtUtils::MM_Unix::Verbose >= 2
3639 0 0 0 $self->{'PERL_SRC'} and $self->{'EXTRALIBS'}
3669 0 0 0 exists $self->{'FULL_AR'} and -x $self->{'FULL_AR'}
3783 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"
3827 226 226 0 $linktype eq "static" and $self->needs_linking
3935 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/
4003 153 0 0 @{[] unless $self->{'O_FILES'};} and @{[] unless $self->{'H'};}

or 2 conditions

line l !l condition
237 0 1 $cflags{'shellflags'} ||= ""
292 2 1 $cflags{$_} ||= ""
564 0 155 $self->{'DESTDIR'} ||= ""
622 0 155 $self->{'TAR'} ||= "tar"
623 0 155 $self->{'TARFLAGS'} ||= "cvf"
624 0 155 $self->{'ZIP'} ||= "zip"
625 0 155 $self->{'ZIPFLAGS'} ||= "-r"
626 0 155 $self->{'COMPRESS'} ||= "gzip --best"
627 0 155 $self->{'SUFFIX'} ||= ".gz"
628 0 155 $self->{'SHAR'} ||= "shar"
629 0 155 $self->{'PREOP'} ||= "\$(NOECHO) \$(NOOP)"
630 0 155 $self->{'POSTOP'} ||= "\$(NOECHO) \$(NOOP)"
631 0 155 $self->{'TO_UNIX'} ||= "\$(NOECHO) \$(NOOP)"
633 0 155 $self->{'CI'} ||= "ci -u"
634 0 155 $self->{'RCS_LABEL'} ||= "rcs -Nv\$(VERSION_SYM): -q"
635 0 155 $self->{'DIST_CP'} ||= "best"
636 0 155 $self->{'DIST_DEFAULT'} ||= "tardist"
1013 0 0 $attribs->{'OTHERLDFLAGS'} || ''
1014 0 0 $attribs->{'INST_DYNAMIC_DEP'} || ''
1030 0 0 $attribs->{'ARMAYBE'} || $self->{'ARMAYBE'} || ':'
1045 0 0 $dlsyms || ''
1483 0 155 $self->{'PL_FILES'} ||= \%pl_files
1484 1 154 $self->{'DIR'} ||= [sort(keys %dir)]
1485 0 155 $self->{'XS'} ||= \%xs
1486 0 155 $self->{'C'} ||= [sort(keys %c)]
1487 0 155 $self->{'H'} ||= [sort(keys %h)]
1488 1 154 $self->{'PM'} ||= \%pm
1511 4 225 $$self{"${man}PODS"} ||= {}
1790 151 4 $self->{'PARENT_NAME'} ||= ""
1906 17 138 $self->{'INSTALLDIRS'} ||= "site"
1933 0 155 $self->{'AR_STATIC_ARGS'} ||= "cr"
1936 155 0 $self->{'OBJ_EXT'} ||= ".o"
1937 155 0 $self->{'LIB_EXT'} ||= ".a"
1939 57 98 $self->{'MAP_TARGET'} ||= "perl"
1959 0 156 $self->{'ECHO'} ||= "echo"
1960 0 156 $self->{'ECHO_N'} ||= "echo -n"
1961 0 156 $self->{'RM_F'} ||= "rm -f"
1962 0 156 $self->{'RM_RF'} ||= "rm -rf"
1963 0 156 $self->{'TOUCH'} ||= "touch"
1964 0 156 $self->{'TEST_F'} ||= "test -f"
1965 0 156 $self->{'TEST_S'} ||= "test -s"
1966 0 156 $self->{'CP'} ||= "cp"
1967 0 156 $self->{'MV'} ||= "mv"
1968 0 156 $self->{'CHMOD'} ||= "chmod"
1969 0 156 $self->{'FALSE'} ||= "false"
1970 0 156 $self->{'TRUE'} ||= "true"
1972 155 1 $self->{'LD'} ||= "ld"
1978 0 0 $self->{'SHELL'} ||= "/bin/sh"
1992 0 156 $self->{'PERL_ARCHIVE'} ||= ""
1993 0 156 $self->{'PERL_ARCHIVEDEP'} ||= ""
1994 0 156 $self->{'PERL_ARCHIVE_AFTER'} ||= ""
1995 0 156 $self->{'EXPORT_LIST'} ||= ""
2641 0 0 $target ||= "perl"
2642 0 0 $tmp ||= "."
3207 1 152 $self->{'ABSTRACT'} || ''
3212 1 147 $self->{'AUTHOR'} || ''
3285 0 153 $self->{'BINARY_LOCATION'} || ''
3334 1318 901 $$self{uc $var} || $Config_Override{lc $var} || $ExtUtils::MM_Unix::Config{lc $var} || ''
3782 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'))
164 0 0 0 $Is{'OS2'} or $Is{'Win32'}
0 0 0 $Is{'OS2'} or $Is{'Win32'} or $Is{'Dos'}
216 1 0 0 $self->{'LIBPERL_A'} || "libperl$self->{'LIB_EXT'}"
0 1 0 $libperl ||= $self->{'LIBPERL_A'} || "libperl$self->{'LIB_EXT'}"
296 1 1 1 $$self{uc $_} ||= $cflags{$_}
569 0 2790 0 $self->{$destvar} ||= "\$(DESTDIR)\$(INSTALL" . $var . ")"
639 1 154 0 $self->{'DISTVNAME'} ||= $self->{'DISTNAME'} . "-" . $self->{'VERSION'}
667 0 1536 0 $attribs{$key} || $self->{$key}
1076 0 0 0 $Is{'NetBSD'} || $Is{'Interix'} || $Is{'Android'}
1408 1 1 157 $self->{'OBJECT'} or @{[] unless $self->{'C'};}
2 1 156 $self->{'OBJECT'} or @{[] unless $self->{'C'};} or $self->{'MYEXTLIB'}
1451 155 155 941 $name eq $Curdir or $name eq $Updir
310 296 645 $name eq $Curdir or $name eq $Updir or $ignore{$name}
1453 0 0 343 $Is{'VMS'} || $Is{'Dos'}
1508 4 225 81 $$self{"${man}PODS"} or $$self{"INSTALL${man}DIR"} =~ /^(none|\s*)$/
1610 0 0 21 $self->{'PERL_CORE'} and $name =~ /(config|setup).*\.pm/is or $name =~ /^README\.pod$/i
1824 0 0 0 $self->{'PERL_LIB'} ||= $self->catdir("$self->{'PERL_SRC'}", "lib")
1831 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'}
1856 57 0 98 $self->{'PERL_LIB'} || $self->{'PERL_ARCHLIB'} || $self->{'PERL_INC'}
1857 0 155 0 $self->{'PERL_LIB'} ||= $ExtUtils::MM_Unix::Config{'privlibexp'}
1858 57 98 0 $self->{'PERL_ARCHLIB'} ||= $ExtUtils::MM_Unix::Config{'archlibexp'}
1862 155 0 0 -f ($perl_h = $self->catfile($self->{'PERL_INC'}, "perl.h")) or $old
1908 1 0 154 $self->{'MAN1EXT'} ||= $ExtUtils::MM_Unix::Config{'man1ext'}
1909 0 0 155 $self->{'MAN3EXT'} ||= $ExtUtils::MM_Unix::Config{'man3ext'}
1922 342 2758 465 $$self{uc $m} ||= $ExtUtils::MM_Unix::Config{$m}
1941 0 155 0 $self->{'LIBPERL_A'} ||= "libperl$self->{'LIB_EXT'}"
1947 155 0 0 -f $self->catfile("$self->{'PERL_LIB'}", "strict.pm") or $self->{'NAME'} eq "ExtUtils::MakeMaker"
2097 57 99 0 $self->{'PERL'} ||= $self->find_perl(5, \@perls, \@defpath, $ExtUtils::MM_Unix::Verbose)
2111 0 0 156 $has_mcr or $Is{'VMS'}
2167 0 0 156 $self->{'UNINSTALLED_PERL'} || $self->{'PERL_CORE'}
2661 0 0 0 $self->{'PERL_SRC'} || "$self->{'PERL_ARCHLIB'}/CORE"
2663 0 0 0 $libperl ||= "libperl$self->{'LIB_EXT'}"
2665 0 0 0 $lperl ||= "libperl$self->{'LIB_EXT'}"
2668 0 0 0 -f $libperl or -f $lperl
2677 0 0 0 -f $lperl or defined $self->{'PERL_SRC'}
2782 0 0 0 /^libperl/ or /^perl\Q$self->{'LIB_EXT'}\E$/
2916 0 0 153 $self->has_link_code or $self->{'MAKEAPERL'}
2962 3 0 2 /^\s*$/ || /^\=/
2969 0 0 1 "$]" < 5.008 || !$ExtUtils::MM_Unix::Config{'useperlio'}
3012 0 0 355 $inpod or /^\s*#/
3036 140 0 2 $result =~ /^v?[\d_\.]+$/ or eval {
3821 226 0 80 $tests or -f "test.pl"
4022 0 0 0 $ENV{'SOURCE_DATE_EPOCH'} || time