Condition Coverage

blib/lib/Tree/Binary/Search.pm
Criterion Covered Total %
condition 21 29 72.4


and 3 conditions

line !l l&&!r l&&r condition
54 1 1 11681 $result >= -1 and $result <= 1
1 11683 0 $result =~ /\d/ and ($result >= -1 and $result <= 1)
127 1 4 950 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'))
190 2 1 4 defined $key and defined $value
446 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
44 1 30 $root || 'Tree::Binary::Search::Node'

or 3 conditions

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