Branch Coverage

blib/lib/Class/MOP/Method/Inlined.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
14 0 892 unless my $super_method = $self->associated_metaclass->find_next_method_by_name($self->name)
18 0 892 if ($super_method->isa('Class::MOP::Method::Inlined')) { }
37 4 13327 if ($inherited_method and $inherited_method->isa("Class::MOP::Method::Wrapped"))
47 12566 761 unless my $expected_class = $self->_expected_method_class
54 1 760 unless ($expected_method)
64 3 757 unless my $actual_method = $class->can($self->name)
68 308 449 if &refaddr($expected_method) == &refaddr($actual_method)
73 446 3 if ($inherited_method->isa('Class::MOP::Method::Inlined')) { }
0 3 elsif (&refaddr(scalar $inherited_method->body) == &refaddr($expected_method)) { }
74 446 0 if ($inherited_method->_uninlined_body and &refaddr(scalar $inherited_method->_uninlined_body) == &refaddr($expected_method))
92 2 1 if ($self->isa("Class::MOP::Method::Constructor"))