Condition Coverage

blib/lib/MOP/Role.pm
Criterion Covered Total %
condition 21 42 50.0


and 3 conditions

line !l l&&!r l&&r condition
391 1 0 1 @roles and $method->was_aliased_from(@roles)
406 0 0 1 $code and ref $code eq 'CODE'
447 1 0 0 @roles and $method->was_aliased_from(@roles)
501 0 0 421 $code and ref $code eq 'CODE'
592 3 0 0 @roles and $_->was_aliased_from(@roles)
647 2 0 0 @roles and $slot->was_aliased_from(@roles)
662 0 3 0 $initializer and ref $initializer eq 'CODE' || MOP::Internal::Util::CAN_COERCE_TO_CODE_REF($initializer)
757 0 3 0 $initializer and ref $initializer eq 'CODE' || MOP::Internal::Util::CAN_COERCE_TO_CODE_REF($initializer)

or 3 conditions

line l !l&&r !l&&!r condition
364 22 1 4 $method->origin_stash eq $class || @roles && $method->was_aliased_from(@roles)
391 12 1 1 $method->origin_stash eq $class or @roles and $method->was_aliased_from(@roles)
625 3 0 3 $slot->origin_stash eq $class || @roles && $slot->was_aliased_from(@roles)
647 9 0 2 $slot->origin_stash eq $class or @roles and $slot->was_aliased_from(@roles)
662 3 0 0 ref $initializer eq 'CODE' || MOP::Internal::Util::CAN_COERCE_TO_CODE_REF($initializer)
757 3 0 0 ref $initializer eq 'CODE' || MOP::Internal::Util::CAN_COERCE_TO_CODE_REF($initializer)