Branch Coverage

blib/lib/Bio/Coordinate/Graph.pm
Criterion Covered Total %
branch 25 40 62.5


line true false branch
27 0 8 if $graph
28 0 8 if $hasharray
40 0 0 if ($value)
41 0 0 unless ref $value eq 'HASH'
62 8 0 if ($value)
64 0 8 unless ref $value eq 'HASH'
85 0 21 unless @_ == 3
87 0 21 unless exists $self->{'_dag'}{$root}
89 0 21 unless exists $self->{'_dag'}{$end}
94 1 20 if ($root > $end)
101 14 7 unless defined $self->{'_root'} and $self->{'_root'} eq $root
103 0 21 unless $self->{'_paths'}
115 1 20 $reverse ? :
122 0 14 unless $root
124 0 14 unless exists $self->{'_dag'}{$root}
135 14 122 if ($node eq $root) { }
151 135 503 if ($est{$node}{'dist'} < $min)
158 8 103 unless $min_node
166 26 89 unless $est{$neighbour}
170 89 0 if $est{$neighbour}{'dist'} > $dist + 1