Branch Coverage

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


line true false branch
354 2 17 if (&Scalar::Util::blessed($class))
366 10 7 if (@_) { }
419 8 34 if ($method eq 'add_fixtures' and $self->{'_no_fixtures_in_constructor'}) { }
1 60 elsif ($method eq 'set_name' and not $self->{'_fixtures_have_been_set'}) { }
431 4 29 unless (@{$self->{'tests'};})
444 1 28 if ($next_test->{'method'} ne $method)
462 8 20 if (ref $next_test->{'input'} eq 'CODE') { }
3 17 elsif (not Compare(\@args, $next_test->{'input'})) { }
464 1 7 unless ($next_test->{'input'}->(@args))
485 2 23 if (ref $output eq 'REF' and ref ${$output;} eq 'CODE') { }
497 1 16 if (@{$self->{'tests'};})