Condition Coverage

blib/lib/MooX/Enumeration.pm
Criterion Covered Total %
condition 19 39 48.7


and 3 conditions

line !l l&&!r l&&r condition
27 10 0 1 $INC{'Moo/Role.pm'} and 'Moo::Role'->is_role($target)
0 10 0 $Moo::MAKERS{$target} and $Moo::MAKERS{$target}{'is_class'}
66 11 1 0 exists $spec{'isa'} and exists $spec{'enum'}
11 0 1 &blessed($spec{'isa'}) and $spec{'isa'}->isa('Type::Tiny::Enum')
88 6 0 5 not ref $handles and $handles eq 1
144 22 0 2 $INC{'Moo/Role.pm'} and 'Moo::Role'->is_role($target)
0 22 0 $Moo::MAKERS{$target} and $Moo::MAKERS{$target}{'is_class'}

or 2 conditions

line l !l condition
110 0 11 $spec{'moosify'} ||= []
114 0 1 $spec->{'traits'} ||= []
209 0 3 delete $MAKER->{'captures'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
33 10 0 0 $Moo::MAKERS{$target}{'exports'}{'has'} || $Moo::MAKERS{$target}{'non_methods'}{'has'}
38 11 0 0 $orig ||= $target->can('has')
115 0 1 0 $spec->{'handles'} ||= $spec->{'_orig_handles'}
204 9 0 0 $spec->{'isa'}->check($newvalue) or not $spec->{'isa'}