Condition Coverage

blib/lib/App/DistSync/LockFile.pm
Criterion Covered Total %
condition 12 27 44.4


and 3 conditions

line !l l&&!r l&&r condition
276 0 0 0 $self->{'retries'} and $try != $self->{'retries'}
346 2 0 2 $self->{'_is_locked'} && -f $self->file

or 2 conditions

line l !l condition
212 0 2 $self->{'debug'} ||= 0
216 0 2 $self->{'own'} ||= 0
217 1 1 $self->{'auto'} //= 0
218 0 2 $self->{'retries'} //= 5
219 0 2 $self->{'delay'} //= 60
300 2 0 $line || 0

or 3 conditions

line l !l&&r !l&&!r condition
214 2 0 0 $self->{'file'} //= "File::Spec"->catfile(getcwd(), sprintf("%s.lock", basename($0)))
215 0 2 0 $self->{'pid'} ||= $$
264 2 0 0 $self->pid || $$