Branch Coverage

lib/Kephra/CommandList.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
11 0 0 if (ref $_[0] eq 'HASH') { }
25 0 0 unless $cmd_list_def
53 0 0 if ref $root_node eq 'HASH'
61 0 0 if (not $leaf_type) { }
0 0 elsif ($leaf_type eq 'HASH') { }
62 0 0 if $$parent_node{$_}
94 0 0 unless exists $$item_data{'key'}
100 0 0 unless $i > 0
102 0 0 if ($char eq 's') { }
0 0 elsif ($char eq 'c') { }
0 0 elsif ($char eq 'a') { }
107 0 0 exists $$k18n{$rest} ? :
111 0 0 length $rest == 1 ? :
124 0 0 if $$item_data{'sub'}
126 0 0 if $$item_data{$node_type}
129 0 0 if ($$item_data{'call'} and $$item_data{'key'})
132 0 0 unless $$item_data{'icon'}
141 0 0 unless exists $list{$_[0]}
149 0 0 unless ref $properties eq 'HASH'
151 0 0 if (exists $list{$cmd_id}) { }
162 0 0 unless $new_ID and ref $list{$old_ID} eq 'HASH'
169 0 0 if ref $list{$cmd_id} eq 'HASH' and exists $list{$cmd_id}{$leafe}
175 0 0 if ref $list{$cmd_id} eq 'HASH'
181 0 0 if exists $list{$_}{$property}
188 0 0 if ref $list{$cmd_id}{'call'} eq 'CODE'
193 0 0 if (ref $keymap[$keycode] eq 'CODE')
202 0 0 if exists $$l18n{'commandlist'}