Condition Coverage

blib/lib/Graph/RandomPath.pm
Criterion Covered Total %
condition 14 19 73.6


and 3 conditions

line !l l&&!r l&&r condition
30 5 0 7748 $to_src{$$_[0]} and $to_src{$$_[1]}
5 0 7748 $to_src{$$_[0]} and $to_src{$$_[1]} and $to_dst{$$_[0]}
48 4 0 36 defined $sptg->get_vertex_attribute($src, 'weight') and $sptg->get_vertex_attribute($src, 'weight') < $opt{'max_length'}
58 11368 763 0 $path[-1] eq $dst and !defined($v) || @path > $target

or 2 conditions

line l !l condition
24 40 0 $opt{'max_length'} //= 64
61 11008 763 $sptg->get_vertex_attribute($v, 'weight') // 0

or 3 conditions

line l !l&&r !l&&!r condition
58 10 350 403 !defined($v) || @path > $target