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 3077 &blessed($tree) and $tree->isa('Tree::Binary')
95 3 1 3033 &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 2526 788 2890 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'