Branch Coverage

GO/Model/GraphIterator.pm
Criterion Covered Total %
branch 26 64 40.6


line true false branch
116 0 8 unless (ref $_[0])
120 8 0 unless $acc
142 2 7 if ($acc) { }
146 7 0 if (not $self->direction or $self->direction ne 'up') { }
167 0 9 unless $sortf
189 0 0 $ni ? :
203 0 499 unless ($self->noderefs)
207 8 491 unless (@$noderefs)
215 486 5 !$self->direction || $self->direction ne 'up' ? :
228 486 5 if ($dir eq 'down') { }
5 0 elsif ($dir eq 'up') { }
231 0 486 if ($subset_h)
234 0 0 if ($$subset_h{$_->acc2}) { }
248 0 5 if ($subset_h)
252 0 0 if ($$subset_h{$_->acc1}) { }
270 0 491 if ($self->reltype_filter)
273 0 0 unless ref $fs
279 342 149 if ($self->compact)
288 472 4 $dir ne 'up' ? :
289 476 0 if ($t)
310 0 491 unless $sortf
316 5 486 if ($self->no_duplicates)
324 0 491 if ($order eq 'breadth') { }
352 0 0 $bracket ? :
353 0 0 $bracket ? :
358 0 0 if ($dd < 0) { }
0 0 elsif ($dd > 0) { }
406 0 0 if ($a_pos >= 0 and $b_pos >= 0) { }
0 0 elsif ($a_pos < 0 and $b_pos < 0) { }
409 0 0 if ($a_pos != $b_pos) { }
423 0 0 $a_pos >= 0 ? :
438 0 0 if lc $cur_t->name eq lc $t->name