Branch Coverage

lib/Kephra/App/TabBar.pm
Criterion Covered Total %
branch 0 76 0.0


line true false branch
9 0 0 ref $_[0] eq 'Wx::AuiNotebook' ? :
10 0 0 if keys %$cfg
25 0 0 $nr == -1 ? :
29 0 0 $nr == -1 ? :
33 0 0 $nr == -1 ? :
37 0 0 $nr == -1 ? :
42 0 0 if $from == -1 or $to == -1
52 0 0 if $from == -1 or $to == -1
60 0 0 if $tab_nr == -1
65 0 0 if $tab2doc_pos[$_] > $doc_nr
66 0 0 if $vis2doc_pos[$_] > $doc_nr
76 0 0 if defined $notebook
122 0 0 if (_config()->{'middle_click'})
129 0 0 if _config()->{'movable_tabs'}
130 0 0 if _config()->{'tablist_button'}
131 0 0 if (_config()->{'close_button'} =~ /all/) { }
0 0 elsif (_config()->{'close_button'} =~ /one/) { }
0 0 elsif (_config()->{'close_button'} =~ /current/) { }
0 0 elsif (_config()->{'close_button'} =~ /active/) { }
146 0 0 ref $config && defined $$config{'insert_new_tab'} ? :
150 0 0 if $mode eq 'leftmost'
151 0 0 if $mode eq 'left'
152 0 0 if $mode eq 'right'
153 0 0 if $mode eq 'rightmost'
177 0 0 unless defined $panel and substr(ref $panel, 0, 4) eq 'Wx::'
187 0 0 unless $nr == $notebook->GetSelection
200 0 0 unless _config()->{'movable_tabs'}
234 0 0 unless defined $doc_nr
235 0 0 unless _validate_doc_nr($doc_nr) > -1
244 0 0 if (length $label > $max_width and $max_width > 7)
248 0 0 if ($$config{'mark_configs'} and Kephra::Document::Data::get_attribute('config_file', $doc_nr) and Kephra::API::settings()->{'file'}{'save'}{'reload_config'})
253 0 0 if $$config{'number_tabs'}
255 0 0 if ($$config{'info_symbol'})
256 0 0 if Kephra::Document::Data::get_attribute('editable')
257 0 0 if Kephra::Document::Data::get_attribute('modified')
264 0 0 if (Kephra::Document::Data::get_value('loaded'))
277 0 0 unless defined $visible
278 0 0 $visible ? :