blib/lib/Mouse/Meta/Role.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 14 | 92.8 |
line | true | false | branch |
---|---|---|---|
20 | 58 | 206 | if ($class ne 'Mouse::Meta::Role') |
62 | 25 | 63 | @_ == 1 ? : |
92 | 2 | 14 | if ($self->has_method($method_name)) |
111 | 0 | 1008 | unless defined $role_name |
114 | 184 | 824 | if ref $role_name |
117 | 287 | 721 | if $role_name eq $self->name |
120 | 267 | 236 | if $role->does_role($role_name) |