Condition Coverage

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


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
63 2 0 0 @unknown == @{$node->parameters;} and @unknown > 1
97 4 0 0 @unknown == @{$node->parameters;} and @unknown > 1
192 0 2 25 &Scalar::Util::looks_like_number($left) && &Scalar::Util::looks_like_number($right)
212 0 0 2 $_[0] > 0 and $_[0] < @_
393 0 0 0 $ofs and $ofs > 0
400 6 0 4 defined $comma and !$comma || $comma eq "."
422 34 0 48 ref $date and ref($date)->isa("DateTime")
430 0 0 2 ref $_ && $_->can("message")
478 0 0 24 $standard >= 12 and $standard <= 17

or 2 conditions

line l !l condition
123 5 1 $_->evaluate($self) or return 0
298 2 2 $min_length || 0
328 4 2 $_[1] || 0
344 4 4 $_[1] || 0
347 4 4 $_[1] || 0
435 2 0 $unit || ""

or 3 conditions

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