Condition Coverage

blib/lib/Language/FormulaEngine/Namespace/Default.pm
Criterion Covered Total %
condition 37 59 62.7


and 2 conditions

line l !l condition
152 0 0 $_->evaluate($self) and return 1

and 3 conditions

line !l l&&!r l&&r condition
64 2 0 0 @unknown == @{$node->parameters;} and @unknown > 1
98 4 0 0 @unknown == @{$node->parameters;} and @unknown > 1
193 0 2 25 &Scalar::Util::looks_like_number($left) && &Scalar::Util::looks_like_number($right)
213 0 0 2 $_[0] > 0 and $_[0] < @_
394 0 0 0 $ofs and $ofs > 0
401 6 0 4 defined $comma and !$comma || $comma eq "."
423 34 0 48 ref $date and ref($date)->isa("DateTime")
431 0 0 2 ref $_ && $_->can("message")
479 0 0 24 $standard >= 12 and $standard <= 17

or 2 conditions

line l !l condition
124 5 1 $_->evaluate($self) or return 0
299 2 2 $min_length || 0
329 4 2 $_[1] || 0
345 4 4 $_[1] || 0
348 4 4 $_[1] || 0
436 2 0 $unit || ""

or 3 conditions

line l !l&&r !l&&!r condition
194 2 0 25 $op eq "==" or $op eq "!="
2 4 19 $op eq ">=" or $op eq "<"
2 17 0 $op eq "<=" or $op eq ">"
401 2 2 0 !$comma || $comma eq "."
476 4 4 36 not $standard or $standard == 1
477 4 4 28 $standard == 2 or $standard == 11