Branch Coverage

blib/lib/Test/Class/Tiny.pm
Criterion Covered Total %
branch 29 50 58.0


line true false branch
251 0 1 unless ($self->{'_running'})
261 0 1 unless $name
263 0 1 if (@_ == 2)
276 3 1 unless (ref $self)
283 0 4 unless (ref $self)
292 0 4 if (my $reason = $self->SKIP_CLASS) { }
299 0 4 if (my $startup_hr = $self->{'startup'})
303 4 0 if (my $tests_hr = $self->{'test'})
312 4 0 unless defined $hub->plan
317 17 1 if $event->increments_count
319 9 9 if ($event->can('name') and not defined $event->name)
331 0 11 unless $tests_hr->{$a}{'simple_name'} cmp $tests_hr->{$b}{'simple_name'}
338 0 12 if (my $ptn = $ENV{'TEST_METHOD'})
339 0 0 unless $fn =~ /$ptn/
342 0 12 if ($ENV{'TEST_VERBOSE'})
355 0 12 unless (eval { do { $self->$fn; 1 } })
360 11 1 if ($want_count)
361 0 11 if ($want_count != $got_count)
372 0 4 if (my $shutdown_hr = $self->{'shutdown'})
383 4 0 unless ($self->{'_analyzed'})
397 30 565 unless $self->can($name)
401 11 554 if ($name =~ /$prefix_regexp/) { }
0 554 elsif ($name =~ /$suffix_regexp/) { }
413 0 11 if ($whatsit =~ s/_//) { }
435 0 0 if ($funcs_hr->{$fn}) { }