inc/Test/MockObject/Extends.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 22 | 36.3 |
line | true | false | branch |
---|---|---|---|
18 | 0 | 1 | unless defined $fake_class |
22 | 1 | 0 | blessed $fake_class ? : |
33 | 1 | 0 | if $result |
43 | 0 | 1 | unless blessed $invocant |
84 | 0 | 0 | if $class eq $parent |
99 | 0 | 0 | if $parent_method |
111 | 0 | 7 | if $method eq 'DESTROY' |
115 | 0 | 7 | if (my $parent_method = $parent->can($method)) { } |
7 | 0 | elsif (my $mock_method = 'Test::MockObject'->can($method)) { } | |
0 | 0 | elsif (my $parent_al = $parent->can('AUTOLOAD')) { } | |
144 | 0 | 7 | $name =~ s/^-// ? : |