Condition Coverage

blib/lib/MooX/Enumeration.pm
Criterion Covered Total %
condition 22 42 52.3


and 3 conditions

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

or 2 conditions

line l !l condition
113 0 12 $spec{'moosify'} ||= []
117 0 1 $spec->{'traits'} ||= []
212 0 3 delete $MAKER->{'captures'} || {}

or 3 conditions

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