Condition Coverage

blib/lib/Tree/Lexicon.pm
Criterion Covered Total %
condition 29 44 65.9


and 3 conditions

line !l l&&!r l&&r condition
232 0 0 26 $prefix and $prefix =~ /^\w+/
291 0 0 4320 $string and $string =~ /^\w+$/
337 0 0 364 $sought and $sought =~ /^\w+$/
343 364 0 691 $sought and $found
389 0 0 1456 $sought and $sought =~ /^\w+$/
398 40 660 2922 $node and $root eq $$node[0]
404 700 28 728 !$sought && $$node[1]
485 4228 4795 16746 $pos > $min and $sought lt $$nodes[$pos][0]
500 1073 0 7950 $pos >= 0 and $node = $$nodes[$pos]
1073 1627 6323 $pos >= 0 and $node = $$nodes[$pos] and $root = _gc_root($$node[0], $sought)
508 1099 0 1601 $pos < scalar @{$nodes;} and $node = $$nodes[$pos]

or 2 conditions

line l !l condition
410 622 2 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
190 0 0 364 wantarray || @_ > 1
212 0 0 1456 wantarray || @_ > 1
371 45 265 473 $$node[1] or @{$$node[-1];}