Branch Coverage

lib/Kephra/App/ContextMenu.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
7 0 0 unless &Kephra::Menu::ready
13 0 0 unless ($default_menu_def)
18 0 0 if (not ref $menu_id) { }
0 0 elsif (ref $menu_id eq 'HASH') { }
22 0 0 substr($start_node, 0, 1) eq '&' ? :
29 0 0 unless exists $$menu{'file'}
31 0 0 unless -e $file_name
45 0 0 if (Kephra::App::TabBar::get_contextmenu_visibility()) { }
58 0 0 if Kephra::Menu::is($menu)
64 0 0 if substr(ref $widget, 0, 4) eq 'Wx::'