Condition Coverage

blib/lib/Perl/Dist/APPerl.pm
Criterion Covered Total %
condition 3 91 3.3


and 3 conditions

line !l l&&!r l&&r condition
787 0 0 0 $defaultconfig and not exists $Configs->{'apperl_configs'}{$defaultconfig}
886 0 0 0 not defined $CurAPPerlName and exists $Configs->{'defaultconfig'}
893 0 0 0 $projectconfig and exists $projectconfig->{'apperl_configs'}
919 0 0 0 $CurAPPerlName && $item eq $CurAPPerlName
1006 0 0 0 $perlbin eq $^X and not -d "/zip"
1028 0 0 0 $perl_build_dir and -d $perl_build_dir
1092 0 0 0 $perl_build_dir and -d $perl_build_dir
1286 0 0 0 $bread and $bread == $fsize
1586 0 0 0 exists $itemconfig{'include_Perl-Dist-APPerl'} and $itemconfig{'include_Perl-Dist-APPerl'}

or 2 conditions

line l !l condition
33 0 1 $ENV{'XDG_CONFIG_HOME'} // "/root/.config"
0 1 $ENV{'XDG_DATA_HOME'} // "/root/.local/share"
50 1 0 abs_path($sharedir) // die("Failed to load sharedir")
766 0 0 $_[0] // "nobuild"
786 0 0 $defaultconfig // "nobuild"
815 0 0 $version //= "3.3.10"
836 0 0 $SiteConfig //= {}
919 0 0 $Configs->{'apperl_configs'}{$item}{'desc'} // ""
944 0 0 $UserProjectConfig->{'apperl_output'} //= "/root/.cpan/build/Perl-Dist-APPerl-v0.6.1-0/tests_temp/.apperl/o"
970 0 0 $itemconfig->{'patches'} //= []
1175 0 0 not exists $UserProjectConfig->{'nobuild_perl_bin'} or scalar keys %{$$itemconfig{"zip_extra_files"};}
1597 0 0 -e $_ or die "$_ $!"
1608 0 0 $itemconfig{'cosmo_ape_loader'} //= "ape-no-modify-self.o"
1646 0 0 $SiteConfig //= {}

or 3 conditions

line l !l&&r !l&&!r condition
839 0 0 0 exists $SiteConfig->{'perl_repo'} or $perlrepo
844 0 0 0 exists $SiteConfig->{'cosmo_repo'} or $cosmorepo
851 0 0 0 $perlrepo //= $SiteConfig->{'perl_repo'}
852 0 0 0 $cosmorepo //= $SiteConfig->{'cosmo_repo'}
955 0 0 0 $UserProjectConfig->{'configs'}{$cfgname}{'perl_build_dir'} //= $SiteConfig->{'perl_repo'}
956 0 0 0 $UserProjectConfig->{'configs'}{$cfgname}{'perl_build_dir'} //= "$UserProjectConfig->{'apperl_output'}/$cfgname/tmp/perl5"
966 0 0 0 unlink $todelete or $!{'ENOENT'}
1069 0 0 0 $^O ne "cosmo" or not -f "/C/Windows/System32/cmd.exe"
1178 0 0 0 $zippath // _find_zip()
1601 0 0 0 $file eq "." or $file eq ".."
1609 0 0 0 $itemconfig{'cosmo_ape_loader'} eq "ape-no-modify-self.o" or $itemconfig{'cosmo_ape_loader'} eq "ape.o"
1688 0 0 0 $file eq "." or $file eq ".."