Condition Coverage

lib/CPANPLUS/Dist/Build.pm
Criterion Covered Total %
condition 14 39 35.9


and 3 conditions

line !l l&&!r l&&r condition
19 1 0 0 'CPANPLUS::Dist::Build'->can('BUILD') && 'CPANPLUS::Dist::Build'->can('BUILD_DIR')
111 3 2 2 $dist->status->prepared and not $force
277 0 0 1 'version'->new($Module::Build::VERSION) >= $safe_ver and 'IPC::Cmd'->can_capture_buffer
312 0 0 1 $bphash and ref $bphash eq 'HASH'
314 3 0 0 $bphash->{$type} and ref $bphash->{$type} eq 'HASH'
390 2 2 0 $dist->status->created and not $force
553 4 0 0 $conf->get_conf('cpantest') and not $prereq_fail
615 2 0 0 defined $self->status->installed and not $self->status->installed
2 0 0 defined $self->status->installed and not $self->status->installed and not $force
650 0 0 0 defined $ENV{'PERL_MB_OPT'} and $ENV{'PERL_MB_OPT'} =~ /install_base/

or 3 conditions

line l !l&&r !l&&!r condition
214 2 2 0 $prereqs ||= $dist->_find_prereqs('verbose', $verbose, 'dir', $dir, 'perl', $perl, 'buildflags', $buildflags)
522 0 0 0 $force or $cb->_callbacks->proceed_on_test_failure->($self, $@)
554 0 0 0 $test_fail || $fail