blib/lib/Perl/Dist/APPerl.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 72 | 2.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
763 | 0 | 0 | 0 | $defaultconfig and not exists $Configs->{'apperl_configs'}{$defaultconfig} |
793 | 0 | 0 | 0 | $SiteConfig and exists $SiteConfig->{'perl_repo'} |
798 | 0 | 0 | 0 | $SiteConfig and exists $SiteConfig->{'cosmo_repo'} |
837 | 0 | 0 | 0 | not defined $CurAPPerlName and exists $Configs->{'defaultconfig'} |
844 | 0 | 0 | 0 | $projectconfig and exists $projectconfig->{'apperl_configs'} |
859 | 0 | 0 | 0 | $CurAPPerlName && $item eq $CurAPPerlName |
915 | 0 | 0 | 0 | $perlbin eq $^X and not -d "/zip" |
1323 | 0 | 0 | 0 | exists $itemconfig{'include_Perl-Dist-APPerl'} and $itemconfig{'include_Perl-Dist-APPerl'} |
line | l | !l | condition |
---|---|---|---|
32 | 0 | 1 | $ENV{'XDG_CONFIG_HOME'} // "/root/.config" |
0 | 1 | $ENV{'XDG_DATA_HOME'} // "/root/.local/share" | |
742 | 0 | 0 | $_[0] // "nobuild-v0.1.0" |
762 | 0 | 0 | $defaultconfig // "nobuild-v0.1.0" |
859 | 0 | 0 | $Configs->{'apperl_configs'}{$item}{'desc'} // "" |
929 | 0 | 0 | $UserProjectConfig->{'apperl_output'} //= "/root/.cpan/build/Perl-Dist-APPerl-v0.2.1-0/.apperl/o" |
1050 | 0 | 0 | not exists $UserProjectConfig->{'nobuild_perl_bin'} or scalar keys %{$$itemconfig{"zip_extra_files"};} |
1328 | 0 | 0 | -e $_ or die "$_ $!" |
1334 | 0 | 0 | $itemconfig{'cosmo_ape_loader'} //= "ape-no-modify-self.o" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
793 | 0 | 0 | 0 | $SiteConfig and exists $SiteConfig->{'perl_repo'} or $perlrepo |
798 | 0 | 0 | 0 | $SiteConfig and exists $SiteConfig->{'cosmo_repo'} or $cosmorepo |
805 | 0 | 0 | 0 | $perlrepo //= $SiteConfig->{'perl_repo'} |
806 | 0 | 0 | 0 | $cosmorepo //= $SiteConfig->{'cosmo_repo'} |
902 | 0 | 0 | 0 | unlink $todelete or $!{'ENOENT'} |
976 | 0 | 0 | 0 | $^O ne "cosmo" or not -f "/C/Windows/System32/cmd.exe" |
1059 | 0 | 0 | 0 | $zippath // _find_zip() |
1335 | 0 | 0 | 0 | $itemconfig{'cosmo_ape_loader'} eq "ape-no-modify-self.o" or $itemconfig{'cosmo_ape_loader'} eq "ape.o" |
1361 | 0 | 0 | 0 | $UserProjectConfig or not exists $Configs->{'defaultconfig'} |
1395 | 0 | 0 | 0 | $file eq "." or $file eq ".." |