Condition Coverage

lib/CPANPLUS/Dist/Build.pm
Criterion Covered Total %
condition 17 48 35.4


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
182 0 5 0 defined $metadata && exists $metadata->{'x_use_unsafe_inc'}
281 0 0 1 'version'->new($Module::Build::VERSION) >= $safe_ver and 'IPC::Cmd'->can_capture_buffer
316 0 0 1 $bphash and ref $bphash eq 'HASH'
318 3 0 0 $bphash->{$type} and ref $bphash->{$type} eq 'HASH'
394 2 2 0 $dist->status->created and not $force
460 0 4 0 defined $metadata && exists $metadata->{'x_use_unsafe_inc'}
561 4 0 0 $conf->get_conf('cpantest') and not $prereq_fail
623 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
636 0 2 0 defined $metadata && exists $metadata->{'x_use_unsafe_inc'}
662 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
218 2 2 0 $prereqs ||= $dist->_find_prereqs('verbose', $verbose, 'dir', $dir, 'perl', $perl, 'buildflags', $buildflags)
530 0 0 0 $force or $cb->_callbacks->proceed_on_test_failure->($self, $@)
562 0 0 0 $test_fail || $fail