Condition Coverage

blib/lib/Geo/JSON/Utils.pm
Criterion Covered Total %
condition 9 18 50.0


and 3 conditions

line !l l&&!r l&&r condition
23 0 72 0 defined $$pos1[$dim] and not defined $$pos2[$dim]
72 0 0 not defined $$pos1[$dim] and defined $$pos2[$dim]
38 1 0 14 ref $positions and ref $positions eq 'ARRAY'
1 0 14 ref $positions and ref $positions eq 'ARRAY' and @{$positions;} > 1

or 3 conditions

line l !l&&r !l&&!r condition
23 0 0 72 defined $$pos1[$dim] and not defined $$pos2[$dim] or not defined $$pos1[$dim] and defined $$pos2[$dim]
0 2 70 defined $$pos1[$dim] and not defined $$pos2[$dim] or not defined $$pos1[$dim] and defined $$pos2[$dim] or $$pos1[$dim] != $$pos2[$dim]