Condition Coverage

lib/Graph/Easy/Layout/Path.pm
Criterion Covered Total %
condition 62 89 69.6


and 2 conditions

line l !l condition
214 183 0 $allow++ and last
387 0 20 $placed = [$$n{'x'}, $$n{'y'}] and last

and 3 conditions

line !l l&&!r l&&r condition
115 11376 2082 502 not $loose and exists $$cells{"$x,$y"}
143 308 48 21 exists $$cells{"$px,$py"} and not $loose
154 455 67 34 exists $$cells{"$px,$py"} and not $loose
165 313 49 15 exists $$cells{"$px,$py"} and not $loose
176 542 13 1 exists $$cells{"$px,$py"} and not $loose
214 3894 183 183 $m == $x and $n == $y
266 0 33 39 @pos == 1 and $pos[0] eq ''
347 19236 0 136 ref $cell and $cell->isa('Graph::Easy::Node')
402 982 0 0 $$self{'debug'} and ref $parent
449 0 611 328 ref $edge and not ref $parent
465 898 26 15 defined $s_p and @ss_p > 0
512 905 7 18 defined $s_p and @ss_p > 0
529 7 10 7 grep(($_ == $node), @shared_nodes) and defined $placed
561 362 0 602 ref $parent and defined $$parent{'x'}
585 0 363 0 $try == 0 and $$self{'debug'}
588 0 89 274 $try == 0 and $node->_do_place(0, 0, $self)
600 5 0 0 $$self{'debug'} and defined $$p{'x'}
608 0 84 5 @pre <= 2 and @pre > 0
626 0 0 0 $dx != 0 and $dy != 0
757 959 688 393 $type != 1 and $type != 2
771 2021 0 19 ref $$cells{$xy} and $$cells{$xy}->isa('Graph::Easy::Edge')

or 2 conditions

line l !l condition
74 3665 4 $$n{'cx'} || 1
75 3665 4 $$n{'cy'} || 1
202 52 4 $step ||= 2
331 2496 0 $$node{'cy'} || 1
2496 0 $$node{'cx'} || 1
2496 0 $$node{'cy'} || 1
2496 0 $$node{'cx'} || 1
399 0 982 $try ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
354 0 0 136 $grandpa == $node or $cell == $node_grandpa
0 0 136 $grandpa == $node or $cell == $node_grandpa or $grandpa == $node_grandpa