Branch Coverage

blib/lib/Parse/Win32Registry/Key.pm
Criterion Covered Total %
branch 26 48 54.1


line true false branch
28 0 117 unless defined $subkey_name
31 117 178 if (uc $subkey_name eq uc $$subkey{'_name'})
43 1 88 unless defined $subkey_path
53 59 29 index($subkey_path, '\\') == -1 ? :
61 117 0 if (my $subkey = $key->_look_up_subkey($subkey_name)) { }
62 0 117 if (exists $offsets_seen{$subkey->get_offset})
80 1 184 unless defined $value_name
83 184 4410 if (uc $value_name eq uc $$value{'_name'})
113 0 104 unless (defined $key)
117 0 104 if (exists $offsets_seen{$key->get_offset})
133 0 92 unless defined $value_name
135 92 0 if (my $value = $self->get_value($value_name))
146 0 0 if (my $mrulist = $self->get_value('MRUList')) { }
0 0 elsif (my $mrulistex = $self->get_value('MRUListEx')) { }
148 0 0 if (my $value = $self->get_value($ch))
155 0 0 if $item == 4294967295
156 0 0 if (my $value = $self->get_value($item))
197 40 26 if (defined $value_iter and wantarray)
199 26 14 if (defined $value)
207 34 40 if (defined $key)
224 0 0 unless (defined $key_enter_func or defined $value_func or defined $key_leave_func)
232 14 0 if ref $key_enter_func eq 'CODE'
235 26 0 if ref $value_func eq 'CODE'
242 14 0 if ref $key_leave_func eq 'CODE'