Condition Coverage

blib/lib/Tree/Binary.pm
Criterion Covered Total %
condition 19 21 90.4


and 3 conditions

line !l l&&!r l&&r condition
64 3 1 3549 &blessed($tree) and $tree->isa('Tree::Binary')
94 3 1 3485 &blessed($tree) and $tree->isa('Tree::Binary')
256 3 1 211 &blessed($visitor) and $visitor->isa('Tree::Binary::Visitor') || $visitor->can('visit')

or 3 conditions

line l !l&&r !l&&!r condition
18 12 59 0 ref $_class || $_class
160 2924 1092 3112 defined $self->{'_left'} || defined $self->{'_right'}
256 0 211 1 $visitor->isa('Tree::Binary::Visitor') || $visitor->can('visit')
336 2 1 3 ref $node eq 'SCALAR' or ref $node eq 'REF'