Branch Coverage

blib/lib/MooseX/ErsatzMethod.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
49 4 9 if $class->find_method_by_name($self->name)
81 2 13 if $self->has_method($_->name)
116 4 10 unless Moose::Util::does_role($role, 'MooseX::ErsatzMethod::Trait::Role')
134 0 15 unless Moose::Util::does_role($role, 'MooseX::ErsatzMethod::Trait::Role')
177 0 5 unless $meta->isa('Moose::Meta::Role')
181 0 5 if (&Scalar::Util::blessed($name)) { }