Condition Coverage

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


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
325 0 0 0 not $mouse_mode and $IsMouseMode
0 0 0 $mouse_mode and not $IsMouseMode
331 0 0 0 not $speakup_silent and $IsSpeakUpSilent
0 0 0 $speakup_silent and not $IsSpeakUpSilent
350 0 0 0 $speakup_silent and not $IsSpeakUpSilent
369 0 0 0 $IsMouseMode and not $WasMouseMode
0 0 0 not $IsMouseMode and $WasMouseMode
372 0 0 0 $IsSpeakUpSilent and not $WasSpeakUpSilent
0 0 0 not $IsSpeakUpSilent and $WasSpeakUpSilent
583 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
738 0 0 0 $notherlines and $nrows + $notherlines < $maxrows
777 0 0 0 $c == $KEY_LEFT and $i > 0
813 0 0 0 $nchoices and $nrows < $maxrows
902 0 0 0 $icol[$i] < $mouse_col and $icol[$i] + length($list[$i]) >= $mouse_col
913 0 0 0 $button_pressed == 1 and not $button_drag
0 0 0 $button_pressed == 3 and not $button_drag
1002 0 0 0 -B _ and -s _
1003 0 0 0 -T _ and not -w _
1020 0 0 0 -d _ and not -w _
1023 0 0 0 $rcs_ok and -f $rcsfile
0 0 0 $rcs_ok and -f $rcsfile and not -f $file
1033 0 0 0 $rcs_ok and -T $file
1093 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
408 0 0 $maxcols || 80
409 0 0 $maxrows || 24
983 0 0 $ENV{'EDITOR'} || 'vi'
992 0 0 $ENV{'EDITOR'} || 'vi'
1028 0 0 $ENV{'EDITOR'} || 'vi'

or 3 conditions

line l !l&&r !l&&!r condition
183 0 0 0 handle_mouse($x, $y, $button_pressed, $button_drag) || getch()
406 0 0 0 `tput lines` + 0 || `tput rows` + 0
462 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
583 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
669 0 0 0 $marked[$i] or $i == $this_cell
750 0 0 0 $marked[$i] or $i == $this_cell
777 0 0 0 $c eq "\cH" or $c eq "\177"
0 0 0 $c eq "\cX" or $c eq "\cD"
813 0 0 0 $nchoices == 1 or $nchoices and $nrows < $maxrows
1092 0 0 0 $ENV{'PAGER'} || $default_pager
1152 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\\"