Branch Coverage

blib/lib/Test/Class/Tiny.pm
Criterion Covered Total %
branch 24 40 60.0


line true false branch
180 0 1 unless ($self->{'_running'})
190 0 1 unless $name
192 0 1 if (@_ == 2)
208 0 3 unless (ref $self)
215 0 3 if (my $reason = $self->SKIP_CLASS) { }
223 0 3 if (my $startup_hr = $self->{'startup'})
230 3 0 if (my $tests_hr = $self->{'test'})
233 0 8 if (my $ptn = $ENV{'TEST_METHOD'})
234 0 0 unless $fn =~ /$ptn/
237 0 8 if ($ENV{'TEST_VERBOSE'})
250 30 20 if $event->increments_count
252 3 47 if ($event->can('name') and not defined $event->name)
264 0 8 unless (eval { do { $self->$fn; 1 } })
269 7 1 if ($want_count)
270 0 7 if ($want_count != $got_count)
279 0 3 if (my $shutdown_hr = $self->{'shutdown'})
294 3 0 unless ($self->{'_analyzed'})
304 17 381 unless $self->can($name)
305 374 7 unless $name =~ /\AT(_setup|_teardown|_startup|_shutdown|[0-9]+)_(.+)/
310 0 7 if ($whatsit =~ s/\A_//) { }