Branch Coverage

blib/lib/Test/Aggregate.pm
Criterion Covered Total %
branch 45 68 66.1


line true false branch
255 0 8 if ($self->{'no_generate_plan'})
281 0 8 if ($self->_dry)
293 0 7 if ($dump ne '')
295 0 0 unless open FH, "> $dump"
308 0 7 if (my $error = $@)
312 1 6 if $self->_startup
326 10 13 if $self->_setup
328 0 22 if (my $error = $@)
336 9 13 if $self->_teardown
338 1 5 if $self->_shutdown
350 0 38 unless ($passed)
361 0 23 if $ENV{'TEST_VERBOSE'}
363 2 21 if (my $reason = $builder->{'Test::Aggregate::Builder'}{'skip_all'}{$package}) { }
381 2 1 if ($@ and ref $@ and $@ == $Test::Aggregate::Builder::skip)
392 18 4 if defined $error
394 1 21 $failed || $error ? :
398 1 21 if ($verbose)
399 0 0 if $error or $failed or $verbose == $VERBOSE{'all'}
402 1 21 if ($error or $failed)
412 21 1 unless $error
427 8 0 if ($self->_findbin) { }
453 1 7 if ($startup)
471 0 23 if ($test_code =~ /^(__(?:DATA|END)__)/m)
477 10 13 if ($setup)
482 9 14 if ($teardown)
487 23 0 $self->_set_filenames ? :
505 1 6 if ($shutdown)
511 0 7 if (my $tidy = $self->_tidy)
515 0 0 if ($error and $dump) { }
0 0 elsif (not $error) { }
520 0 0 -f $tidy ? :
537 0 32 if $self->_no_streamer
553 1 23 unless open FH, "< $file"
561 0 8 unless ($self->_test_nowarnings)