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 767 3 9 my $p = $self->{'post_edge'} and defined(my $u = $self->current)
155 30 0 28 not $self->{'tree'}->has_edge($u, $v) and defined $nontree || $bdc
0 0 28 not $self->{'tree'}->has_edge($u, $v) and defined $nontree || $bdc and exists $self->{'seen'}{$v}
160 0 14 14 $back and !defined($postv) || $postv >= $postu
165 12 1 1 $down and $prev > $preu
12 0 1 $cross and $prev < $preu
201 278 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 659 defined $back || defined $down || defined $cross
150 5 41 659 defined $nontree or $bdc
46 0 659 defined $nontree or $bdc or defined $seen
155 3 25 0 defined $nontree || $bdc
160 11 3 14 !defined($postv) || $postv >= $postu
206 101 272 6 @next or $self->{'next_root'}
207 101 161 111 @next or @next = $self->{'next_root'}->($self, {map(($_, $_), $self->unseen)})