Branch Coverage

blib/lib/Build/Hopen/G/DAG.pm
Criterion Covered Total %
branch 22 54 40.7


line true false branch
125 0 1 if $@
132 0 1 if $@
136 0 1 unless $order[$#order] == $self->_final
149 1 3 unless (defined $node)
171 0 1 if eval { do { $pred->DOES('Build::Hopen::G::Goal') } }
175 0 1 unless ($links)
208 1 2 if (eval { do { $node->DOES('Build::Hopen::G::Goal') } }) { }
209 0 1 if $args{'generator'}
214 1 0 if keys %{$node->outputs;}
216 0 2 if $args{'generator'}
245 0 3 unless my $self = shift()
246 0 3 unless my $name = shift()
251 2 1 unless $self->default_goal
275 0 1 unless my $self = shift()
279 0 1 if (not defined $in_edge) { }
1 0 elsif (not defined $op2) { }
291 0 1 unless ($link)
327 0 0 unless my $self = shift()
328 0 0 unless my $node = shift()
329 0 0 if $self->_graph->has_vertex($node)
356 0 0 unless my $self = shift()
357 0 0 unless my $op = shift()
359 0 0 if $self->_init_graph->has_vertex($op)
364 0 0 if ($first) { }
385 0 0 unless my $self = shift()
403 0 2 unless my $self = shift()
407 0 2 unless $self->has_custom_name