blib/lib/Net/DAV/LockManager/DB.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 16 | 93.7 |
line | true | false | branch |
---|---|---|---|
39 | 2 | 3 | $_[0] ? : |
42 | 3 | 2 | unless ($dsn) |
56 | 3 | 2 | if ($tmp) |
91 | 2 | 4 | if ($self->{'db'}->selectrow_hashref(q[select name from sqlite_master where name = 'lock'])) |
116 | 0 | 4 | if ($@) |
147 | 5 | 3 | if ($self->{'tmp'}) |
171 | 2 | 1 | $row ? : |
181 | 1 | 2 | if ($path eq '/') |