Branch Coverage

blib/lib/Class/Mock/Generic/InterfaceTester.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
305 2 15 if (&Scalar::Util::blessed($class))
317 9 6 if (@_) { }
367 7 29 if ($method eq 'add_fixtures' and $self->{'_no_fixtures_in_constructor'}) { }
1 50 elsif ($method eq 'set_name' and not $self->{'_fixtures_have_been_set'}) { }
379 4 24 unless (@{$self->{'tests'};})
392 1 23 if ($next_test->{'method'} ne $method)
410 8 15 if (ref $next_test->{'input'} eq 'CODE') { }
3 12 elsif (not Compare(\@args, $next_test->{'input'})) { }
412 1 7 unless ($next_test->{'input'}->(@args))
433 2 18 if (ref $output eq 'REF' and ref ${$output;} eq 'CODE') { }
445 1 14 if (@{$self->{'tests'};})