Branch Coverage

blib/lib/Algorithm/Graphs/Reachable/Tiny.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
16 0 36 unless @_ == 2
18 18 18 ref $nodes eq 'ARRAY' ? :
19 10 26 unless %visited
21 10 16 if (ref $graph eq 'HASH') { }
16 0 elsif (ref $graph eq 'ARRAY') { }
22 0 10 unless %{$graph;}
24 40 22 if (exists $graph->{$v})
26 42 8 unless (exists $visited{$s})
35 0 16 unless @{$graph;}
37 92 32 if (defined $graph->[$v])
39 84 16 unless (exists $visited{$s})