Branch Coverage

WinConsole.pm
Criterion Covered Total %
branch 0 100 0.0


line true false branch
108 0 0 unless (defined $buffered)
151 0 0 if (my $seq = $WinConsole::sequences{$sub}) { }
153 0 0 defined $_[0] ? :
154 0 0 defined wantarray ? :
203 0 0 if (defined $offset) { }
215 0 0 if (not defined stackDel($self, $idx)) { }
231 0 0 if ($_ == $idx)
247 0 0 if ($_->{'title'} eq $title)
261 0 0 unless (defined $idx)
266 0 0 if (not defined $offset) { }
278 0 0 unless (defined $idx)
283 0 0 if (defined $offset)
320 0 0 if ($destCol > $screen->{'width'})
322 0 0 if ($destRow > $screen->{'height'})
338 0 0 if (defined $win) { }
339 0 0 if ($win < $#{$$self{'miniwin'};}) { }
357 0 0 if (not $gathering) { }
358 0 0 if ($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 if ($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)) { }
396 0 0 if ($gathering)
407 0 0 unless ($_)
425 0 0 defined wantarray ? :
434 0 0 if (defined $win) { }
435 0 0 if ($win < $#{$$self{'miniwin'};}) { }
461 0 0 if ($self->{'zBuffer'}[$row - 1][$col - 1] == $win or $win == 0)
467 0 0 if ($self->{'frontAtt'}[$row - 1][$col - 1] != $lastAtt)
485 0 0 defined wantarray ? :
499 0 0 if ($current->{'border'}) { }
506 0 0 unless $column and $row
509 0 0 if ($column < 0)
512 0 0 if ($row < 0)
516 0 0 if ($row <= $current->{'height'} - $modif) { }
519 0 0 if ($current->{'carrRet'}) { }
528 0 0 if ($column <= $current->{'width'} - $modif) { }
531 0 0 if ($current->{'carrRet'}) { }
559 0 0 if ($current->{'border'})
584 0 0 unless ($col)
588 0 0 unless ($row)
650 0 0 if ($WinConsole::USECOLOR)
653 0 0 if ($WinConsole::attcode{$key} == $val)
657 0 0 if ($WinConsole::attcode{$key} == $val)
663 0 0 if (substr $val, -$idx, 1)
665 0 0 if ($WinConsole::attcode{$_} == 2 ** ($idx + 5))
694 0 0 if ($winId > 0 and $winId < $#{$$self{'miniwin'};}) { }
696 0 0 if ($self->{'winActive'} == $winId)
720 0 0 if ($winId <= $#{$$self{'miniwin'};} and defined $self->{'miniwin'}[$winId]) { }
744 0 0 if ($col > 0 and $col <= $self->{'miniwin'}[0]{'width'} - $self->{'miniwin'}[$self->{'winActive'}]{'width'} + 1) { }
757 0 0 if ($row > 0 and $row <= $self->{'miniwin'}[0]{'height'} - $self->{'miniwin'}[$self->{'winActive'}]{'height'} + 1) { }
772 0 0 if ($width > 0 and $width <= length $current->{'backTxt'}[0]) { }
787 0 0 if ($height > 0 and $height <= $#{$$current{'backTxt'};} + 1) { }