Condition Coverage

blib/lib/MOP/Internal/Util.pm
Criterion Covered Total %
condition 25 56 44.6


and 2 conditions

line l !l condition
311 16 0 scalar keys %$method_conflicts and scalar grep({not $meta->has_method($_);} keys %$method_conflicts)

and 3 conditions

line !l l&&!r l&&r condition
84 151 1317 3 $slot eq 'CODE' and $stash->{$name} eq '-1'
126 0 0 5 $cv and ref $cv eq 'CODE'
137 0 93 26 $object and &Scalar::Util::blessed($object)
149 0 0 929 $cv and ref $cv eq 'CODE'
163 165 0 1 ref \$glob eq 'SCALAR' and defined $glob
166 165 0 0 ref $glob and ref $glob ne 'CODE'
195 0 2 1 $cv and ref $cv eq 'CODE'
208 0 0 422 $cv and ref $cv eq 'CODE'
227 0 0 4 $stash and ref $stash eq 'HASH'
276 0 0 16 $roles and ref $roles eq 'ARRAY'
0 0 16 $roles and ref $roles eq 'ARRAY' and scalar @$roles != 0
353 0 0 0 exists $slots{$name} and $slots{$name} != $slot->initializer
400 419 0 0 exists $methods{$name} and $methods{$name} != $m->body
417 419 0 0 exists $required{$name} and not exists $conflicts{$name}

or 3 conditions

line l !l&&r !l&&!r condition
84 3 1468 0 $slot eq 'CODE' and $stash->{$name} eq '-1' or ref $stash->{$name} ne 'GLOB'
149 929 0 0 $cv and ref $cv eq 'CODE' or CAN_COERCE_TO_CODE_REF($cv)
195 1 2 0 $cv and ref $cv eq 'CODE' or CAN_COERCE_TO_CODE_REF($cv)
208 422 0 0 $cv and ref $cv eq 'CODE' or CAN_COERCE_TO_CODE_REF($cv)