Branch Coverage

lib/CPANPLUS/Internals/Report.pm
Criterion Covered Total %
branch 0 90 0.0


line true false branch
77 0 0 unless my $args = check($tmpl, \%hash)
79 0 0 can_load('modules', $query_list, 'verbose', $$args{'verbose'}) ? :
93 0 0 unless my $args = check($tmpl, \%hash)
95 0 0 can_load('modules', $send_list, 'verbose', $$args{'verbose'}) ? :
156 0 0 unless check($tmpl, \%hash)
159 0 0 unless $self->_have_query_report_modules('verbose', 1)
175 0 0 unless ($res->is_success)
187 0 0 unless $all or defined $$href{'distversion'} and $$href{'distversion'} eq $dist
190 0 0 $$href{'action'} eq 'FAIL' ? :
199 0 0 if @rv
276 0 0 unless ($self->_have_send_report_modules('verbose', 1))
301 0 0 unless check($tmpl, \%hash)
318 0 0 if ($failed) { }
319 0 0
0 0
0 0
0 0
360 0 0 if ($grade eq 'fail' or $grade eq 'unknown') { }
0 0 elsif ($tests_skipped) { }
363 0 0 if (my(@missing) = sub {
373 0 0 if $cp_conf =~ /\bmaketest_only\b/i and not $stage =~ /\btest\b/
383 0 0 if (my(@missing) = sub {
384 0 0 if (not $self->_verify_missing_prereqs('module', $mod, 'missing', \@missing))
396 0 0 if (sub {
416 0 0 unless ($dont_cc_author)
417 0 0 if ($cp_conf =~ /\bdont_cc\b/i) { }
0 0 elsif ($grade eq 'pass') { }
0 0 elsif ($grade eq 'fail') { }
430 0 0 if (@already_sent)
432 0 0 if uc $$href{'grade'} eq 'FAIL'
436 0 0 if ($count > 2 and not $force)
454 0 0 if $conf->get_conf('cpantest_mx')
458 0 0 if not $conf->get_conf('email') =~ /\@example\.\w+$/i
465 0 0 if defined $message and length $message
468 0 0 unless ($self->_callbacks->send_test_report->($mod, $grade))
474 0 0 if ($self->_callbacks->edit_test_report->($mod, $grade))
478 0 0 if $conf->get_program('editor')
492 0 0 if ($save) { }
0 0 elsif ($reporter->send(@inform)) { }
493 0 0 if (my $file = $reporter->write) { }
529 0 0 unless check($tmpl, \%hash)
545 0 0 $extract ? :
546 0 0 $extract ? :
549 0 0 if (-e $file and -r $file)
559 0 0 if keys %missing