Condition Coverage

lib/Graph/Easy/Edge.pm
Criterion Covered Total %
condition 40 73 54.7


and 3 conditions

line !l l&&!r l&&r condition
57 1 2 33 $old != $$self{'bidirectional'} and ref $$self{'graph'}
73 0 3 27 $old != $$self{'undirected'} and ref $$self{'graph'}
101 0 0 0 defined $s and $s =~ /,/
116 0 0 0 defined $s and $s =~ /,/
190 0 0 0 defined $$src{'x'} and defined $$dst{'x'}
216 0 0 0 @stop > 0 and @start > 0
250 2085 46 4 ref $before and $$before{'edge'} != $self
251 2084 51 0 ref $after and $$after{'edge'} != $self
252 81 2054 0 not defined $after and ref $before
261 30 46 5 ref $after and not ref $before
30 0 46 ref $after and ref $before
281 147 1 30 $c1 == $after and $c2 == $before
133 0 15 $c1 == $before and $c2 == $after
343 0 0 11 ref $node and $node->isa('Graph::Easy::Node')
373 0 0 11 ref $node and $node->isa('Graph::Easy::Node')
448 0 3926 512 defined $sp and $sp ne ''

or 2 conditions

line l !l condition
53 2 34 $$self{'bidirectional'} || 0
69 2 28 $$self{'undirected'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
83 80 20 1682 $$self{'att'}{'start'} || $self->attribute('start')
87 27 0 1655 $$self{'att'}{'end'} || $self->attribute('end')
100 0 0 0 $$self{'att'}{'start'} || $self->attribute('start')
115 0 0 0 $$self{'att'}{'end'} || $self->attribute('end')
231 0 0 0 not defined $lowest or $dist < $lowest
281 30 0 148 $c1 == $after and $c2 == $before or $c1 == $before and $c2 == $after
489 105 12 1477 $$self{'w'} == 0 or $$self{'h'} == 0