Condition Coverage

lib/Kephra/Edit/Search.pm
Criterion Covered Total %
condition 0 130 0.0


and 3 conditions

line !l l&&!r l&&r condition
25 0 0 0 defined $$attr{'match_case'} and $$attr{'match_case'}
27 0 0 0 defined $$attr{'match_whole_word'} and $$attr{'match_whole_word'}
30 0 0 0 $$attr{'match_word_begin'} and $$attr{'match_word_begin'}
33 0 0 0 defined $$attr{'match_regex'} and $$attr{'match_regex'}
90 0 0 0 defined $new and !defined($old) || $new ne $old
102 0 0 0 defined $find_item && $find_item
103 0 0 0 defined $replace_item && $replace_item
109 0 0 0 defined $new and !defined($old) || $new ne $old
126 0 0 0 $$history{'remember_only_matched'} and not $found_match
128 0 0 0 $find_item and $find_history[0] ne $find_item
293 0 0 0 Kephra::Document::Data::current_nr() == 0 and not $$attr{'auto_wrap'}
328 0 0 0 Kephra::Document::Data::current_nr() == Kephra::Document::Data::last_nr() and not $$attr{'auto_wrap'}
363 0 0 0 Kephra::Document::Data::current_nr() == 0 and not $$attr{'auto_wrap'}
397 0 0 0 Kephra::Document::Data::current_nr() == Kephra::Document::Data::last_nr() and not $$attr{'auto_wrap'}
425 0 0 0 $menu_call and $sel_begin != $sel_end
0 0 0 $menu_call and $sel_begin != $sel_end and $sel_end - $sel_begin > $len
433 0 0 0 $return > -1 and $ep->GetCurrentPos + $len <= $sel_end
441 0 0 0 get_range() eq 'open_docs' and $sel_begin == $ep->GetSelectionStart || $return == -1
448 0 0 0 Kephra::Document::Data::current_nr() == 0 and not $$attr{'auto_wrap'}
479 0 0 0 $menu_call and $sel_begin != $sel_end
0 0 0 $menu_call and $sel_begin != $sel_end and $sel_end - $sel_begin > $len
487 0 0 0 $return > -1 and $ep->GetCurrentPos >= $sel_begin
495 0 0 0 get_range() eq 'open_docs' and $sel_begin == $ep->GetSelectionStart || $return == -1
502 0 0 0 Kephra::Document::Data::current_nr() == Kephra::Document::Data::last_nr() and not $$attr{'auto_wrap'}
551 0 0 0 $menu_call and $sel_begin != $sel_end
0 0 0 $menu_call and $sel_begin != $sel_end and $sel_end - $sel_begin > $len
603 0 0 0 $menu_call and $sel_begin != $sel_end
0 0 0 $menu_call and $sel_begin != $sel_end and $sel_end - $sel_begin > $len

or 2 conditions

line l !l condition
42 0 0 $$config_tree{'find'}{'item'} || ''
43 0 0 $$config_tree{'replace'}{'item'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
90 0 0 0 !defined($old) || $new ne $old
109 0 0 0 !defined($old) || $new ne $old
174 0 0 0 $attr eq 'match_case' or $attr eq 'match_word_begin'
0 0 0 $attr eq 'match_case' or $attr eq 'match_word_begin' or $attr eq 'match_whole_word'
0 0 0 $attr eq 'match_case' or $attr eq 'match_word_begin' or $attr eq 'match_whole_word' or $attr eq 'match_regex'
0 0 0 $attr eq 'match_case' or $attr eq 'match_word_begin' or $attr eq 'match_whole_word' or $attr eq 'match_regex' or $attr eq 'auto_wrap'
0 0 0 $attr eq 'match_case' or $attr eq 'match_word_begin' or $attr eq 'match_whole_word' or $attr eq 'match_regex' or $attr eq 'auto_wrap' or $attr eq 'incremental'
186 0 0 0 $attr eq 'match_case' or $attr eq 'match_word_begin'
0 0 0 $attr eq 'match_case' or $attr eq 'match_word_begin' or $attr eq 'match_whole_word'
0 0 0 $attr eq 'match_case' or $attr eq 'match_word_begin' or $attr eq 'match_whole_word' or $attr eq 'match_regex'
0 0 0 $attr eq 'match_case' or $attr eq 'match_word_begin' or $attr eq 'match_whole_word' or $attr eq 'match_regex' or $attr eq 'auto_wrap'
0 0 0 $attr eq 'match_case' or $attr eq 'match_word_begin' or $attr eq 'match_whole_word' or $attr eq 'match_regex' or $attr eq 'auto_wrap' or $attr eq 'incremental'
441 0 0 0 $sel_begin == $ep->GetSelectionStart || $return == -1
495 0 0 0 $sel_begin == $ep->GetSelectionStart || $return == -1