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
83 2 2 13 ref $sub and isa($sub, 'CODE')
108 1 1 13 ref $sub and isa($sub, 'CODE')
145 2 0 33 ref $self and isa($self, 'Algorithm::SixDegrees')
171 1 1 28 exists $$self{'_sources'} and isa($$self{'_sources'}, 'ARRAY')
187 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 isa($$self{'_source_left'}{$source}{'sub'}, 'CODE')
193 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 isa($$self{'_source_right'}{$source}{'sub'}, 'CODE')
251 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
365 61 19 0 scalar @ids == 1 and not defined $ids[0]

or 3 conditions

line l !l&&r !l&&!r condition
229 0 0 8 not defined $count or $count == 0
237 0 2 4 not defined $count or $count == 0
242 0 0 4 not defined $leftcount or $leftcount == 0
257 0 0 2 not defined $rightcount or $rightcount == 0
309 2 1 35 $leftcount == 0 or $rightcount == 0
335 0 0 6 not defined $count or $count == 0