Branch Coverage

blib/lib/Test/Mocha/Mock.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
88 14 499 if ($mocked_class)
89 7 7 if ($args[0] eq $mocked_class) { }
106 46 412 if (Slurpy->check($_))
112 8 505 if $i < $#args
115 38 467 if ($seen_slurpy)
117 6 32 unless $slurpy->is_a_type_of(ArrayRef()) or $slurpy->is_a_type_of(HashRef())
139 135 364 if (defined $stub)
142 14 121 if @{$executions;} > 1
157 50 57 if $class eq 'Test::Mocha::Mock'
162 48 9 if exists $Isnota{$class}
174 21 21 if $role eq 'Test::Mocha::Mock'
176 12 9 unless CORE::ref $self
187 39 9 if $method_name eq 'CARP_TRACE'