Branch Coverage

blib/lib/Curses/UI/Searchable.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
106 0 0 if ($$entry{-'focus'}) { }
139 0 0 if (defined $prompt) { }
226 0 0 if ($query ne '')
233 0 0 if (not defined $newidx) { }
236 0 0 $wrapped ? :
246 0 0 if ($$querybox{-'key'} eq 'n') { }
0 0 elsif ($$querybox{-'key'} eq 'N') { }
272 0 0 $direction > 0 ? :
281 0 0 if ($change < 0) { }
0 0 elsif ($change > 0) { }
285 0 0 if $$this{-'ypos'} - $$this{-'yscrpos'} == $this->canvasheight
327 0 0 if ($newpos < 0)
334 0 0 if ($newpos > $last_idx)
342 0 0 if $newpos == $startpos
344 0 0 if ($this->getline_at_ypos($newpos) =~ /\Q$query\E/i)