Condition Coverage

blib/lib/Graph/Traversal.pm
Criterion Covered Total %
condition 40 54 74.0


and 3 conditions

line !l l&&!r l&&r condition
40 0 4 3 $i >= 0 and $path->[$i] ne $v
62 1 0 102 ref $g and $g->isa("Graph")
73 101 1 0 exists $attr{'seen_edge'} and $g->multiedged || $g->countedged
137 753 3 9 my $p = $self->{'post_edge'} and defined(my $u = $self->current)
155 34 0 25 not $self->{'tree'}->has_edge($u, $v) and defined $nontree || $bdc
0 0 25 not $self->{'tree'}->has_edge($u, $v) and defined $nontree || $bdc and exists $self->{'seen'}{$v}
160 0 11 14 $back and !defined($postv) || $postv >= $postu
165 9 1 1 $down and $prev > $preu
9 0 1 $cross and $prev < $preu
201 287 0 105 not @{$self->{'roots'};} and defined(my $first = $self->{'first_root'})

or 3 conditions

line l !l&&r !l&&!r condition
73 1 0 0 $g->multiedged || $g->countedged
149 46 0 645 defined $back || defined $down || defined $cross
150 5 41 645 defined $nontree or $bdc
46 0 645 defined $nontree or $bdc or defined $seen
155 3 22 0 defined $nontree || $bdc
160 11 3 11 !defined($postv) || $postv >= $postu
206 101 281 6 @next or $self->{'next_root'}
207 101 170 111 @next or @next = $self->{'next_root'}->($self, {map(($_, $_), $self->unseen)})