Condition Coverage

blib/lib/MooX/SetOnce.pm
Criterion Covered Total %
condition 9 16 56.2


and 3 conditions

line !l l&&!r l&&r condition
46 2 12 10 @_ > 1 and $self->$predicate

or 2 conditions

line l !l condition
33 0 12 $opts{'moosify'} ||= []
38 0 0 $$spec{'traits'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
23 2 8 0 $writer ||= $attr
26 0 2 0 $writer ||= "_set_$attr"
31 4 8 0 $opts{'predicate'} ||= '_has_' . $attr