Condition Coverage

blib/lib/Class/Enum.pm
Criterion Covered Total %
condition 7 12 58.3


and 3 conditions

line !l l&&!r l&&r condition
281 0 0 36 defined $lhs and defined $rhs
288 0 0 30 defined $lhs and defined $rhs

or 2 conditions

line l !l condition
312 2 2 $$definition{'values'} ||= [(sort {$a <=> $b;} values %{$$definition{'value_of'};})]
319 0 2 $definition_of{$class}{'names'} ||= [map({$_->name;} __values($class))]
325 1 1 $definition_of{$class}{'from_ordinal'} ||= {map({$_->ordinal, $_;} __values($class))}