blib/lib/Moose/Util/MetaRole.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 17 | 76.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
33 | 3 | 0 | 123 | defined $found and &blessed($found) |
3 | 17 | 106 | defined $found and &blessed($found) and $found->isa('Moose::Meta::Role') || $found->isa('Moose::Meta::Class') | |
106 | 125 | 18 | 0 | $meta->can("does_role") and &all(sub { |
line | l | !l | condition |
---|---|---|---|
98 | 3 | 140 | shift() || [$existing_class] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
33 | 22 | 98 | 3 | $found->isa('Moose::Meta::Role') || $found->isa('Moose::Meta::Class') |
79 | 6 | 0 | 0 | $args{'for'} || $args{'for_class'} |