Condition Coverage

blib/lib/Role/Hooks.pm
Criterion Covered Total %
condition 54 88 61.3


and 3 conditions

line !l l&&!r l&&r condition
43 31 0 65 $INC{'Role/Tiny.pm'} and "Role::Tiny"->can("is_role")
31 19 46 $INC{'Role/Tiny.pm'} and "Role::Tiny"->can("is_role") and "Role::Tiny"->is_role($target)
50 31 19 0 $INC{'Role/Tiny.pm'} and not "Role::Tiny"->can("is_role")
50 0 0 $INC{'Role/Tiny.pm'} and not "Role::Tiny"->can("is_role") and $Role::Tiny::INFO{$target}
56 20 0 30 $INC{'Moose/Meta/Role.pm'} and do {
0 4 26 $INC{'Moose/Meta/Role.pm'} and do {
62 24 0 0 $INC{'Mouse/Meta/Role.pm'} and do {
0 0 0 $INC{'Mouse/Meta/Role.pm'} and do {
68 24 0 0 $INC{'Role/Basic.pm'} and eval {
76 9 2 13 defined $UM and $UM eq "Mite::Role"
139 1 33 6 defined $is_role and $is_role eq "Mite::Role"
395 2 0 1 defined $to_type and $to_type eq "Mite::Role"

or 2 conditions

line l !l condition
88 6 13 $CALLBACKS_BEFORE_APPLY{$target} ||= []
97 6 12 $CALLBACKS_AFTER_APPLY{$target} ||= []
110 0 3 $CALLBACKS_AFTER_INFLATE{$target} ||= []
377 1 2 $modifiers || {}
378 1 2 $modifiers || {}

or 3 conditions

line l !l&&r !l&&!r condition
105 2 1 0 $me->is_role($target) eq "Role::Tiny" or $target->isa("Moo::Object")
123 22 5 0 $patched{'Role::Tiny'} ||= $me->_install_patches_roletiny
125 20 1 19 $INC{'Moo/Role.pm'} or $INC{'Moo.pm'}
126 17 4 0 $patched{'Moo::Role'} ||= $me->_install_patches_moorole
128 12 7 21 $INC{'Moose/Role.pm'} or $INC{'Moose.pm'}
129 15 4 0 $patched{'Moose::Role'} ||= $me->_install_patches_mooserole
131 0 0 40 $INC{'Mouse/Role.pm'} or $INC{'Mouse.pm'}
132 0 0 0 $patched{'Mouse::Role'} ||= $me->_install_patches_mouserole
135 0 0 0 $patched{'Role::Basic'} ||= $me->_install_patches_rolebasic
140 4 2 0 $patched{'Mite::Role'}{$target} ||= $me->_install_patches_miterole($target)
147 3 0 0 $INC{'Moo/Role.pm'} or $INC{'Moo.pm'}
148 2 1 0 $patched_inflation{'Moo::Role'} ||= $me->_install_patches_moorole_inflation
191 4 0 0 $is_role eq "Role::Tiny" or $to->isa("Moo::Object")
203 3 1 0 $patched{'Role::Tiny'} ||= $me->_install_patches_roletiny