Condition Coverage

blib/lib/Algorithm/SixDegrees.pm
Criterion Covered Total %
condition 35 54 64.8


and 3 conditions

line !l l&&!r l&&r condition
85 2 2 13 ref $sub and &reftype($sub) eq 'CODE'
110 1 1 13 ref $sub and &reftype($sub) eq 'CODE'
147 2 0 33 ref $self and $self->isa('Algorithm::SixDegrees')
173 1 1 28 exists $self->{'_sources'} and &reftype($self->{'_sources'}) eq 'ARRAY'
189 1 1 37 ref $self->{'_source_left'} and ref $self->{'_source_left'}{$source}
2 0 37 ref $self->{'_source_left'} and ref $self->{'_source_left'}{$source} and &reftype($self->{'_source_left'}{$source}{'sub'}) eq 'CODE'
195 1 1 35 ref $self->{'_source_right'} and ref $self->{'_source_right'}{$source}
2 0 35 ref $self->{'_source_right'} and ref $self->{'_source_right'}{$source} and &reftype($self->{'_source_right'}{$source}{'sub'}) eq 'CODE'
253 0 0 2 defined $la and defined $lm
0 0 2 defined $la and defined $lm and defined $ra
0 0 2 defined $la and defined $lm and defined $ra and defined $rm
367 60 19 0 scalar @ids == 1 and not defined $ids[0]

or 3 conditions

line l !l&&r !l&&!r condition
231 0 0 8 not defined $count or $count == 0
239 0 2 4 not defined $count or $count == 0
244 0 0 4 not defined $leftcount or $leftcount == 0
259 0 0 2 not defined $rightcount or $rightcount == 0
311 2 1 35 $leftcount == 0 or $rightcount == 0
337 0 0 6 not defined $count or $count == 0