Condition Coverage

blib/lib/Curses/UI/TextEditor.pm
Criterion Covered Total %
condition 15 61 24.5


and 3 conditions

line !l l&&!r l&&r condition
219 1 0 0 $$this{-'singleline'} and defined $$this{-'text'}
1 0 0 $$this{-'singleline'} and defined $$this{-'text'} and $$this{-'text'} =~ /\n/
266 1 0 0 $$this{-'yscrpos'} > 0 and $inscreen < $this->canvasheight
280 1 0 0 $$this{-'xscrpos'} > 0 and $inscreen < $this->canvaswidth
386 0 0 4 !$$this{-'wrapping'} && $$this{-'showoverflow'}
392 0 4 0 $realxpos < $wrapborder + int($this->canvaswidth / 3) and $$this{-'xscrpos'} > 0
421 4 0 0 $$this{-'hscrollbar'} and not $$this{-'wrapping'}
482 2 0 0 defined $$this{-'search_highlight'} and $$this{-'search_highlight'} == $id + $$this{-'yscrpos'}
507 1 0 0 $$this{-'singleline'} and defined $$this{-'password'}
545 0 0 1 not $$this{-'wrapping'} and $$this{-'showoverflow'}
630 0 0 0 defined $$this{-'prevkey'} and $$this{-'prevkey'} ne $key
657 0 0 0 not $is_illegal and defined $$this{-'maxlines'}
661 0 0 0 not $is_illegal and defined $$this{-'regexp'}
1144 0 0 0 $l and @{$$this{-'undotext'};} > $l

or 2 conditions

line l !l condition
451 1 0 shift() || 0
591 1 0 shift() || 0
810 0 0 shift() || 1
858 0 0 shift() || 1
1188 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
421 0 0 4 $$this{-'hscrollbar'} and not $$this{-'wrapping'} or $$this{-'readonly'}
436 0 0 4 $$this{-'vscrollbar'} or $$this{-'readonly'}
459 0 0 1 $$this{-'showlines'} or $$this{-'reverse'}