Condition Coverage

blib/lib/Tree/Binary/Search.pm
Criterion Covered Total %
condition 22 29 75.8


and 3 conditions

line !l l&&!r l&&r condition
53 1 1 13437 $result >= -1 and $result <= 1
1 2 13437 $result =~ /\d/ and ($result >= -1 and $result <= 1)
126 1 4 1082 defined $key and defined $value
3 1 1 &blessed($key) and $key->isa('Tree::Binary::Search::Node')
0 5 0 not defined $value and (&blessed($key) and $key->isa('Tree::Binary::Search::Node'))
189 2 1 4 defined $key and defined $value
445 2 0 9 $parent->hasLeft and $parent->getLeft eq $tree
0 0 2 $parent->hasRight and $parent->getRight eq $tree

or 2 conditions

line l !l condition
43 1 30 $root || 'Tree::Binary::Search::Node'

or 3 conditions

line l !l&&r !l&&!r condition
27 0 31 0 ref $_class || $_class