Branch Coverage

blib/lib/DBIx/Locker/Lock.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
60 0 31 if @_ > 1
84 3 1 unless @_
88 0 1 unless $new_expiry =~ /\A\d+\z/
103 1 0 defined $rows ? :
104 0 1 if $rows != 1
126 5 9 if exists $_[1]
140 2 5 unless $self->is_locked
147 0 5 unless $rows == 1
154 0 5 unless $self->locked_by->{'pid'} == $$