Branch Coverage

lib/Kephra/Edit/Select.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
6 0 0 unless Kephra::App::EditPanel::is(shift())
10 0 0 unless defined $line
17 0 0 unless defined $pos
19 0 0 if _line_empty($line)
20 0 0 if _line_empty($line - 1) and $pos == $ep->PositionFromLine($line)
32 0 0 unless defined $pos
34 0 0 if _line_empty($line)
35 0 0 if _line_empty($line + 1) and $pos == $ep->GetLineEndPosition($line)
59 0 0 unless defined $pos
65 0 0 unless defined $line
72 0 0 unless defined $pos
79 0 0 if $ep->GetSelectionStart == $ep->GetSelectionEnd
90 0 0 if _line_empty($startline) and _line_empty($endline)
93 0 0 if ($startline == $endline)
96 0 0 unless $start <= $probestart and $end >= $probeend
99 0 0 unless $start == $probestart and $end == $probeend
106 0 0 if $start == $blockstart and $end == $blockend
120 0 0 if ($style == 6 or $style == 7)
124 0 0 unless ($start == $min and $end - 1 == $max)
125 0 0 if ($start - 1 == $min and $end == $max) { }