Branch Coverage

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


line true false branch
18 1 5 unless ($self->{'module'})
24 1 4 if ($self->{'module_location'}) { }
32 0 5 if ($self->{'no_load'}) { }
39 2 3 if $self->{'allow_new_methods'} or $self->{'no_load'}
49 0 8 if $ENV{'TEST_MOCK_SIMPLE_DISABLE'}
51 1 7 unless ($name)
55 1 6 unless ($sub)
60 2 4 unless ($allow_new_methods)
62 1 1 unless $self->{'module'}->can($name)