Condition Coverage

lib/Kephra/App/EditPanel/Fold.pm
Criterion Covered Total %
condition 0 48 0.0


and 3 conditions

line !l l&&!r l&&r condition
27 0 0 0 defined $event and ref $event eq 'Wx::StyledTextEvent'
63 0 0 0 _config()->{'keep_caret_visible'} and not $ep->GetFoldExpanded($line)
82 0 0 0 _config()->{'keep_caret_visible'} and not $node_xpanded
96 0 0 0 $ep->GetFoldLevel($cursor) == $level and ($ep->GetFoldExpanded($cursor) xor $xp)
100 0 0 0 _config()->{'keep_caret_visible'} and not $xp
112 0 0 0 $ep->GetFoldLevel($_) == $level and ($ep->GetFoldExpanded($_) xor $xp)
115 0 0 0 _config()->{'keep_caret_visible'} and not $xp
124 0 0 0 $oldline == $newline and $oldline > 0
130 0 0 0 _config()->{'keep_caret_visible'} and $root_unfolded

or 3 conditions

line l !l&&r !l&&!r condition
49 0 0 0 $doc_nr < 0 or not ref $ep
88 0 0 0 $line < 0 or $line > $ep->GetLineCount - 1
108 0 0 0 $line < 0 or $line > $ep->GetLineCount - 1

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
79 0 0 0 0 $ep->GetFoldExpanded($cursor) xor $node_xpanded
96 0 0 0 0 $ep->GetFoldExpanded($cursor) xor $xp
112 0 0 0 0 $ep->GetFoldExpanded($_) xor $xp