| inc/Test/MockObject/Extends.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 22 | 45.4 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 0 | 11 | unless defined $fake_class |
| 29 | 11 | 0 | blessed $fake_class ? : |
| 40 | 11 | 0 | if $result |
| 50 | 0 | 11 | unless blessed $invocant |
| 91 | 1 | 0 | if $class eq $parent |
| 106 | 0 | 1 | if $parent_method |
| 120 | 0 | 62 | if $method eq 'DESTROY' |
| 124 | 0 | 62 | if (my $parent_method = $parent->can($method)) { } |
| 62 | 0 | elsif (my $mock_method = 'Test::MockObject'->can($method)) { } | |
| 0 | 0 | elsif (my $parent_al = $parent->can('AUTOLOAD')) { } | |
| 153 | 0 | 30 | $name =~ s/^-// ? : |