Condition Coverage

lib/Kephra/App/TabBar.pm
Criterion Covered Total %
condition 0 30 0.0


and 3 conditions

line !l l&&!r l&&r condition
146 0 0 0 ref $config && defined $$config{'insert_new_tab'}
177 0 0 0 defined $panel and substr(ref $panel, 0, 4) eq 'Wx::'
244 0 0 0 length $label > $max_width and $max_width > 7
248 0 0 0 $$config{'mark_configs'} and Kephra::Document::Data::get_attribute('config_file', $doc_nr)
0 0 0 $$config{'mark_configs'} and Kephra::Document::Data::get_attribute('config_file', $doc_nr) and Kephra::API::settings()->{'file'}{'save'}{'reload_config'}

or 3 conditions

line l !l&&r !l&&!r condition
42 0 0 0 $from == -1 or $to == -1
52 0 0 0 $from == -1 or $to == -1
144 0 0 0 shift() || $current_nr
175 0 0 0 shift() || Kephra::Document::Data::current_nr()
239 0 0 0 Kephra::Document::Data::get_attribute($$config{'file_info'}, $doc_nr) || "<$untitled>"