Branch Coverage

blib/lib/Test/MockObject/Extends.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
21 1 15 unless defined $fake_class
25 10 5 &blessed($fake_class) ? :
28 1 14 if (&blessed($fake_class) and do { no strict 'refs'; exists do { $parent_class . '::' }->{'FIELDS'} }) { }
52 14 1 if $result
62 5 10 unless &blessed($invocant)
104 7 4 if $class eq $parent
119 0 0 if $parent_method
132 0 14 if $parent_destroy and $parent_destroy != $destroy
149 0 83 if (my $parent_method = $parent->can($method)) { }
78 5 elsif (my $mock_method = 'Test::MockObject'->can($method)) { }
4 1 elsif (my $parent_al = $parent->can('AUTOLOAD')) { }
178 2 7 $name =~ s/^-// ? :