| blib/lib/Graph/RandomPath.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 10 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 30 | 7748 | 0 | if $to_src{$$_[0]} and $to_src{$$_[1]} and $to_dst{$$_[0]} |
| 41 | 0 | 40 | if ($@) |
| 48 | 4 | 36 | unless defined $sptg->get_vertex_attribute($src, 'weight') and $sptg->get_vertex_attribute($src, 'weight') < $opt{'max_length'} |
| 58 | 360 | 403 | if $path[-1] eq $dst and !defined($v) || @path > $target |
| 63 | 3599 | 8172 | if (@path + $w > $opt{'max_length'}) |