blib/lib/Perl/Dist/APPerl.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 72 | 2.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
764 | 0 | 0 | 0 | $defaultconfig and not exists $Configs->{'apperl_configs'}{$defaultconfig} |
794 | 0 | 0 | 0 | $SiteConfig and exists $SiteConfig->{'perl_repo'} |
799 | 0 | 0 | 0 | $SiteConfig and exists $SiteConfig->{'cosmo_repo'} |
838 | 0 | 0 | 0 | not defined $CurAPPerlName and exists $Configs->{'defaultconfig'} |
845 | 0 | 0 | 0 | $projectconfig and exists $projectconfig->{'apperl_configs'} |
860 | 0 | 0 | 0 | $CurAPPerlName && $item eq $CurAPPerlName |
916 | 0 | 0 | 0 | $perlbin eq $^X and not -d "/zip" |
1324 | 0 | 0 | 0 | exists $itemconfig{'include_Perl-Dist-APPerl'} and $itemconfig{'include_Perl-Dist-APPerl'} |
line | l | !l | condition |
---|---|---|---|
33 | 0 | 1 | $ENV{'XDG_CONFIG_HOME'} // "/root/.config" |
0 | 1 | $ENV{'XDG_DATA_HOME'} // "/root/.local/share" | |
743 | 0 | 0 | $_[0] // "nobuild-v0.1.0" |
763 | 0 | 0 | $defaultconfig // "nobuild-v0.1.0" |
860 | 0 | 0 | $Configs->{'apperl_configs'}{$item}{'desc'} // "" |
930 | 0 | 0 | $UserProjectConfig->{'apperl_output'} //= "/root/.cpan/build/Perl-Dist-APPerl-v0.2.0-0/.apperl/o" |
1051 | 0 | 0 | not exists $UserProjectConfig->{'nobuild_perl_bin'} or scalar keys %{$$itemconfig{"zip_extra_files"};} |
1329 | 0 | 0 | -e $_ or die "$_ $!" |
1335 | 0 | 0 | $itemconfig{'cosmo_ape_loader'} //= "ape-no-modify-self.o" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
794 | 0 | 0 | 0 | $SiteConfig and exists $SiteConfig->{'perl_repo'} or $perlrepo |
799 | 0 | 0 | 0 | $SiteConfig and exists $SiteConfig->{'cosmo_repo'} or $cosmorepo |
806 | 0 | 0 | 0 | $perlrepo //= $SiteConfig->{'perl_repo'} |
807 | 0 | 0 | 0 | $cosmorepo //= $SiteConfig->{'cosmo_repo'} |
903 | 0 | 0 | 0 | unlink $todelete or $!{'ENOENT'} |
977 | 0 | 0 | 0 | $^O ne "cosmo" or not -f "/C/Windows/System32/cmd.exe" |
1060 | 0 | 0 | 0 | $zippath // _find_zip() |
1336 | 0 | 0 | 0 | $itemconfig{'cosmo_ape_loader'} eq "ape-no-modify-self.o" or $itemconfig{'cosmo_ape_loader'} eq "ape.o" |
1362 | 0 | 0 | 0 | $UserProjectConfig or not exists $Configs->{'defaultconfig'} |
1396 | 0 | 0 | 0 | $file eq "." or $file eq ".." |