blib/lib/Test/Mock/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 16 | 81.2 |
line | true | false | branch |
---|---|---|---|
26 | 1 | 3 | unless ($$self{'module'}) |
35 | 1 | 2 | if $$self{'allow_new_methods'} |
43 | 0 | 6 | if $ENV{'TEST_MOCK_SIMPLE_DISABLE'} |
45 | 2 | 4 | unless ($name and $sub) |
47 | 1 | 1 | unless $name |
48 | 1 | 0 | unless $sub |
51 | 1 | 3 | unless ($allow_new_methods) |
52 | 1 | 0 | unless $$self{'module'}->can($name) |