| line |
true |
false |
branch |
| 15 |
1 |
0 |
if not 'CPANPLUS::Dist::Build'->can('BUILD') && 'CPANPLUS::Dist::Build'->can('BUILD_DIR') |
| 153 |
0 |
8 |
unless (can_load('modules', {$mod, '0.2611'})) |
| 215 |
7 |
0 |
if $self->status->dist_cpan |
| 216 |
0 |
7 |
unless $self->status->dist_cpan |
| 223 |
0 |
7 |
unless ($dir = $self->status->extract) |
| 241 |
0 |
7 |
unless $args = check($tmpl, \%hash) |
| 244 |
0 |
7 |
if $dist->status->prepared and not $force |
| 250 |
0 |
7 |
unless ($cb->_chdir('dir', $dir)) |
| 281 |
1 |
6 |
if (not $mb or $@) |
| 293 |
0 |
7 |
if ($fail and $conf->get_conf('cpantest')) |
| 294 |
0 |
0 |
unless $cb->_send_report('module', $self, 'failed', $fail, 'buffer', 'CPANPLUS::Error'->stack_as_string, 'verbose', $verbose, 'force', $force) |
| 304 |
0 |
7 |
unless ($cb->_chdir('dir', $orig)) |
| 312 |
1 |
6 |
$fail ? : |
| 334 |
6 |
0 |
$cb->_callbacks->can('filter_prereqs') ? : |
| 355 |
0 |
0 |
if $$status{'ok'} |
| 363 |
0 |
0 |
unless ($$status{'ok'}) |
| 401 |
4 |
0 |
if $self->status->dist_cpan |
| 402 |
0 |
4 |
unless $self->status->dist_cpan |
| 410 |
0 |
4 |
unless ($dir = $self->status->extract) |
| 437 |
0 |
4 |
unless $args = check($tmpl, \%hash) |
| 440 |
0 |
4 |
if $dist->status->created and not $force |
| 445 |
0 |
4 |
unless ($dist->status->prepared) |
| 453 |
0 |
4 |
unless ($cb->_chdir('dir', $dir)) |
| 477 |
0 |
4 |
if $self->best_path_to_module_build |
| 498 |
0 |
4 |
unless ($cb->_chdir('dir', $dir)) |
| 503 |
0 |
4 |
unless ($ok) |
| 513 |
0 |
4 |
if ($@) |
| 529 |
0 |
0 |
if (not $skiptest) { } |
| 531 |
0 |
0 |
if ($@) { } |
| 538 |
0 |
0 |
unless ($force) |
| 550 |
0 |
0 |
unless ($cb->_chdir('dir', $orig)) |
| 555 |
0 |
4 |
if ($conf->get_conf('cpantest') and not $prereq_fail) |
| 556 |
0 |
4 |
unless $cb->_send_report('module', $self, 'failed', $test_fail || $fail, 'buffer', 'CPANPLUS::Error'->stack_as_string, 'verbose', $verbose, 'force', $force, 'tests_skipped', $skiptest) |
| 567 |
0 |
0 |
$fail ? : |
| 586 |
0 |
4 |
if $self->status->dist_cpan |
| 604 |
0 |
4 |
unless my $args = check($tmpl, \%hash) |
| 609 |
2 |
0 |
unless ($dir = $self->status->extract) |
| 616 |
0 |
2 |
unless ($cb->_chdir('dir', $dir)) |
| 622 |
0 |
2 |
if (defined $self->status->installed and not $self->status->installed and not $force) |
| 635 |
0 |
2 |
if ($>) { } |
| 642 |
0 |
2 |
if $sudo |
| 646 |
0 |
2 |
unless (scalar run('command', $cmd, 'buffer', \$buffer, 'verbose', $verbose)) |
| 657 |
0 |
2 |
if ($@) |
| 664 |
0 |
0 |
unless ($cb->_chdir('dir', $orig)) |
| 668 |
2 |
0 |
$fail ? : |
| 674 |
0 |
2 |
unless my $flags = shift @_ |
| 691 |
0 |
2 |
if $self->status->dist_cpan |
| 700 |
0 |
11 |
unless ($dir = $self->status->extract) |
| 707 |
0 |
0 |
unless ($cb->_chdir('dir', $dir)) |
| 713 |
0 |
0 |
unless $dist->prepare(@_) |
| 718 |
0 |
0 |
if ($@) |
| 727 |
0 |
0 |
unless (-d $distdir) |
| 733 |
0 |
0 |
unless ($cb->_chdir('dir', $orig)) |
| 738 |
0 |
0 |
if $fail |