Branch Coverage

blib/lib/Moose/Meta/Role/Application/ToClass.pm
Criterion Covered Total %
branch 29 30 96.6


line true false branch
39 3 1114 if ($class->excludes_role($role->name))
45 1 4 if ($class->does_role($excluded_role_name))
69 41 127 unless ($class->find_method_by_name($required_method_name))
71 1 40 if $self->is_aliased_method($required_method_name)
77 1085 28 unless @missing
84 10 18 if (@conflicts) { }
18 0 elsif (@missing) { }
95 2 16 if (my $meth = &first(sub {
120 2 654 if ($class->has_attribute($attribute_name) and $class->get_attribute($attribute_name) != $role->get_attribute($attribute_name)) { }
139 960 7723 if $method->isa("Class::MOP::Method::Meta")
141 7717 6 unless ($self->is_method_excluded($method_name))
145 12 7705 if $class_method and $class_method->body != $method->body
153 7699 12 unless $self->is_method_aliased($method_name)
159 2 10 if ($class_method and $class_method->body != $method->body)
183 3 994 if ($class->has_method($method_name)) { }