Branch Coverage

blib/lib/Test/Mock/Simple.pm
Criterion Covered Total %
branch 14 16 87.5


line true false branch
18 1 4 unless ($$self{'module'})
23 4 0 unless ($$self{'no_load'})
29 1 3 if $$self{'allow_new_methods'} or $$self{'no_load'}
39 0 7 if $ENV{'TEST_MOCK_SIMPLE_DISABLE'}
41 1 6 unless ($name)
45 1 5 unless ($sub)
50 2 3 unless ($allow_new_methods)
51 1 1 unless $$self{'module'}->can($name)