Branch Coverage

lib/Kephra/Dialog/Search.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
9 0 0 ref $_[0] eq 'Wx::Dialog' ? :
22 0 0 if ($selection and not $$d{'selection_radio'}->GetValue) { }
33 0 0 if (length $selection > 0 and not $$d{'selection_radio'}->GetValue) { }
44 0 0 if (not $active) { }
57 0 0 if $Kephra::config{'app'}{'window'}{'stay_on_top'}
58 0 0 if $$dsettings{'position_x'} < 0
59 0 0 if $$dsettings{'position_y'} < 0
60 0 0 Wx::wxMSW() ? :
61 0 0 if (Kephra::Edit::Search::_history()->{'use'})
81 0 0 if ref $icon_bmp eq 'Wx::Bitmap'
83 0 0 if defined $$dsettings{'transparency'}
140 0 0 if ($$dsettings{'tooltips'})
260 0 0 if ($edit_panel->LineFromPosition($edit_panel->GetSelectionStart) != $edit_panel->LineFromPosition($edit_panel->GetSelectionEnd)) { }
0 0 elsif ($$attr{'in'} eq 'open_docs') { }
347 0 0 if ($$dialog{'selection_radio'}->GetValue)
361 0 0 if ($key_code == &Wx::WXK_RETURN) { }
0 0 elsif ($key_code == &Wx::WXK_ESCAPE) { }
0 0 elsif ($key_code == &Wx::WXK_TAB) { }
363 0 0 if ($event->ControlDown) { }
0 0 elsif ($event->ShiftDown) { }
370 0 0 if ($event->ShiftDown) { }
379 0 0 Kephra::Edit::Search::_find_pos() > -1 ? :
381 0 0 if $highlight_search eq $found_something
383 0 0 if ($found_something) { }
395 0 0 if (Kephra::Edit::Search::_attributes()->{'incremental'} and not $Kephra::temp{'dialog'}{'search'}{'control'})
408 0 0 if ($key_code == &Wx::WXK_RETURN)
409 0 0 if ($event->ControlDown) { }
0 0 elsif ($event->AltDown) { }
415 0 0 if ($key_code == &Wx::WXK_ESCAPE) { }
0 0 elsif ($key_code == &Wx::WXK_TAB) { }
417 0 0 if ($event->ShiftDown) { }
425 0 0 if $active
430 0 0 if $$config{'save_position'} == 1