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 30 0 65 $INC{'Role/Tiny.pm'} and "Role::Tiny"->can("is_role")
30 19 46 $INC{'Role/Tiny.pm'} and "Role::Tiny"->can("is_role") and "Role::Tiny"->is_role($target)
50 30 19 0 $INC{'Role/Tiny.pm'} and not "Role::Tiny"->can("is_role")
49 0 0 $INC{'Role/Tiny.pm'} and not "Role::Tiny"->can("is_role") and $Role::Tiny::INFO{$target}
56 19 0 30 $INC{'Moose/Meta/Role.pm'} and do {
0 4 26 $INC{'Moose/Meta/Role.pm'} and do {
62 23 0 0 $INC{'Mouse/Meta/Role.pm'} and do {
0 0 0 $INC{'Mouse/Meta/Role.pm'} and do {
68 23 0 0 $INC{'Role/Basic.pm'} and eval {
75 8 2 13 defined $UM and $UM eq "Mite::Role"
138 1 33 6 defined $is_role and $is_role eq "Mite::Role"
394 2 0 1 defined $to_type and $to_type eq "Mite::Role"

or 2 conditions

line l !l condition
87 6 13 $CALLBACKS_BEFORE_APPLY{$target} ||= []
96 6 12 $CALLBACKS_AFTER_APPLY{$target} ||= []
109 0 3 $CALLBACKS_AFTER_INFLATE{$target} ||= []
376 1 2 $modifiers || {}
377 1 2 $modifiers || {}

or 3 conditions

line l !l&&r !l&&!r condition
104 2 1 0 $me->is_role($target) eq "Role::Tiny" or $target->isa("Moo::Object")
122 22 5 0 $patched{'Role::Tiny'} ||= $me->_install_patches_roletiny
124 20 1 19 $INC{'Moo/Role.pm'} or $INC{'Moo.pm'}
125 17 4 0 $patched{'Moo::Role'} ||= $me->_install_patches_moorole
127 12 7 21 $INC{'Moose/Role.pm'} or $INC{'Moose.pm'}
128 15 4 0 $patched{'Moose::Role'} ||= $me->_install_patches_mooserole
130 0 0 40 $INC{'Mouse/Role.pm'} or $INC{'Mouse.pm'}
131 0 0 0 $patched{'Mouse::Role'} ||= $me->_install_patches_mouserole
134 0 0 0 $patched{'Role::Basic'} ||= $me->_install_patches_rolebasic
139 4 2 0 $patched{'Mite::Role'}{$target} ||= $me->_install_patches_miterole($target)
146 3 0 0 $INC{'Moo/Role.pm'} or $INC{'Moo.pm'}
147 2 1 0 $patched_inflation{'Moo::Role'} ||= $me->_install_patches_moorole_inflation
190 4 0 0 $is_role eq "Role::Tiny" or $to->isa("Moo::Object")
202 3 1 0 $patched{'Role::Tiny'} ||= $me->_install_patches_roletiny