| blib/lib/Algorithm/Functional/BFS.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 14 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 75 | 1 | 11 | unless $opts{'adjacent_nodes_func'} |
| 77 | 1 | 10 | unless $opts{'victory_func'} |
| 108 | 1 | 9 | unless $start_node |
| 111 | 2 | 7 | if $$self{'include_start_node'} and $$self{'victory_func'}($start_node) |
| 142 | 6 | 48 | if (@$candidate_ref > 1 and $$self{'victory_func'}($cur_node)) { } |
| 145 | 1 | 5 | if $$self{'one_result'} |
| 157 | 49 | 52 | if $seen{$adj_node} |