Branch Coverage

lib/Kephra/App/Window.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
8 0 0 if (ref $_[0] eq 'Wx::Frame') { }
14 0 0 if Wx::wxMAC()
34 0 0 if Wx::wxMSW()
47 0 0 unless -e $icon_file
49 0 0 if ($icon_file =~ /.ico$/) { }
0 0 elsif ($icon_file =~ /.xpm$/) { }
52 0 0 if $type
53 0 0 if defined $icon
95 0 0 if (get_on_top_mode()) { }
113 0 0 if get_on_top_mode() != get_transparency_mode()
123 0 0 if Kephra::App::MenuBar::get_visibility() == $v
125 0 0 if Kephra::App::MainToolBar::get_visibility() == $v
127 0 0 if Kephra::App::TabBar::get_visibility() == $v and not $v
129 0 0 if Kephra::App::SearchBar::get_visibility() == $v
131 0 0 if Kephra::App::StatusBar::get_visibility() == $v
136 0 0 if _config()->{'fullscreen'}
137 0 0 if _config()->{'stay_on_top'}
138 0 0 if _config()->{'transparent'}
139 0 0 if _config()->{'maximize_editpanel'}
145 0 0 if ($$config{'save_position'})
156 0 0 if ($$config{'save_position'}) { }
157 0 0 if (0 > $$config{'position_x'} + $$config{'size_x'} or 0 > $$config{'position_y'} + $$config{'size_y'})
161 0 0 if (int $$default{'size_x'} == 0) { }
164 0 0 if (int $$default{'size_y'} == 0) { }
168 0 0 if ($$config{'position_y'} < 21)
0 0 if (Wx::wxMAC())
169 0 0 if $screen_x < $$config{'position_x'}
170 0 0 if $screen_y < $$config{'position_y'}