Branch Coverage

blib/lib/Test/Mocha/Mock.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
87 16 239 if ($mocked_class)
88 9 7 if ($args[0] eq $mocked_class) { }
104 135 120 if ($self->__CaptureMode)
113 54 66 if (my $stub = $self->__find_stub($method_call))
126 3 8 if $self->SUPER::isa($class)
131 2 6 if exists $NOT_ISA{$class}
143 0 5 if $role eq 'Test::Mocha::Mock'
145 0 5 unless ref $self
156 13 5 if $method_name eq 'CARP_TRACE'