Condition Coverage

blib/lib/DBIx/Locker.pm
Criterion Covered Total %
condition 14 33 42.4


and 3 conditions

line !l l&&!r l&&r condition
80 1 0 0 $guts->{'dbh'} and not $guts->{'dbh'}{'RaiseError'}
85 1 0 0 exists $dbi_attr->{'RaiseError'} and not $dbi_attr->{'RaiseError'}
117 1 0 17 $self->{'dbh'} and eval {
154 0 0 6 defined $lockstring and length $lockstring
159 0 0 6 $expires > 0 and $expires == int $expires
186 0 0 1 $dbh->err && $dbh->errstr
1 0 5 $rows and $rows == 1

or 2 conditions

line l !l condition
82 1 0 $guts->{'dbi_args'}[3] ||= {}
149 0 8 $arg ||= {}
157 0 6 $arg->{'expires'} ||= 3600

or 3 conditions

line l !l&&r !l&&!r condition
76 1 0 0 $arg->{'dbi_args'} || $class->default_dbi_args
1 0 0 $arg->{'table'} || $class->default_table