Condition Coverage

blib/lib/Lazy/Lockfile.pm
Criterion Covered Total %
condition 11 27 40.7


and 3 conditions

line !l l&&!r l&&r condition
164 2 0 1 defined $file_pid and $file_pid ne ''
2 1 0 defined $file_pid and $file_pid ne '' and $file_pid == 0 || (kill(0, $file_pid) || $!{'EPERM'})
270 0 3 0 $self and $self->{'lockfile_location'}
0 3 0 $self and $self->{'lockfile_location'} and $self->{'delete_on_destroy'}
284 0 2 0 defined $file_pid and $file_pid == 0 || $file_pid == $$

or 3 conditions

line l !l&&r !l&&!r condition
131 3 0 0 not defined $lockfile_location or $lockfile_location eq ''
164 0 0 1 $file_pid == 0 || (kill(0, $file_pid) || $!{'EPERM'})
188 0 0 2 not defined $r or $r != length $lockfile_contents
284 0 2 0 $file_pid == 0 || $file_pid == $$