blib/lib/Tie/RDBM.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 36 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
101 | 2 | 0 | 0 | $canfreeze &&= $haveStorable |
113 | 0 | 0 | 2 | defined $sth and $sth->execute ne '' |
119 | 2 | 0 | 0 | $canfreeze &&= $field_names{$$opt{'frozen'}} |
177 | 8 | 0 | 0 | $$self{'canfreeze'} && $$result[1] |
184 | 5 | 0 | 0 | ref $value and $$self{'canfreeze'} |
324 | 0 | 0 | 4 | $sth and $sth->rows |
339 | 0 | 0 | 20 | $sth and $sth->execute |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
52 | 2 | 0 | 0 | $dsn ||= $$opt{'db'} |
96 | 0 | 2 | 0 | $Tie::RDBM::Types{$driver} || $Tie::RDBM::Types{'default'} |
124 | 0 | 0 | 0 | $$opt{'create'} or $$opt{'drop'} |
148 | 0 | 0 | 2 | $driver eq 'mSQL' || $driver eq 'mysql' |
199 | 1 | 4 | 0 | $self->_update($key, $value, $frozen) || $self->_insert($key, $value, $frozen) |