Branch Coverage

blib/lib/Class/MOP/Method/Inlined.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
14 0 878 unless my $super_method = $self->associated_metaclass->find_next_method_by_name($self->name)
18 0 878 if ($super_method->isa('Class::MOP::Method::Inlined')) { }
37 2 12957 if ($inherited_method and $inherited_method->isa("Class::MOP::Method::Wrapped"))
47 12214 743 unless my $expected_class = $self->_expected_method_class
54 0 743 unless ($expected_method)
64 3 740 unless my $actual_method = $class->can($self->name)
68 301 439 if &refaddr($expected_method) == &refaddr($actual_method)
73 439 0 if ($inherited_method->isa('Class::MOP::Method::Inlined')) { }
0 0 elsif (&refaddr(scalar $inherited_method->body) == &refaddr($expected_method)) { }
74 439 0 if ($inherited_method->_uninlined_body and &refaddr(scalar $inherited_method->_uninlined_body) == &refaddr($expected_method))
92 0 0 if ($self->isa("Class::MOP::Method::Constructor"))