Branch Coverage

blib/lib/AnyData/Storage/TiedHash.pm
Criterion Covered Total %
branch 32 52 61.5


line true false branch
10 6 16 if $key eq '__colnames'
11 0 16 if $key eq '__key'
15 16 18 if ($$self{'ad'}->match($row, $key))
17 16 0 unless $ismultiple
21 0 16 if $ismultiple
22 16 0 $found ? :
46 36 0 scalar @$col_names ? :
49 36 0 if (ref $val eq 'HASH') { }
52 0 66 unless $is_col{$_}
57 0 0 $is_col{$val} ? :
66 0 36 if $$self{'PERMS'} eq 'r'
68 0 36 if $$self{'errstr'}
71 6 30 if ref $key eq 'HASH'
77 60 30 if defined $newrow[$i]
78 30 0 if $colnames[$i] eq $$self{'ad'}->key_col
79 0 30 unless $newrow[$i]
86 0 6 if $$self{'PERMS'} eq 'r'
90 0 6 if ref $key
91 6 0 if ($row = $self->FETCH($key))
111 0 8 unless $row = $$self{'ad'}->fetchrow_hashref
115 8 0 $found ? :
124 7 23 unless $row = $$self{'ad'}->fetchrow_hashref
128 23 7 $found ? :
136 0 10 if (not $key) { }
143 43 0 if $$self{'ad'}->match($row, $key)
158 6 6 if $flags