Condition Coverage

blib/lib/Tree/Binary.pm
Criterion Covered Total %
condition 18 21 85.7


and 3 conditions

line !l l&&!r l&&r condition
65 3 1 4246 &blessed($tree) and $tree->isa('Tree::Binary')
95 3 1 4167 &blessed($tree) and $tree->isa('Tree::Binary')
257 3 212 0 &blessed($visitor) and $visitor->isa('Tree::Binary::Visitor') || $visitor->can('visit')

or 3 conditions

line l !l&&r !l&&!r condition
19 12 59 0 ref $_class || $_class
161 3522 1238 3747 defined $self->{'_left'} || defined $self->{'_right'}
257 0 211 1 $visitor->isa('Tree::Binary::Visitor') || $visitor->can('visit')
337 2 1 3 ref $node eq 'SCALAR' or ref $node eq 'REF'