Condition Coverage

lib/Graph/Easy/Group.pm
Criterion Covered Total %
condition 40 57 70.1


and 3 conditions

line !l l&&!r l&&r condition
129 1 143 0 ref $n and $n->isa('Graph::Easy::Node')
155 1 1 142 $$n{'graph'} and $$self{'graph'}
2 0 142 $$n{'graph'} and $$self{'graph'} and $$n{'graph'} == $$self{'graph'}
166 0 128 0 ref $n and $n->isa('Graph::Easy::Node')
196 1 1 115 $$n{'graph'} and $$self{'graph'}
2 0 115 $$n{'graph'} and $$self{'graph'} and $$n{'graph'} == $$self{'graph'}
285 3 0 15 $$n{'graph'} and $$self{'graph'}
3 0 15 $$n{'graph'} and $$self{'graph'} and $$n{'graph'} == $$self{'graph'}
312 0 66 0 ref $e and $e->isa('Graph::Easy::Edge')
327 62 0 4 defined $$e{'group'} and $$e{'group'} == $self
479 5 30 7 ref $lc and $align eq 'center'
497 7 14 18 defined $min_dist and $dist > $min_dist

or 3 conditions

line l !l&&r !l&&!r condition
223 0 0 0 $$e{'from'} == $n or $$e{'to'} == $n
243 1 1 0 $$e{'from'} == $n or $$e{'to'} == $n
257 16 0 2 ref $n or ref $$self{'graph'}
462 101 1 11 $$lc{'x'} < $$c{'x'} or $$lc{'y'} < $$c{'y'}
472 0 0 12 $$lc{'x'} > $$c{'x'} or $$lc{'y'} < $$c{'y'}
486 7 2 30 not defined $left or $left > $$c{'x'}
487 7 30 2 not defined $right or $right < $$c{'x'}