line |
true |
false |
branch |
15
|
0 |
1 |
unless my $self = $class->open(@_) |
22
|
7 |
0 |
defined $_rc ? : |
28
|
1 |
3 |
if ($rc == UNQLITE_OK) |
29
|
0 |
3 |
if ($rc == UNQLITE_NOMEM) |
30
|
0 |
3 |
if ($rc == UNQLITE_ABORT) |
31
|
1 |
2 |
if ($rc == UNQLITE_IOERR) |
32
|
0 |
2 |
if ($rc == UNQLITE_CORRUPT) |
33
|
0 |
2 |
if ($rc == UNQLITE_LOCKED) |
34
|
0 |
2 |
if ($rc == UNQLITE_BUSY) |
35
|
0 |
2 |
if ($rc == UNQLITE_DONE) |
36
|
0 |
2 |
if ($rc == UNQLITE_PERM) |
37
|
0 |
2 |
if ($rc == UNQLITE_NOTIMPLEMENTED) |
38
|
2 |
0 |
if ($rc == UNQLITE_NOTFOUND) |
39
|
0 |
0 |
if ($rc == UNQLITE_NOOP) |
40
|
0 |
0 |
if ($rc == UNQLITE_INVALID) |
41
|
0 |
0 |
if ($rc == UNQLITE_EOF) |
42
|
0 |
0 |
if ($rc == UNQLITE_UNKNOWN) |
43
|
0 |
0 |
if ($rc == UNQLITE_LIMIT) |
44
|
0 |
0 |
if ($rc == UNQLITE_EXISTS) |
45
|
0 |
0 |
if ($rc == UNQLITE_EMPTY) |
46
|
0 |
0 |
if ($rc == UNQLITE_COMPILE_ERR) |
47
|
0 |
0 |
if ($rc == UNQLITE_VM_ERR) |
48
|
0 |
0 |
if ($rc == UNQLITE_FULL) |
49
|
0 |
0 |
if ($rc == UNQLITE_CANTOPEN) |
50
|
0 |
0 |
if ($rc == UNQLITE_READ_ONLY) |
51
|
0 |
0 |
if ($rc == UNQLITE_LOCKERR) |
64
|
0 |
0 |
defined $_rc ? : |
126
|
0 |
2 |
unless $$self[1]->kv_store($key, $value) |
134
|
1 |
1 |
unless $errstr and $errstr eq 'UNQLITE_OK' |
135
|
0 |
1 |
unless $$self[1]->kv_delete($key) |
141
|
2 |
2 |
unless $self->first_entry |
147
|
2 |
2 |
unless $self->next_entry |
153
|
1 |
1 |
if $$self[1]->kv_fetch($key) |
155
|
0 |
1 |
$errstr && $errstr eq 'UNQLITE_OK' ? : |
160
|
0 |
1 |
unless $self->first_entry |
167
|
1 |
1 |
unless $self->first_entry |