Condition Coverage

lib/Graph/Easy/Layout/Repair.pm
Criterion Covered Total %
condition 38 60 63.3


and 3 conditions

line !l l&&!r l&&r condition
33 841 8 62 defined $gf and defined $gt
849 2 60 defined $gf and defined $gt and $gf == $gt
131 121 0 0 $type == 7 || $type == 8 || $type == 9 and exists $$cells{"$x,$y"}
159 121 0 0 $type == 7 || $type == 8 || $type == 10 and exists $$cells{"$x,$y"}
185 121 0 0 $type == 7 || $type == 9 || $type == 10 and exists $$cells{"$x,$y"}
219 51 0 32 $right->isa('Graph::Easy::Edge::Cell') and defined $right->{'edge'}
51 0 32 $right->isa('Graph::Easy::Edge::Cell') and defined $right->{'edge'} and defined $right->{'type'}
0 32 0 $right->isa('Graph::Easy::Edge::Cell') and defined $right->{'edge'} and defined $right->{'type'} and $edge == $right->{'edge'} || $right->{'type'} == 0 || $cell->{'type'} == 0
239 29 38 0 $below->isa('Graph::Easy::Edge::Cell') and $edge == $below->{'edge'} || $below->{'type'} == 0 || $cell->{'type'} == 0
369 27 15 6 not ref $below and ($cell->{'type'} & 240) == 128
397 30 34 121 ($cell->{'x'} & 1) == 0 and ($cell->{'y'} & 1) == 0
494 362 502 64 exists $$cells{"$x,$y2"} and not exists $$cells{"$x,$y"}
497 0 52 12 $down->isa('Graph::Easy::Group::Cell') and $down->{'group'} == $group
505 310 618 0 exists $$cells{"$x2,$y"} and not exists $$cells{"$x,$y"}
508 0 0 0 $right->isa('Graph::Easy::Group::Cell') and $right->{'group'} == $group

or 3 conditions

line l !l&&r !l&&!r condition
131 0 0 121 $type == 7 || $type == 8 || $type == 9
159 0 0 121 $type == 7 || $type == 8 || $type == 10
185 0 0 121 $type == 7 || $type == 9 || $type == 10
219 18 1 13 $edge == $right->{'edge'} || $right->{'type'} == 0 || $cell->{'type'} == 0
239 30 1 7 $edge == $below->{'edge'} || $below->{'type'} == 0 || $cell->{'type'} == 0