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)
290 0 4 if (my $reason = $self->SKIP_CLASS) { }
297 0 4 if (my $startup_hr = $self->{'startup'})
301 4 0 if (my $tests_hr = $self->{'test'})
310 4 0 unless defined $hub->plan
315 17 1 if $event->increments_count
317 9 9 if ($event->can('name') and not defined $event->name)
329 0 12 unless $tests_hr->{$a}{'simple_name'} cmp $tests_hr->{$b}{'simple_name'}
336 0 12 if (my $ptn = $ENV{'TEST_METHOD'})
337 0 0 unless $fn =~ /$ptn/
340 0 12 if ($ENV{'TEST_VERBOSE'})
353 0 12 unless (eval { do { $self->$fn; 1 } })
358 11 1 if ($want_count)
359 0 11 if ($want_count != $got_count)
370 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}) { }