Condition Coverage

blib/lib/Term/Clui.pm
Criterion Covered Total %
condition 0 183 0.0


and 2 conditions

line l !l condition
519 0 0 $_ =~ s/[\r\n]+$// && 0

and 3 conditions

line !l l&&!r l&&r condition
324 0 0 0 not $mouse_mode and $IsMouseMode
0 0 0 $mouse_mode and not $IsMouseMode
330 0 0 0 not $speakup_silent and $IsSpeakUpSilent
0 0 0 $speakup_silent and not $IsSpeakUpSilent
349 0 0 0 $speakup_silent and not $IsSpeakUpSilent
368 0 0 0 $IsMouseMode and not $WasMouseMode
0 0 0 not $IsMouseMode and $WasMouseMode
371 0 0 0 $IsSpeakUpSilent and not $WasSpeakUpSilent
0 0 0 not $IsSpeakUpSilent and $WasSpeakUpSilent
582 0 0 0 $c eq "\t" and $this_cell < $#list
0 0 0 $c eq 'l' || $c == $KEY_RIGHT and $this_cell < $#list
0 0 0 $c eq 'l' || $c == $KEY_RIGHT and $this_cell < $#list and $irow[$this_cell] == $irow[$this_cell + 1]
0 0 0 $c eq "\cH" || $c == $KEY_BTAB and $this_cell > 0
0 0 0 $c eq 'h' || $c == $KEY_LEFT and $this_cell > 0
0 0 0 $c eq 'h' || $c == $KEY_LEFT and $this_cell > 0 and $irow[$this_cell] == $irow[$this_cell - 1]
0 0 0 $c eq 'j' || $c == $KEY_DOWN and $irow < $nrows
0 0 0 $c eq 'k' || $c == $KEY_UP and $irow > 1
737 0 0 0 $notherlines and $nrows + $notherlines < $maxrows
776 0 0 0 $c == $KEY_LEFT and $i > 0
812 0 0 0 $nchoices and $nrows < $maxrows
901 0 0 0 $icol[$i] < $mouse_col and $icol[$i] + length($list[$i]) >= $mouse_col
912 0 0 0 $button_pressed == 1 and not $button_drag
0 0 0 $button_pressed == 3 and not $button_drag
1001 0 0 0 -B _ and -s _
1002 0 0 0 -T _ and not -w _
1019 0 0 0 -d _ and not -w _
1022 0 0 0 $rcs_ok and -f $rcsfile
0 0 0 $rcs_ok and -f $rcsfile and not -f $file
1032 0 0 0 $rcs_ok and -T $file
1092 0 0 0 not $text and $title =~ /\.doc$/i
0 0 0 not $text and $title =~ /\.doc$/i and -r $title
0 0 0 not $text and -T $title
0 0 0 not $text and -T $title and open F, "< $title"

or 2 conditions

line l !l condition
407 0 0 $maxcols || 80
408 0 0 $maxrows || 24
982 0 0 $ENV{'EDITOR'} || 'vi'
991 0 0 $ENV{'EDITOR'} || 'vi'
1027 0 0 $ENV{'EDITOR'} || 'vi'

or 3 conditions

line l !l&&r !l&&!r condition
182 0 0 0 handle_mouse($x, $y, $button_pressed, $button_drag) || getch()
405 0 0 0 `tput lines` + 0 || `tput rows` + 0
461 0 0 0 $c eq "\cH" or $c eq "\177"
0 0 0 $c eq "\cX" or $c eq "\cD"
0 0 0 $c eq "\cA" or $c == $KEY_HOME
0 0 0 $c eq "\cE" or $c == $KEY_END
582 0 0 0 $c eq 'q' or $c eq "\cD"
0 0 0 $c eq 'q' or $c eq "\cD" or $c eq "\cX"
0 0 0 $c eq 'l' || $c == $KEY_RIGHT
0 0 0 $c eq "\cH" || $c == $KEY_BTAB
0 0 0 $c eq 'h' || $c == $KEY_LEFT
0 0 0 $c eq 'j' || $c == $KEY_DOWN
0 0 0 $c eq 'k' || $c == $KEY_UP
668 0 0 0 $marked[$i] or $i == $this_cell
749 0 0 0 $marked[$i] or $i == $this_cell
776 0 0 0 $c eq "\cH" or $c eq "\177"
0 0 0 $c eq "\cX" or $c eq "\cD"
812 0 0 0 $nchoices == 1 or $nchoices and $nrows < $maxrows
1091 0 0 0 $ENV{'PAGER'} || $default_pager
1151 0 0 0 $c eq 'q' or $c eq "\cX"
0 0 0 $c eq 'q' or $c eq "\cX" or $c eq "\cW"
0 0 0 $c eq 'q' or $c eq "\cX" or $c eq "\cW" or $c eq "\cZ"
0 0 0 $c eq 'q' or $c eq "\cX" or $c eq "\cW" or $c eq "\cZ" or $c eq "\cC"
0 0 0 $c eq 'q' or $c eq "\cX" or $c eq "\cW" or $c eq "\cZ" or $c eq "\cC" or $c eq "\034\\"