| line |
true |
false |
branch |
|
16
|
0 |
0 |
unless my $ro = $self->ro |
|
43
|
0 |
1 |
unless defined $s |
|
44
|
0 |
1 |
if (substr($s, -1, 1) eq '.') { } |
|
|
0 |
1 |
elsif ($s =~ tr[/][] == 1 or not $s =~ m[[A-Z]/[A-Z-0-9]{2}/[A-Z-0-9]{2,}/]) { } |
|
46
|
0 |
0 |
unless ($$CPAN::META{'LOCK'} or $$CPAN::Have_warned{"$s is unlocked"}++) |
|
54
|
0 |
0 |
if ($s eq '.') { } |
|
|
0 |
0 |
elsif ('File::Spec'->file_name_is_absolute($s)) { } |
|
|
0 |
0 |
elsif ('File::Spec'->can('rel2abs')) { } |
|
62
|
0 |
0 |
if $CPAN::DEBUG |
|
63
|
0 |
0 |
unless ($CPAN::META->exists('CPAN::Distribution', $s)) |
|
75
|
0 |
0 |
if $s =~ m[^N/A|^Contact Author] |
|
77
|
0 |
0 |
if $CPAN::DEBUG |
|
86
|
0 |
1 |
if (substr($self->id, -1, 1) eq '.') { } |
|
111
|
0 |
0 |
if $CPAN::DEBUG |
|
112
|
0 |
0 |
unless ($local_file = 'CPAN::FTP'->localize("authors/id/$norm", $local_wanted)) |
|
123
|
0 |
0 |
if ($$self{'ID'} =~ m[[A-Z]/[A-Z\-]{2}/([A-Z\-]+)/]) |
|
133
|
0 |
1 |
unless $id =~ m[^./../] |
|
177
|
0 |
0 |
if $CPAN::DEBUG |
|
179
|
0 |
0 |
if exists $$self{'incommandcolor'} and $color == 1 and $$self{'incommandcolor'} == $color |
|
183
|
0 |
0 |
if ($depth >= $CPAN::MAX_RECURSION) |
|
188
|
0 |
0 |
if (defined $prereq_pm) |
|
191
|
0 |
0 |
unless $$prereq_pm{'requires'} |
|
192
|
0 |
0 |
unless $$prereq_pm{'build_requires'} |
|
195
|
0 |
0 |
if $pre eq 'perl' |
|
197
|
0 |
0 |
unless ($premo = 'CPAN::Shell'->expand('Module', $pre)) |
|
205
|
0 |
0 |
if ($color == 0) |
|
228
|
0 |
0 |
if exists $$self{'CONTAINSMODS'} |
|
231
|
0 |
0 |
unless my $mod_file = $mod->cpan_file |
|
232
|
0 |
0 |
unless my $mod_id = $$mod{'ID'} |
|
235
|
0 |
0 |
if ($CPAN::Signal) |
|
239
|
0 |
0 |
if $mod_file eq $dist_id |
|
247
|
0 |
0 |
if exists $$self{'UPLOAD_DATE'} |
|
252
|
0 |
0 |
unless $author |
|
254
|
0 |
0 |
unless @dl |
|
257
|
0 |
0 |
unless $$dirent[1] |
|
267
|
0 |
0 |
unless ($obj->uptodate) |
|
269
|
0 |
0 |
if $CPAN::DEBUG |
|
279
|
0 |
0 |
if defined $id |
|
289
|
0 |
0 |
if (my $why = $self->check_disabled) |
|
297
|
0 |
0 |
if $CPAN::DEBUG |
|
298
|
0 |
0 |
if (exists $$self{'build_dir'} and -d $$self{'build_dir'}) |
|
308
|
0 |
0 |
if $CPAN::DEBUG |
|
309
|
0 |
0 |
if (exists $$self{'build_dir'} and not -d $$self{'build_dir'}) |
|
318
|
0 |
0 |
if $CPAN::DEBUG |
|
319
|
0 |
0 |
UNIVERSAL::can($$self{'unwrapped'}, 'failed') ? : |
|
|
0 |
0 |
if (exists $$self{'unwrapped'} and UNIVERSAL::can($$self{'unwrapped'}, 'failed') ? $$self{'unwrapped'}->failed : $$self{'unwrapped'} =~ /^NO/) |
|
334
|
0 |
0 |
if $CPAN::DEBUG |
|
335
|
0 |
0 |
if (my $goto = $self->prefs->{'goto'}) |
|
339
|
0 |
0 |
if (defined(my $sc = $self->shortcut_get)) |
|
343
|
0 |
0 |
defined $ENV{'PERL5LIB'} ? : |
|
346
|
0 |
0 |
defined $ENV{'PERL5OPT'} ? : |
|
355
|
0 |
0 |
unless ($$self{'build_dir'} and -d $$self{'build_dir'}) |
|
357
|
0 |
0 |
if $CPAN::Signal |
|
359
|
0 |
0 |
if $CPAN::Signal |
|
362
|
0 |
0 |
if (exists $$self{'writemakefile'} and ref $$self{'writemakefile'} and $$self{'writemakefile'}->can('failed') and $$self{'writemakefile'}->failed) |
|
375
|
0 |
0 |
if ($CPAN::Signal) |
|
379
|
0 |
0 |
unless $self->patch |
|
388
|
0 |
0 |
if $self->is_dot_dist |
|
398
|
0 |
0 |
if $CPAN::DEBUG |
|
399
|
0 |
0 |
unless ($local_file = 'CPAN::FTP'->localize("authors/id/$$self{'ID'}", $local_wanted)) |
|
403
|
0 |
0 |
if ($CPAN::Index::DATE_OF_02) |
|
410
|
0 |
0 |
if $CPAN::DEBUG |
|
419
|
0 |
0 |
if $self->is_dot_dist |
|
420
|
0 |
0 |
if ($CPAN::META->has_inst('Digest::SHA')) { } |
|
431
|
0 |
0 |
if $self->is_dot_dist |
|
436
|
0 |
0 |
if $CPAN::DEBUG |
|
438
|
0 |
0 |
unless (mkdir "tmp-$$", 493) |
|
449
|
0 |
0 |
if ($CPAN::Signal) |
|
459
|
0 |
0 |
unless ($ct) |
|
464
|
0 |
0 |
if ($local_file =~ /(\.tar\.(bz2|gz|Z)|\.tgz)(?!\n)\Z/i) { } |
|
|
0 |
0 |
elsif ($local_file =~ /\.zip(?!\n)\Z/i) { } |
|
465
|
0 |
0 |
unless eval {
do {
$ct->gtest
}
} |
|
470
|
0 |
0 |
unless $ct->gtest |
|
476
|
0 |
0 |
unless my $dh = 'DirHandle'->new('File::Spec'->curdir) |
|
479
|
0 |
0 |
if (grep {$_ eq 'pax_global_header';} @readdir) |
|
491
|
0 |
0 |
if ('CPAN'->has_usable('File::Temp')) { } |
|
495
|
0 |
0 |
if (@readdir == 1 and -d $readdir[0]) { } |
|
499
|
0 |
0 |
unless ($dh2 = 'DirHandle'->new($from_dir)) |
|
516
|
0 |
0 |
if (not $userid or $userid eq 'N/A') |
|
524
|
0 |
0 |
if ($@) |
|
537
|
0 |
0 |
unless (File::Copy::move($from, $to)) |
|
545
|
0 |
0 |
if (@readdir == 1 and -d $readdir[0]) { } |
|
548
|
0 |
0 |
if $CPAN::DEBUG |
|
550
|
0 |
0 |
if -d $packagedir |
|
553
|
0 |
0 |
unless (File::Copy::move($distdir, $packagedir)) |
|
565
|
0 |
0 |
if $CPAN::DEBUG |
|
573
|
0 |
0 |
if $CPAN::DEBUG |
|
574
|
0 |
0 |
if (not $userid or $userid eq 'N/A') |
|
581
|
0 |
0 |
if $CPAN::DEBUG |
|
586
|
0 |
0 |
unless File::Copy::move($f, $to) |
|
604
|
41 |
0 |
unless defined $filter |
|
607
|
0 |
41 |
unless ($build_dir = $$self{'build_dir'}) |
|
617
|
41 |
0 |
if $has_cm |
|
618
|
41 |
0 |
if $has_cm or $has_pcm |
|
619
|
41 |
0 |
if $has_cm |
|
620
|
41 |
0 |
if $has_cm or $has_pcm |
|
624
|
38 |
63 |
if -f $path |
|
633
|
0 |
0 |
if $CPAN::DEBUG |
|
634
|
0 |
0 |
unless my $build_dir = $$self{'build_dir'} |
|
636
|
0 |
0 |
if $CPAN::DEBUG |
|
637
|
0 |
0 |
unless -f $yaml |
|
640
|
0 |
0 |
unless $CPAN::META->has_inst('Parse::CPAN::Meta') |
|
641
|
0 |
0 |
unless $Parse::CPAN::Meta::VERSION >= '1.40' |
|
645
|
0 |
0 |
unless ($early_yaml) |
|
648
|
0 |
0 |
if $CPAN::DEBUG |
|
649
|
0 |
0 |
if $CPAN::DEBUG and $early_yaml |
|
650
|
0 |
0 |
if (not ref $early_yaml or ref $early_yaml ne 'HASH') |
|
663
|
0 |
0 |
if $CPAN::DEBUG |
|
664
|
0 |
0 |
if (my(@prereq) = $self->unsat_prereq('later')) |
|
665
|
0 |
0 |
if $CPAN::DEBUG |
|
666
|
0 |
0 |
if $CPAN::DEBUG and @prereq |
|
667
|
0 |
0 |
if ($prereq[0][0] eq 'perl') { } |
|
676
|
0 |
0 |
if (do {
$follow
}) { } |
|
|
0 |
0 |
elsif ($@ and ref $@ and $@->isa('CPAN::Exception::RecursiveDependency')) { } |
|
693
|
0 |
0 |
if $CPAN::DEBUG |
|
695
|
0 |
0 |
unless ($enable_configure_requires) |
|
702
|
0 |
0 |
if $CPAN::DEBUG |
|
703
|
0 |
0 |
unless @prereq |
|
704
|
0 |
0 |
if $CPAN::DEBUG |
|
705
|
0 |
0 |
if ($$self{'configure_requires_later'}) |
|
706
|
0 |
0 |
unless $$self{'configure_requires_later_for'} |
|
707
|
0 |
0 |
if ($$self{'configure_requires_later_for'}{$k} > 1) |
|
710
|
0 |
0 |
if ($$p[0] eq $k) |
|
714
|
0 |
0 |
if $type |
|
720
|
0 |
0 |
if ($prereq[0][0] eq 'perl') { } |
|
731
|
0 |
0 |
if (do {
$follow
}) { } |
|
|
0 |
0 |
elsif ($@ and ref $@ and $@->isa('CPAN::Exception::RecursiveDependency')) { } |
|
748
|
0 |
0 |
unless $self->satisfy_configure_requires |
|
752
|
0 |
0 |
unless ($mpl_exists) |
|
757
|
0 |
0 |
unless my $mpldh = 'DirHandle'->new($$self{'build_dir'}) |
|
763
|
0 |
0 |
if (-f 'File::Spec'->catfile($$self{'build_dir'}, 'Build.PL')) |
|
764
|
0 |
0 |
if ($mpl_exists) { } |
|
765
|
0 |
0 |
if ($CPAN::META->has_inst('Module::Build')) |
|
771
|
0 |
0 |
if fileno Module::Build::Version::DATA |
|
778
|
0 |
0 |
if (lc $prefer_installer eq 'rand') |
|
779
|
0 |
0 |
rand() < 0.5 ? : |
|
781
|
0 |
0 |
if (lc $prefer_installer eq 'mb') { } |
|
|
0 |
0 |
elsif ($$self{'archived'} eq 'patch') { } |
|
|
0 |
0 |
elsif (not $mpl_exists) { } |
|
791
|
0 |
0 |
if ($$self{'build_dir'} and $$CPAN::Config{'build_dir_reuse'}) |
|
805
|
0 |
0 |
unless (defined $dir and length $dir) |
|
811
|
0 |
0 |
unless (Cwd::realpath('File::Spec'->catdir($dir, 'File::Spec'->updir)) eq Cwd::realpath($$CPAN::Config{'build_dir'})) |
|
819
|
0 |
0 |
if ($CPAN::META->has_inst($yaml_module)) { } |
|
845
|
0 |
0 |
if $CPAN::DEBUG |
|
855
|
0 |
0 |
if $CPAN::DEBUG |
|
858
|
0 |
0 |
if $CPAN::DEBUG |
|
859
|
0 |
0 |
if ($patches) |
|
860
|
0 |
0 |
unless @$patches |
|
862
|
0 |
0 |
if $CPAN::DEBUG |
|
864
|
0 |
0 |
unless ($patchbin and length $patchbin) |
|
868
|
0 |
0 |
unless ('MM'->maybe_command($patchbin)) |
|
874
|
0 |
0 |
unless ($stdpatchargs) |
|
877
|
0 |
0 |
unless open FH, $system |
|
881
|
0 |
0 |
if (/^patch\s+([\d\.]+)/) |
|
886
|
0 |
0 |
if ($pversion) { } |
|
892
|
0 |
0 |
@$patches == 1 ? : |
|
896
|
0 |
0 |
if ($patches_dir and not 'File::Spec'->file_name_is_absolute($patch)) |
|
898
|
0 |
0 |
if -f $f |
|
900
|
0 |
0 |
unless (-f $patch) |
|
901
|
0 |
0 |
if $CPAN::DEBUG |
|
902
|
0 |
0 |
if (my $trydl = $self->try_download($patch)) { } |
|
917
|
0 |
0 |
if ($ppp eq 'applypatch') { } |
|
923
|
0 |
0 |
if ($Config::Config{'osname'} eq 'solaris') |
|
925
|
0 |
0 |
unless $pfiles |
|
926
|
0 |
0 |
unless my(@stat) = stat $file |
|
935
|
0 |
0 |
unless (open $writefh, "|$pcommand") |
|
946
|
0 |
0 |
unless (close $writefh) |
|
970
|
0 |
0 |
if ($$CPAN::Config{'applypatch'} and /\#\#\#\# ApplyPatch data follows \#\#\#\#/) |
|
977
|
0 |
0 |
unless /^[\*\+]{3}\s(\S+)/ |
|
981
|
0 |
0 |
if -f $file |
|
982
|
0 |
0 |
if $CPAN::DEBUG |
|
985
|
0 |
0 |
unless $cnt_files |
|
986
|
0 |
0 |
$cnt_files == $cnt_p0files ? : |
|
994
|
0 |
0 |
if $CPAN::DEBUG |
|
1000
|
0 |
0 |
if (-f $configure) { } |
|
|
0 |
0 |
elsif (-f 'File::Spec'->catfile($build_dir, 'Makefile')) { } |
|
1012
|
0 |
0 |
if ($cf =~ m[/]) |
|
1017
|
0 |
0 |
unless length $cf |
|
1018
|
0 |
0 |
if (my $crud = $self->_contains_crud($build_dir)) |
|
1033
|
0 |
0 |
if ($$self{'archived'} eq 'maybe_pl') |
|
1038
|
0 |
0 |
unless $fh->open(">$mpl") |
|
1058
|
0 |
0 |
unless opendir $dh, $dir |
|
1061
|
0 |
0 |
if $dirent =~ /^\.\.?$/ |
|
1063
|
0 |
0 |
if (-d $path) { } |
|
|
0 |
0 |
elsif (-f $path) { } |
|
1069
|
0 |
0 |
if (@dirs and @files) { } |
|
|
0 |
0 |
elsif (@files > 2) { } |
|
1083
|
0 |
0 |
unless $fh->open($script_file) |
|
1090
|
0 |
0 |
if ($state eq 'poddir' and /^=head\d\s+(\S+)/) { } |
|
|
0 |
0 |
elsif ($state =~ /^(name|prereq)$/) { } |
|
|
0 |
0 |
elsif (/^=cut\b/) { } |
|
1091
|
0 |
0 |
if ($1 eq 'NAME') { } |
|
|
0 |
0 |
elsif ($1 eq 'PREREQUISITES') { } |
|
1097
|
0 |
0 |
if (/^=/) { } |
|
|
0 |
0 |
elsif (/^\s*$/) { } |
|
|
0 |
0 |
elsif ($state eq 'name') { } |
|
|
0 |
0 |
elsif ($state eq 'prereq') { } |
|
1102
|
0 |
0 |
if ($name eq '') |
|
1124
|
0 |
0 |
if (/[\s\'\"]/) { } |
|
1131
|
0 |
0 |
if ($name) |
|
1133
|
0 |
0 |
unless rename $script_file, $to_file |
|
1150
|
0 |
0 |
if ($check_sigs) |
|
1151
|
0 |
0 |
if ($CPAN::META->has_inst('Module::Signature')) { } |
|
1152
|
0 |
0 |
if (-f 'SIGNATURE') { } |
|
1153
|
0 |
0 |
if $CPAN::DEBUG |
|
1155
|
0 |
0 |
if ($rv != Module::Signature::SIGNATURE_OK() and $rv != Module::Signature::SIGNATURE_MISSING()) { } |
|
1179
|
0 |
0 |
if $CPAN::Frontend->can('mysleep') |
|
1182
|
0 |
0 |
if $CPAN::DEBUG |
|
1188
|
0 |
0 |
if $CPAN::DEBUG |
|
1198
|
0 |
0 |
if ($result) { } |
|
1210
|
0 |
0 |
if ($ct->unzip) { } |
|
1221
|
0 |
0 |
if ($local_file =~ /\.pm(\.(gz|Z))?(?!\n)\Z/) { } |
|
|
0 |
0 |
elsif ($local_file =~ /\.patch(\.(gz|bz2))?(?!\n)\Z/) { } |
|
1230
|
0 |
0 |
if ($to =~ s/\.(gz|Z)(?!\n)\Z//) { } |
|
1231
|
0 |
0 |
if (eval {
do {
'CPAN::Tarzip'->new($local_file)->gunzip($to)
}
}) { } |
|
1237
|
0 |
0 |
if (File::Copy::cp($local_file, '.')) { } |
|
1260
|
0 |
0 |
if ($^O eq 'MacOS') |
|
1265
|
0 |
0 |
if ($$CPAN::Config{'shell'}) { } |
|
1278
|
0 |
0 |
unless ($dir = $self->dir) |
|
1281
|
0 |
0 |
unless ($dir ||= $self->dir) |
|
1295
|
0 |
0 |
defined $ENV{'PERL5LIB'} ? : |
|
1299
|
0 |
0 |
defined $ENV{'PERL5OPT'} ? : |
|
1303
|
0 |
0 |
unless (system($shell) == 0) |
|
1329
|
0 |
0 |
if ($cvs_site_perl) |
|
1339
|
0 |
0 |
unless chdir($dir) |
|
1344
|
0 |
0 |
unless system(@cmd) == 0 |
|
1347
|
0 |
0 |
unless chdir($pwd) |
|
1355
|
0 |
0 |
if $CPAN::DEBUG |
|
1365
|
0 |
0 |
if $CPAN::DEBUG |
|
1366
|
0 |
0 |
unless $local_file = 'CPAN::FTP'->localize($readme, $local_wanted) |
|
1370
|
0 |
0 |
if ($^O eq 'MacOS') |
|
1378
|
0 |
0 |
unless $fh_pager->open("|$pager") |
|
1381
|
0 |
0 |
unless $fh_readme->open($local_file) |
|
1398
|
0 |
0 |
if $$self{'CHECKSUM_STATUS'} eq 'OK' |
|
1399
|
0 |
0 |
if @e |
|
1409
|
0 |
0 |
if (my $size = -s $lc_want) |
|
1410
|
0 |
0 |
if $CPAN::DEBUG |
|
1411
|
0 |
0 |
if ($self->CHECKSUM_check_file($lc_want, 1)) |
|
1417
|
0 |
0 |
unless ($lc_file) |
|
1422
|
0 |
0 |
if ($lc_file) { } |
|
1429
|
0 |
0 |
if ($self->CHECKSUM_check_file($lc_file)) |
|
1439
|
0 |
0 |
if ($rv == Module::Signature::SIGNATURE_OK()) { } |
|
1471
|
0 |
0 |
if $CPAN::DEBUG |
|
1474
|
0 |
0 |
if ($check_sigs) |
|
1475
|
0 |
0 |
if ($CPAN::META->has_inst('Module::Signature')) { } |
|
1476
|
0 |
0 |
if $CPAN::DEBUG |
|
1479
|
0 |
0 |
if $CPAN::DEBUG |
|
1486
|
0 |
0 |
if (open $fh, $chk_file) { } |
|
1493
|
0 |
0 |
if ($@) |
|
1495
|
0 |
0 |
if $@ |
|
1501
|
0 |
0 |
if (not ref $cksum or ref $cksum ne 'HASH') { } |
|
|
0 |
0 |
elsif (exists $$cksum{$basename}{'sha256'}) { } |
|
1509
|
0 |
0 |
unless $answer =~ /^\s*y/i |
|
1513
|
0 |
0 |
if $CPAN::DEBUG |
|
1522
|
0 |
0 |
unless ($eq) |
|
1533
|
0 |
0 |
if ($eq) { } |
|
1562
|
0 |
0 |
if $sloppy |
|
1563
|
0 |
0 |
unless ($$self{'CHECKSUM_STATUS'}) |
|
1572
|
0 |
0 |
unless $answer =~ /^\s*y/i |
|
1582
|
0 |
0 |
if ($CPAN::META->has_inst('Digest::SHA')) |
|
1651
|
0 |
0 |
if $fforce or $phase eq $method |
|
1652
|
0 |
0 |
unless $methodmatch |
|
1654
|
0 |
0 |
if ($phase eq 'get') { } |
|
|
0 |
0 |
elsif ($phase eq 'test') { } |
|
1655
|
0 |
0 |
if (substr($self->id, -1, 1) eq '.' and $att =~ /(unwrapped|build_dir|archived)/) |
|
1660
|
0 |
0 |
if ($att eq 'build_dir' and $$self{'build_dir'} and $$CPAN::META{'is_tested'}) |
|
1667
|
0 |
0 |
if ($att eq 'make_test' and $$self{'make_test'} and $$self{'make_test'}{'COMMANDID'} and $$self{'make_test'}{'COMMANDID'} == $CPAN::CurrentCommandId) |
|
1677
|
0 |
0 |
if ($ldebug or $CPAN::DEBUG) |
|
1683
|
0 |
0 |
if ($method and $method =~ /make|test|install/) |
|
1712
|
0 |
0 |
if ($file =~ / ^ perl
-?
(5)
([._-])
(
\d{3}(_[0-4][0-9])?
|
\d+\.\d+
)
\.tar[._-](?:gz|bz2)
(?!\n)\Z
/sx) { } |
|
|
0 |
0 |
elsif ($self->cpan_comment and $self->cpan_comment =~ /isa_perl\(.+?\)/) { } |
|
1736
|
0 |
0 |
unless ($self) |
|
1750
|
0 |
0 |
if $CPAN::DEBUG |
|
1751
|
0 |
0 |
if (not $$self{'archived'} or $$self{'archived'} eq 'NO') |
|
1755
|
0 |
0 |
if $CPAN::DEBUG |
|
1756
|
0 |
0 |
UNIVERSAL::can($$self{'unwrapped'}, 'failed') ? : |
|
|
0 |
0 |
if (not $$self{'unwrapped'} or UNIVERSAL::can($$self{'unwrapped'}, 'failed') ? $$self{'unwrapped'}->failed : $$self{'unwrapped'} =~ /^NO/) |
|
1765
|
0 |
0 |
if $CPAN::DEBUG |
|
1766
|
0 |
0 |
UNIVERSAL::can($$self{'signature_verify'}, 'failed') ? : |
|
|
0 |
0 |
if (not $$self{'force_update'} and exists $$self{'signature_verify'} and UNIVERSAL::can($$self{'signature_verify'}, 'failed') ? $$self{'signature_verify'}->failed : $$self{'signature_verify'} =~ /^NO/) |
|
1777
|
0 |
0 |
if $CPAN::DEBUG |
|
1778
|
0 |
0 |
if ($$self{'writemakefile'}) |
|
1779
|
0 |
0 |
UNIVERSAL::can($$self{'writemakefile'}, 'failed') ? : |
|
|
0 |
0 |
if (UNIVERSAL::can($$self{'writemakefile'}, 'failed') ? $$self{'writemakefile'}->failed : $$self{'writemakefile'} =~ /^NO/) { } |
|
1785
|
0 |
0 |
UNIVERSAL::can($$self{'writemakefile'}, 'text') ? : |
|
1797
|
0 |
0 |
if $CPAN::DEBUG |
|
1798
|
0 |
0 |
if (my $later = $$self{'configure_requires_later'}) |
|
1808
|
0 |
0 |
unless $self->get |
|
1811
|
0 |
0 |
if (defined(my $sc = $self->shortcut_prepare)) |
|
1815
|
0 |
0 |
defined $ENV{'PERL5LIB'} ? : |
|
1818
|
0 |
0 |
defined $ENV{'PERL5OPT'} ? : |
|
1822
|
0 |
0 |
if ($CPAN::Signal) |
|
1827
|
0 |
0 |
unless my $builddir = $self->dir |
|
1830
|
0 |
0 |
unless (chdir($builddir)) |
|
1835
|
0 |
0 |
if ($CPAN::Signal) |
|
1840
|
0 |
0 |
if $CPAN::DEBUG |
|
1844
|
0 |
0 |
unless $self->choose_MM_or_MB |
|
1847
|
0 |
0 |
$$self{'modulebuild'} ? : |
|
|
0 |
0 |
$$self{'configure'} ? : |
|
1853
|
0 |
0 |
if ($$CPAN::Config{'prerequisites_policy'} eq 'follow') |
|
1860
|
0 |
0 |
if ($self->prefs->{'pl'}) |
|
1865
|
0 |
0 |
if $$CPAN::Config{'use_prompt_default'} |
|
1866
|
0 |
0 |
if $$CPAN::Config{'use_prompt_default'} |
|
1867
|
0 |
0 |
if ($pl_commandline) { } |
|
|
0 |
0 |
elsif ($$self{'configure'}) { } |
|
|
0 |
0 |
elsif ($$self{'modulebuild'}) { } |
|
1873
|
0 |
0 |
unless my($perl) = $self->perl |
|
1875
|
0 |
0 |
$mbuildpl_arg ? : |
|
1880
|
0 |
0 |
unless my($perl) = $self->perl |
|
1889
|
0 |
0 |
$switch ? : |
|
|
0 |
0 |
$makepl_arg ? : |
|
1896
|
0 |
0 |
if ($self->prefs->{'pl'}) |
|
1899
|
0 |
0 |
if $pl_env |
|
1900
|
0 |
0 |
if (exists $$self{'writemakefile'}) { } |
|
1906
|
0 |
0 |
if ($$CPAN::Config{'inactivity_timeout'}) |
|
1908
|
0 |
0 |
if ($Config::Config{'d_alarm'} and $Config::Config{'d_alarm'} eq 'define') { } |
|
1925
|
0 |
0 |
if ($go_via_alarm) { } |
|
1926
|
0 |
0 |
if ($self->_should_report('pl')) { } |
|
1937
|
0 |
0 |
if (defined($pid = fork)) { } |
|
1938
|
0 |
0 |
if ($pid) { } |
|
1953
|
0 |
0 |
if ($@) |
|
1965
|
0 |
0 |
if (my $expect_model = $self->_prefs_with_expect('pl')) { } |
|
|
0 |
0 |
elsif ($self->_should_report('pl')) { } |
|
1969
|
0 |
0 |
if (not defined $ret and $$self{'writemakefile'} and $$self{'writemakefile'}->failed) |
|
1983
|
0 |
0 |
if ($ret != 0) |
|
1991
|
0 |
0 |
if (-f 'Makefile' or -f 'Build' or $^O eq 'VMS' and -f 'descrip.mms' || -f 'Build.com') { } |
|
1997
|
0 |
0 |
$$self{'modulebuild'} ? : |
|
2016
|
0 |
0 |
if $CPAN::DEBUG |
|
2017
|
0 |
0 |
if (defined $$self{'make'}) |
|
2018
|
0 |
0 |
UNIVERSAL::can($$self{'make'}, 'failed') ? : |
|
|
0 |
0 |
if (UNIVERSAL::can($$self{'make'}, 'failed') ? $$self{'make'}->failed : $$self{'make'} =~ /^NO/) { } |
|
2022
|
0 |
0 |
if ($$self{'force_update'}) { } |
|
2027
|
0 |
0 |
length $$self{'make'} > 3 ? : |
|
2043
|
0 |
0 |
if $CPAN::DEBUG |
|
2044
|
0 |
0 |
if (my $goto = $self->prefs->{'goto'}) |
|
2057
|
0 |
0 |
if ($self->isa_perl) |
|
2058
|
0 |
0 |
if ($self->called_for ne $self->id and not $$self{'force_update'}) |
|
2086
|
0 |
0 |
unless $self->prepare |
|
2088
|
0 |
0 |
if (defined(my $sc = $self->shortcut_make)) |
|
2092
|
0 |
0 |
if ($CPAN::Signal) |
|
2097
|
0 |
0 |
unless my $builddir = $self->dir |
|
2100
|
0 |
0 |
unless (chdir($builddir)) |
|
2105
|
0 |
0 |
$$self{'modulebuild'} ? : |
|
2107
|
0 |
0 |
defined $ENV{'PERL5LIB'} ? : |
|
2110
|
0 |
0 |
defined $ENV{'PERL5OPT'} ? : |
|
2114
|
0 |
0 |
if ($CPAN::Signal) |
|
2119
|
0 |
0 |
if ($^O eq 'MacOS') |
|
2126
|
0 |
0 |
unless defined $v |
|
2131
|
0 |
0 |
if $@ |
|
2132
|
0 |
0 |
unless $satisfied |
|
2133
|
0 |
0 |
if ($CPAN::Signal) |
|
2139
|
0 |
0 |
if ($self->prefs->{'make'}) |
|
2143
|
0 |
0 |
if $$CPAN::Config{'use_prompt_default'} |
|
2144
|
0 |
0 |
if $$CPAN::Config{'use_prompt_default'} |
|
2145
|
0 |
0 |
if ($make_commandline) { } |
|
2149
|
0 |
0 |
if ($$self{'modulebuild'}) { } |
|
2150
|
0 |
0 |
unless (-f 'Build' or $^O eq 'VMS' and -f 'Build.com') |
|
2162
|
0 |
0 |
$make_arg ? : |
|
2168
|
0 |
0 |
if ($self->prefs->{'make'}) |
|
2171
|
0 |
0 |
if $make_env |
|
2174
|
0 |
0 |
if ($expect_model and @{$$expect_model{'talk'};}) |
|
2176
|
0 |
0 |
if ($can_expect) { } |
|
2184
|
0 |
0 |
if ($want_expect) { } |
|
|
0 |
0 |
elsif ($self->_should_report('make')) { } |
|
2198
|
0 |
0 |
if ($system_ok) { } |
|
2228
|
0 |
0 |
if $CPAN::DEBUG |
|
2229
|
0 |
0 |
if ($CPAN::META->has_inst('Expect')) { } |
|
2233
|
0 |
0 |
if ($$expect_model{'mode'} eq 'deterministic') { } |
|
|
0 |
0 |
elsif ($$expect_model{'mode'} eq 'anyorder') { } |
|
2269
|
0 |
0 |
if ($match[2]) |
|
2273
|
0 |
0 |
if ($eof) { } |
|
|
0 |
0 |
elsif ($ran_into_timeout) { } |
|
2282
|
0 |
0 |
if ($but =~ /$regex/) |
|
2286
|
0 |
0 |
unless $reuse |
|
2293
|
0 |
0 |
if ($have_waited < $timeout) |
|
2314
|
0 |
0 |
if $CPAN::DEBUG |
|
2330
|
0 |
0 |
if ($ran_into_timeout) { } |
|
|
0 |
0 |
elsif ($ran_into_eof) { } |
|
2347
|
0 |
0 |
if ($CPAN::META->has_inst('CPAN::Kwalify') and $CPAN::META->has_inst('Kwalify')) { } |
|
2353
|
0 |
0 |
if ($@) |
|
2357
|
0 |
0 |
if $CPAN::DEBUG |
|
2367
|
0 |
0 |
if $prefs_dir =~ /^\s*$/ |
|
2369
|
0 |
0 |
if ($@) |
|
2374
|
0 |
0 |
unless my $dh = 'DirHandle'->new($prefs_dir) |
|
2376
|
0 |
0 |
unless @files |
|
2381
|
0 |
0 |
if ($CPAN::META->has_inst($yaml_module)) { } |
|
2385
|
0 |
0 |
if ($CPAN::META->has_inst('Data::Dumper')) |
|
2388
|
0 |
0 |
if ($CPAN::META->has_inst('Storable')) |
|
2391
|
0 |
0 |
if (@fallbacks) { } |
|
2393
|
0 |
0 |
unless ($$self{'have_complained_about_missing_yaml'}++) |
|
2398
|
0 |
0 |
unless ($$self{'have_complained_about_missing_yaml'}++) |
|
2406
|
0 |
0 |
if ($result->is_warning) { } |
|
|
0 |
0 |
elsif ($result->is_fatal) { } |
|
2423
|
0 |
0 |
unless ($pref->has_any_match) |
|
2427
|
0 |
0 |
unless ($pref->has_valid_subkeys) |
|
2444
|
0 |
0 |
if ($pref->matches($arg)) |
|
2460
|
0 |
0 |
if (exists $$self{'negative_prefs_cache'} and $$self{'negative_prefs_cache'} != $CPAN::CurrentCommandId) |
|
2467
|
0 |
0 |
if (exists $$self{'prefs'}) |
|
2470
|
0 |
0 |
if ($$CPAN::Config{'prefs_dir'}) |
|
2471
|
0 |
0 |
if $CPAN::DEBUG |
|
2474
|
0 |
0 |
if $CPAN::DEBUG |
|
2475
|
0 |
0 |
if ($prefs) |
|
2486
|
0 |
0 |
if $filler2 < 0 |
|
2505
|
0 |
0 |
if ($prefs and exists $$prefs{$phase} and exists $$prefs{$phase}{'args'} and $$prefs{$phase}{'args'}) |
|
2526
|
0 |
0 |
if ($$self{'modulebuild'}) { } |
|
2549
|
0 |
0 |
if ($self) { } |
|
2574
|
0 |
0 |
unless $mimc |
|
2580
|
0 |
0 |
if $^O eq 'MSWin32' |
|
2589
|
0 |
0 |
unless exists $$prereq_pm{'opt_requires'}{$prereq} |
|
2599
|
0 |
0 |
unless @prereq_tuples |
|
2604
|
0 |
0 |
if ($$p[1] =~ /^(r|c)$/) { } |
|
|
0 |
0 |
elsif ($$p[1] =~ /^(b)$/) { } |
|
2608
|
0 |
0 |
if ($reqtype =~ /^(r|c)$/) { } |
|
2625
|
0 |
0 |
length $unsat > length $pretty_id ? : |
|
2639
|
0 |
0 |
$self->is_locally_optional(undef, $$_[0]) ? : |
|
2644
|
0 |
0 |
if ($$CPAN::Config{'prerequisites_policy'} eq 'follow') { } |
|
|
0 |
0 |
elsif ($$CPAN::Config{'prerequisites_policy'} eq 'ask') { } |
|
2657
|
0 |
0 |
if ($follow) |
|
2663
|
0 |
0 |
if ($optional and $self->is_locally_optional(undef, $prereq)) { } |
|
2672
|
0 |
0 |
if ($any) { } |
|
2673
|
0 |
0 |
unless ($optional) |
|
2687
|
0 |
0 |
if (@to_queue_mand) { } |
|
|
0 |
0 |
elsif (@to_queue_opt) { } |
|
2702
|
0 |
0 |
unless my $optf = $$meta_yml{'optional_features'} |
|
2703
|
0 |
0 |
if (not ref $optf or ref $optf ne 'HASH') |
|
2707
|
0 |
0 |
unless my $wantf = $self->prefs->{'features'} |
|
2708
|
0 |
0 |
if (not ref $wantf or ref $wantf ne 'ARRAY') |
|
2714
|
0 |
0 |
if (my $f = $$optf{$wf}) { } |
|
2722
|
0 |
0 |
unless my $reqhash = $$f{$reqtype} |
|
2740
|
0 |
0 |
unless $CPAN::META->has_usable('CPAN::Meta::Requirements') |
|
2745
|
0 |
0 |
if ($slot eq 'configure_requires_later') { } |
|
|
0 |
0 |
elsif ($slot eq 'later') { } |
|
2754
|
0 |
0 |
if (-f 'Build.PL' and not -f 'File::Spec'->catfile($$self{'build_dir'}, 'Makefile.PL') and not $merged->requirements_for_module('Module::Build') and not $CPAN::META->has_inst('Module::Build')) |
|
2771
|
0 |
0 |
unless $$prereq_pm_0{$reqtype} |
|
2773
|
0 |
0 |
unless $$dep{$reqtype} |
|
2804
|
0 |
0 |
unless $CPAN::META->has_usable('CPAN::Meta::Requirements') |
|
2808
|
0 |
0 |
if $CPAN::DEBUG |
|
2812
|
0 |
0 |
if ($need_module eq 'perl') { } |
|
2816
|
0 |
0 |
if (CPAN::_sqlite_running()) |
|
2821
|
0 |
0 |
if $nmo->uptodate |
|
2826
|
0 |
0 |
if ($available_file and !defined($need_version) || $need_version eq '0' || $need_version eq 'undef') |
|
2832
|
0 |
0 |
unless ($nmo->inst_deprecated) |
|
2847
|
0 |
0 |
if ($available_file) |
|
2855
|
0 |
0 |
if ($inst_file and $available_file eq $inst_file and $nmo->inst_deprecated) { } |
|
|
0 |
0 |
elsif ($$self{'reqtype'} =~ /^(r|c)$/ and exists $$prereq_pm{'requires'}{$need_module} || exists $$prereq_pm{'opt_requires'} and $nmo and not $inst_file) { } |
|
2864
|
0 |
0 |
if ($fulfills_all_version_rqs and $nmo->id =~ /^CPANPLUS(?:::Dist::Build)$/) |
|
2883
|
0 |
0 |
if ($$need_distro{'install'} and $$need_distro{'install'}->failed and $$need_distro{'install'}->text =~ /is only/) |
|
2884
|
0 |
0 |
if $CPAN::DEBUG |
|
2892
|
0 |
0 |
if $fulfills_all_version_rqs |
|
2896
|
0 |
0 |
if ($need_module eq 'perl') |
|
2900
|
0 |
0 |
if $CPAN::DEBUG |
|
2901
|
0 |
0 |
if (my $sponsoring = $$self{'sponsored_mods'}{$need_module}++) |
|
2931
|
0 |
0 |
unless $do |
|
2932
|
0 |
0 |
if ('CPAN::Version'->vcmp($need_version, $nmo->ro->{'CPAN_VERSION'}) > 0) |
|
2949
|
0 |
0 |
if ($$do{$nosayer}) |
|
2952
|
0 |
0 |
UNIVERSAL::can($$do{$nosayer}, 'failed') ? : |
|
|
0 |
0 |
if (UNIVERSAL::can($$do{$nosayer}, 'failed') ? $$do{$nosayer}->failed : $$do{$nosayer} =~ /^NO/) { } |
|
2955
|
0 |
0 |
if ($nosayer eq 'make_test' and $$do{'make_test'}{'COMMANDID'} != $CPAN::CurrentCommandId) |
|
2962
|
0 |
0 |
if ($self->is_locally_optional($prereq_pm, $need_module)) { } |
|
2977
|
0 |
0 |
if ($nosayer =~ /^(install|make_test)$/) |
|
2996
|
0 |
0 |
if (do {
exists $$prereq_pm{'opt_requires'}{$need_module} unless exists $$prereq_pm{'requires'}{$need_module}
}) { } |
|
|
0 |
0 |
elsif ($slot eq 'configure_requires_later') { } |
|
2997
|
0 |
0 |
unless exists $$prereq_pm{'requires'}{$need_module} |
|
3019
|
0 |
0 |
if $CPAN::DEBUG |
|
3029
|
0 |
0 |
if ($rq =~ s/>=\s*//) { } |
|
|
0 |
0 |
elsif ($rq =~ s/>\s*//) { } |
|
|
0 |
0 |
elsif ($rq =~ s/!=\s*//) { } |
|
|
0 |
0 |
elsif ($rq =~ /<=?\s*/) { } |
|
|
0 |
0 |
elsif ($rq =~ s/==\s*//) { } |
|
3032
|
0 |
0 |
if ('CPAN::Version'->vgt($available_version, $rq)) |
|
3038
|
0 |
0 |
if ('CPAN::Version'->vcmp($available_version, $rq)) { } |
|
3052
|
0 |
0 |
if ('CPAN::Version'->vcmp($available_version, $rq)) { } |
|
3060
|
0 |
0 |
unless ('CPAN::Version'->vgt($rq, $available_version)) |
|
3063
|
0 |
0 |
if $CPAN::DEBUG |
|
3073
|
0 |
0 |
if $CPAN::DEBUG |
|
3081
|
2 |
28 |
unless my $meta_file = $self->pick_meta_file |
|
3084
|
0 |
28 |
unless $CPAN::META->has_usable('CPAN::Meta') |
|
3085
|
0 |
28 |
unless my $meta = eval {
do {
'CPAN::Meta'->load_file($meta_file)
}
} |
|
3089
|
0 |
28 |
if ($meta_file eq 'META.yml' and $meta->generated_by =~ /ExtUtils::MakeMaker version ([\d\._]+)/) |
|
3093
|
0 |
0 |
if $eummv < 6.2501 |
|
3104
|
0 |
0 |
if $CPAN::DEBUG |
|
3105
|
0 |
0 |
unless $meta_file |
|
3108
|
0 |
0 |
if ($@ or not $yaml) |
|
3112
|
0 |
0 |
if (defined $yaml and !ref($yaml) || ref $yaml ne 'HASH') |
|
3116
|
0 |
0 |
if $CPAN::DEBUG |
|
3118
|
0 |
0 |
if $CPAN::DEBUG and $yaml |
|
3120
|
0 |
0 |
if ($meta_file =~ /MYMETA\.yml/) |
|
3124
|
0 |
0 |
if (defined $$yaml{'dynamic_config'} and not $$yaml{'dynamic_config'}) |
|
3134
|
0 |
0 |
unless my $meta_file = $self->pick_meta_file('^META') |
|
3135
|
0 |
0 |
if (my $meta_obj = $self->read_meta) { } |
|
3138
|
0 |
0 |
$cr ? : |
|
3149
|
0 |
8 |
unless $$self{'writemakefile'} or $$self{'modulebuild'} |
|
3152
|
0 |
8 |
unless ($$self{'build_dir'}) |
|
3156
|
0 |
8 |
unless -f 'File::Spec'->catfile($$self{'build_dir'}, 'Makefile') or -f 'File::Spec'->catfile($$self{'build_dir'}, 'Build') |
|
3158
|
0 |
8 |
if $CPAN::DEBUG |
|
3165
|
8 |
0 |
if ($meta_obj and not $meta_obj->dynamic_config) { } |
|
|
0 |
0 |
elsif (my $yaml = $self->read_yaml) { } |
|
3179
|
0 |
8 |
if ($$CPAN::Config{'recommends_policy'}) |
|
3185
|
0 |
8 |
if ($$CPAN::Config{'suggests_policy'}) |
|
3196
|
0 |
0 |
if ($$CPAN::Config{'recommends_policy'}) |
|
3199
|
0 |
0 |
unless ref $req eq 'HASH' and %$req |
|
3200
|
0 |
0 |
if ($req) |
|
3201
|
0 |
0 |
if ($$yaml{'generated_by'} and $$yaml{'generated_by'} =~ /ExtUtils::MakeMaker version ([\d\._]+)/) |
|
3204
|
0 |
0 |
if ($eummv < 6.2501) |
|
3213
|
0 |
0 |
unless $req |
|
3214
|
0 |
0 |
unless defined $v |
|
3215
|
0 |
0 |
if ($v =~ /\d/) { } |
|
|
0 |
0 |
elsif ($k =~ /[A-Za-z]/ and $v =~ /[A-Za-z]/ and $CPAN::META->exists('CPAN::Module', $v)) { } |
|
3230
|
0 |
0 |
if $do_replace |
|
3238
|
0 |
8 |
unless ($req or $breq) |
|
3240
|
0 |
0 |
unless ($build_dir = $$self{'build_dir'}) |
|
3245
|
0 |
0 |
if (-f $makefile and $fh = 'FileHandle'->new("<$makefile\000")) |
|
3248
|
0 |
0 |
if $CPAN::DEBUG |
|
3251
|
0 |
0 |
if /MakeMaker post_initialize section/ |
|
3255
|
0 |
0 |
unless $p |
|
3267
|
0 |
0 |
if (defined $$req{$m}) |
|
3270
|
0 |
0 |
if ($n =~ /^q\[(.*?)\]$/) |
|
3273
|
0 |
0 |
if (not $prevn or 'CPAN::Version'->vlt($prevn, $n)) |
|
3281
|
0 |
8 |
unless ($req or $breq) |
|
3282
|
0 |
0 |
unless my $build_dir = $$self{'build_dir'} |
|
3284
|
0 |
0 |
if (-f $buildfile) |
|
3285
|
0 |
0 |
if $CPAN::DEBUG |
|
3287
|
0 |
0 |
if (-f $build_prereqs) |
|
3288
|
0 |
0 |
if $CPAN::DEBUG |
|
3290
|
0 |
0 |
unless open FH, $build_prereqs |
|
3297
|
0 |
0 |
if ($@) { } |
|
3306
|
8 |
0 |
if ($req or $breq or $opt_req or $opt_breq) |
|
3322
|
0 |
0 |
if $CPAN::DEBUG |
|
3324
|
0 |
0 |
if ($$self{'badtestcnt'} > 0) |
|
3326
|
0 |
0 |
if $CPAN::DEBUG |
|
3331
|
0 |
0 |
if $CPAN::DEBUG |
|
3332
|
0 |
0 |
if $$self{$slot} |
|
3336
|
0 |
0 |
if $CPAN::DEBUG |
|
3337
|
0 |
0 |
if ($$self{'make_test'}) |
|
3338
|
0 |
0 |
UNIVERSAL::can($$self{'make_test'}, 'failed') ? : |
|
|
0 |
0 |
if (UNIVERSAL::can($$self{'make_test'}, 'failed') ? $$self{'make_test'}->failed : $$self{'make_test'} =~ /^NO/) { } |
|
3343
|
0 |
0 |
if (UNIVERSAL::can($$self{'make_test'}, 'commandid') and $$self{'make_test'}->commandid == $CPAN::CurrentCommandId) |
|
3353
|
0 |
0 |
if ($self->tested_ok_but_not_installed) |
|
3360
|
0 |
0 |
if ($$self{'notest'}) |
|
3371
|
0 |
0 |
unless $$self{'writemakefile'} or $$self{'modulebuild'} |
|
3374
|
0 |
0 |
unless ($$self{'build_dir'}) |
|
3377
|
0 |
0 |
if $CPAN::DEBUG |
|
3382
|
0 |
0 |
unless ($build_dir = $$self{'build_dir'}) |
|
3388
|
0 |
0 |
if (-f $makefile and $fh = 'FileHandle'->new("<$makefile\000")) |
|
3391
|
0 |
0 |
if $CPAN::DEBUG |
|
3394
|
0 |
0 |
if /MakeMaker post_initialize section/ |
|
3398
|
0 |
0 |
unless $p |
|
3402
|
0 |
0 |
if ($p2 =~ /^q\[(.+)\]/) |
|
3408
|
0 |
0 |
if @exe_files |
|
3410
|
0 |
0 |
if (-f $buildparams) |
|
3411
|
0 |
0 |
if $CPAN::DEBUG |
|
3413
|
0 |
0 |
unless $$x[2]{'script_files'} |
|
3424
|
0 |
0 |
if $CPAN::DEBUG |
|
3425
|
0 |
0 |
if (my $goto = $self->prefs->{'goto'}) |
|
3430
|
0 |
0 |
unless $self->make |
|
3432
|
0 |
0 |
if (defined(my $sc = $self->shortcut_test)) |
|
3436
|
0 |
0 |
if ($CPAN::Signal) |
|
3441
|
0 |
0 |
$$self{'modulebuild'} ? : |
|
3443
|
0 |
0 |
defined $ENV{'PERL5LIB'} ? : |
|
3447
|
0 |
0 |
defined $ENV{'PERL5OPT'} ? : |
|
3450
|
0 |
0 |
if $$CPAN::Config{'use_prompt_default'} |
|
3451
|
0 |
0 |
if $$CPAN::Config{'use_prompt_default'} |
|
3455
|
0 |
0 |
unless my $builddir = $self->dir |
|
3458
|
0 |
0 |
unless (chdir($builddir)) |
|
3463
|
0 |
0 |
if $CPAN::DEBUG |
|
3466
|
0 |
0 |
if ($^O eq 'MacOS') |
|
3471
|
0 |
0 |
if ($$self{'modulebuild'}) |
|
3474
|
0 |
0 |
if ('CPAN::Version'->vlt($v, 2.62)) |
|
3478
|
0 |
0 |
unless ($self->id eq $thm->distribution->id) |
|
3487
|
0 |
0 |
unless ($$self{'force_update'}) |
|
3490
|
0 |
0 |
if ($$CPAN::Config{'trust_test_report_history'} and $CPAN::META->has_inst('CPAN::Reporter::History') and $have_tested_fcn = 'CPAN::Reporter::History'->can('have_tested')) |
|
3493
|
0 |
0 |
if (my(@reports) = &$have_tested_fcn('dist', $self->base_id)) |
|
3495
|
0 |
0 |
if ($reports[-1]{'grade'} =~ /^(?:PASS|UNKNOWN)$/) { } |
|
|
0 |
0 |
elsif ($reports[-1]{'grade'} =~ /^(?:FAIL|NA)$/) { } |
|
3499
|
0 |
0 |
if ($self->tested_ok_but_not_installed) |
|
3517
|
0 |
0 |
exists $$prefs_test{'commandline'} ? : |
|
|
0 |
0 |
if (my $commandline = exists $$prefs_test{'commandline'} ? $$prefs_test{'commandline'} : '') { } |
|
|
0 |
0 |
elsif ($$self{'modulebuild'}) { } |
|
3523
|
0 |
0 |
unless (-e 'Build' or $^O eq 'VMS' and -e 'Build.com') |
|
3531
|
0 |
0 |
$make_test_arg ? : |
|
3537
|
0 |
0 |
if ($self->prefs->{'test'}) |
|
3540
|
0 |
0 |
if $test_env |
|
3543
|
0 |
0 |
if ($expect_model and @{$$expect_model{'talk'};}) |
|
3545
|
0 |
0 |
if ($can_expect) { } |
|
3552
|
0 |
0 |
if ($want_expect) { } |
|
|
0 |
0 |
elsif ($self->_should_report('test')) { } |
|
3553
|
0 |
0 |
if ($self->_should_report('test')) |
|
3566
|
0 |
0 |
if ($tests_ok) { } |
|
3567
|
0 |
0 |
if ($but) |
|
3580
|
0 |
0 |
if ($but) { } |
|
|
0 |
0 |
elsif ($$self{'force_update'}) { } |
|
3602
|
0 |
0 |
$$self{'force_update'} ? : |
|
3611
|
0 |
0 |
unless $$self{'sponsored_mods'}{$m} > 0 |
|
3612
|
0 |
0 |
unless my $m_obj = 'CPAN::Shell'->expand('Module', $m) |
|
3618
|
0 |
0 |
if ($available_version and not 'CPAN::Version'->vlt($available_version, $$self{'prereq_pm'}{$m})) { } |
|
|
0 |
0 |
elsif ($available_file and !$$self{'prereq_pm'}{$m} || $$self{'prereq_pm'}{$m} == 0) { } |
|
3621
|
0 |
0 |
if $CPAN::DEBUG |
|
3631
|
0 |
0 |
if $CPAN::DEBUG |
|
3634
|
0 |
0 |
if $$m_obj{'mandatory'} |
|
3639
|
0 |
0 |
if (@prereq) |
|
3642
|
0 |
0 |
$cnt == 1 ? : |
|
3650
|
0 |
0 |
unless my $prefs = $self->prefs |
|
3651
|
0 |
0 |
unless my $where_prefs = $$prefs{$where} |
|
3652
|
0 |
0 |
if ($$where_prefs{'expect'}) { } |
|
|
0 |
0 |
elsif ($$where_prefs{'eexpect'}) { } |
|
3667
|
0 |
0 |
$$self{'modulebuild'} ? : |
|
3669
|
0 |
0 |
unless (exists $$self{'archived'}) |
|
3674
|
0 |
0 |
unless (exists $$self{'build_dir'}) |
|
3678
|
0 |
0 |
if (exists $$self{'writemakefile'} and $$self{'writemakefile'}->failed) |
|
3686
|
0 |
0 |
if exists $$self{'make_clean'} and $$self{'make_clean'} eq 'YES' |
|
3688
|
0 |
0 |
if @e |
|
3690
|
0 |
0 |
unless chdir($$self{'build_dir'}) |
|
3692
|
0 |
0 |
if $CPAN::DEBUG |
|
3694
|
0 |
0 |
if ($^O eq 'MacOS') |
|
3700
|
0 |
0 |
if ($$self{'modulebuild'}) { } |
|
3701
|
0 |
0 |
unless (-f 'Build') |
|
3713
|
0 |
0 |
if ($system_ok) { } |
|
3750
|
0 |
0 |
if $CPAN::DEBUG |
|
3751
|
0 |
0 |
if ($self->prefs->{'disabled'} and not $$self{'force_update'}) |
|
3797
|
0 |
0 |
if $CPAN::DEBUG |
|
3798
|
0 |
0 |
if (exists $$self{'install'}) |
|
3799
|
0 |
0 |
UNIVERSAL::can($$self{'install'}, 'text') ? : |
|
3802
|
0 |
0 |
if ($text =~ /^YES/) { } |
|
|
0 |
0 |
elsif ($text =~ /is only/) { } |
|
3815
|
0 |
0 |
if $$self{$slot} |
|
3826
|
0 |
0 |
if $CPAN::DEBUG |
|
3827
|
0 |
0 |
if (my $goto = $self->prefs->{'goto'}) |
|
3832
|
0 |
0 |
unless $self->test |
|
3834
|
0 |
0 |
if (defined(my $sc = $self->shortcut_install)) |
|
3838
|
0 |
0 |
if ($CPAN::Signal) |
|
3843
|
0 |
0 |
unless my $builddir = $self->dir |
|
3846
|
0 |
0 |
unless (chdir($builddir)) |
|
3851
|
0 |
0 |
if $CPAN::DEBUG |
|
3854
|
0 |
0 |
$$self{'modulebuild'} ? : |
|
3857
|
0 |
0 |
if ($^O eq 'MacOS') |
|
3863
|
0 |
0 |
if (my $commandline = $self->prefs->{'install'}{'commandline'}) { } |
|
|
0 |
0 |
elsif ($$self{'modulebuild'}) { } |
|
3867
|
0 |
0 |
exists $CPAN::HandleConfig::keys{'mbuild_install_build_command'} && $$CPAN::Config{'mbuild_install_build_command'} ? : |
|
3872
|
0 |
0 |
$^O eq 'VMS' ? : |
|
3887
|
0 |
0 |
$^O eq 'MSWin32' || $^O eq 'VMS' ? : |
|
3894
|
0 |
0 |
if ($reqtype eq 'b') |
|
3895
|
0 |
0 |
if ($brip eq 'no') { } |
|
|
0 |
0 |
elsif ($brip =~ m[^ask/(.+)]) { } |
|
3899
|
0 |
0 |
unless $default =~ /^(y|n)/i |
|
3907
|
0 |
0 |
unless ($want_install =~ /^y/i) |
|
3913
|
0 |
0 |
defined $ENV{'PERL5LIB'} ? : |
|
3917
|
0 |
0 |
defined $ENV{'PERL5OPT'} ? : |
|
3919
|
0 |
0 |
if $$CPAN::Config{'use_prompt_default'} |
|
3920
|
0 |
0 |
if $$CPAN::Config{'use_prompt_default'} |
|
3934
|
0 |
0 |
if ($close_ok) { } |
|
3944
|
0 |
0 |
if ($makeout =~ /permission/s and $> > 0 and !$mimc || $mimc eq 'CPAN::HandleConfig'->prefs_lookup($self, 'make')) |
|
3985
|
0 |
0 |
if ($CPAN::META->has_inst('Pod::Perldocs')) { } |
|
3986
|
0 |
0 |
unless my($perl) = $self->perl |
|
3991
|
0 |
0 |
unless (($wstatus = system(@args)) == 0) |
|
4009
|
0 |
0 |
if $CPAN::DEBUG |
|
4012
|
0 |
0 |
if ($CPAN::META->has_inst('File::Which')) { } |
|
4016
|
0 |
0 |
unless $pid = open(README, "which $binary|") |
|
4018
|
0 |
0 |
unless $pid |
|
4022
|
0 |
0 |
unless close README |
|
4027
|
0 |
0 |
if $CPAN::DEBUG and $out |
|
4038
|
0 |
0 |
if $CPAN::DEBUG |
|
4045
|
0 |
0 |
$web_browser ? : |
|
4049
|
0 |
0 |
if ($web_browser_out) { } |
|
4052
|
0 |
0 |
if $CPAN::DEBUG |
|
4061
|
0 |
0 |
if ($saved_file) |
|
4068
|
0 |
0 |
if ($html_converter_out) { } |
|
4071
|
0 |
0 |
unless defined $saved_file |
|
4075
|
0 |
0 |
unless $pid = open(README, "$html_converter $saved_file |") |
|
4079
|
0 |
0 |
if ($CPAN::META->has_usable('File::Temp')) { } |
|
4090
|
0 |
0 |
unless open $fh, ">$filename" |
|
4095
|
0 |
0 |
unless close README |
|
4098
|
0 |
0 |
if $CPAN::DEBUG |
|
4107
|
0 |
0 |
unless open FH, $tmpin |
|
4112
|
0 |
0 |
unless $fh_pager->open("|$pager") |
|
4135
|
0 |
0 |
if $CPAN::DEBUG |
|
4139
|
0 |
0 |
if ($CPAN::META->has_usable('File::Temp')) { } |
|
4152
|
0 |
0 |
if ($CPAN::META->has_usable('LWP')) { } |
|
4159
|
0 |
0 |
if ($@) { } |
|
4164
|
0 |
0 |
if $var = $$CPAN::Config{'http_proxy'} || $ENV{'http_proxy'} |
|
4166
|
0 |
0 |
if $var = $$CPAN::Config{'no_proxy'} || $ENV{'no_proxy'} |
|
4173
|
0 |
0 |
if ($res->is_success) { } |
|
4174
|
0 |
0 |
if $CPAN::DEBUG |
|
4178
|
0 |
0 |
if $CPAN::DEBUG |
|
4198
|
0 |
0 |
if ($^O eq 'MSWin32') { } |
|
|
0 |
0 |
elsif ($^O eq 'VMS') { } |
|
4201
|
0 |
0 |
unless my($perl) = $self->perl |
|
4213
|
0 |
0 |
unless defined $phase |
|
4219
|
0 |
0 |
unless $test_report |
|
4222
|
0 |
0 |
if exists $$self{'should_report'} |
|
4226
|
0 |
0 |
if ($$self{'had_no_makefile_pl'}) |
|
4234
|
0 |
0 |
unless ($CPAN::META->has_inst('CPAN::Reporter')) |
|
4243
|
0 |
0 |
if ('CPAN::Version'->vlt($crv, 0.99)) |
|
4245
|
0 |
0 |
if ($phase eq 'test') { } |
|
4258
|
0 |
0 |
if ($self->is_dot_dist) |
|
4263
|
0 |
0 |
if ($self->prefs->{'patches'} and @{$self->prefs->{'patches'};} and $$self{'patched'}) |
|
4284
|
0 |
0 |
unless ($CPAN::META->has_inst('CPAN::DistnameInfo')) |
|
4287
|
0 |
0 |
unless ($CPAN::META->has_usable('LWP')) |
|
4290
|
0 |
0 |
unless ($CPAN::META->has_usable('File::Temp')) |
|
4308
|
0 |
0 |
if ($@) |
|
4313
|
0 |
0 |
unless ($resp->is_success) |
|
4327
|
0 |
0 |
unless close $fh |
|
4329
|
0 |
0 |
unless unlink $tfilename |
|
4334
|
0 |
0 |
if ($rversion eq $version) { } |
|
4335
|
0 |
0 |
unless ($this_version_seen++) |
|
4341
|
0 |
0 |
$arch eq $Config::Config{'archname'} ? : |
|
|
0 |
0 |
$grade eq 'FAIL' ? : |
|
|
0 |
0 |
$grade eq 'PASS' ? : |
|
4355
|
0 |
0 |
unless ($this_version_seen) |