Condition Coverage

blib/lib/Term/WinConsole.pm
Criterion Covered Total %
condition 2 99 2.0


and 3 conditions

line !l l&&!r l&&r condition
358 0 0 0 substr($$self{'frontTxt'}[$row - 1], $col - 1, 1) ne substr(@{$backTxt;}[$row - 1], $col - 1, 1) and $$self{'zBuffer'}[$row - 1][$col - 1] == $win || $win == 0
374 0 0 0 $curAtt == ${$backAtt;}[$row - 1][$col - 1] and $$self{'frontAtt'}[$row - 1][$col - 1] != ${$backAtt;}[$row - 1][$col - 1] || substr($$self{'frontTxt'}[$row - 1], $col - 1, 1) ne substr(@{$backTxt;}[$row - 1], $col - 1, 1)
0 0 0 $$self{'zBuffer'}[$row - 1][$col - 1] != $win and $win != 0
0 0 0 $curAtt == ${$backAtt;}[$row - 1][$col - 1] and $$self{'frontAtt'}[$row - 1][$col - 1] != ${$backAtt;}[$row - 1][$col - 1] || substr($$self{'frontTxt'}[$row - 1], $col - 1, 1) ne substr(@{$backTxt;}[$row - 1], $col - 1, 1) and ($$self{'zBuffer'}[$row - 1][$col - 1] != $win and $win != 0)
506 0 7 0 $column and $row
694 0 0 0 $winId > 0 and $winId < $#{$$self{'miniwin'};}
720 0 0 3 $winId <= $#{$$self{'miniwin'};} and defined $$self{'miniwin'}[$winId]
744 0 0 0 $col > 0 and $col <= $$self{'miniwin'}[0]{'width'} - $$self{'miniwin'}[$$self{'winActive'}]{'width'} + 1
757 0 0 0 $row > 0 and $row <= $$self{'miniwin'}[0]{'height'} - $$self{'miniwin'}[$$self{'winActive'}]{'height'} + 1
772 0 0 0 $width > 0 and $width <= length $$current{'backTxt'}[0]
787 0 0 0 $height > 0 and $height <= $#{$$current{'backTxt'};} + 1
1175 0 0 0 defined $attref and $#{@{$attref;}[0];} < $$current{'width'} - 1 - $modif * 2
1189 0 0 0 defined $attref and $#{@{$attref;};} < $$current{'height'} - 1 - $modif * 2

or 3 conditions

line l !l&&r !l&&!r condition
358 0 0 0 $$self{'zBuffer'}[$row - 1][$col - 1] == $win || $win == 0
0 0 0 $$self{'frontAtt'}[$row - 1][$col - 1] != ${$backAtt;}[$row - 1][$col - 1] or substr($$self{'frontTxt'}[$row - 1], $col - 1, 1) ne substr(@{$backTxt;}[$row - 1], $col - 1, 1) and $$self{'zBuffer'}[$row - 1][$col - 1] == $win || $win == 0
374 0 0 0 $$self{'frontAtt'}[$row - 1][$col - 1] != ${$backAtt;}[$row - 1][$col - 1] || substr($$self{'frontTxt'}[$row - 1], $col - 1, 1) ne substr(@{$backTxt;}[$row - 1], $col - 1, 1)
461 0 0 0 $$self{'zBuffer'}[$row - 1][$col - 1] == $win or $win == 0
1066 0 0 0 $dir eq 'down' or $dir eq 'd'
1080 0 0 0 $dir eq 'right' or $dir eq 'r'
1094 0 0 0 $dir eq 'up' or $dir eq 'u'
1108 0 0 0 $dir eq 'left' or $dir eq 'l'
1172 0 0 0 $dir eq 'up' or $dir eq 'u'
0 0 0 $dir eq 'up' or $dir eq 'u' or $dir eq 'down'
0 0 0 $dir eq 'up' or $dir eq 'u' or $dir eq 'down' or $dir eq 'd'
1175 0 0 0 length $saveText[0] < $$current{'width'} - $modif * 2 or defined $attref and $#{@{$attref;}[0];} < $$current{'width'} - 1 - $modif * 2
1186 0 0 0 $dir eq 'left' or $dir eq 'l'
0 0 0 $dir eq 'left' or $dir eq 'l' or $dir eq 'right'
0 0 0 $dir eq 'left' or $dir eq 'l' or $dir eq 'right' or $dir eq 'r'
1189 0 0 0 $#saveText < $$current{'height'} - 1 - $modif * 2 or defined $attref and $#{@{$attref;};} < $$current{'height'} - 1 - $modif * 2
1200 0 0 0 $dir eq 'up' or $dir eq 'u'
1208 0 0 0 $dir eq 'left' or $dir eq 'l'
1216 0 0 0 $dir eq 'down' or $dir eq 'd'
1224 0 0 0 $dir eq 'right' or $dir eq 'r'