Condition Coverage

blib/lib/IPC/Locker/Server.pm
Criterion Covered Total %
condition 0 93 0.0


and 3 conditions

line !l l&&!r l&&r condition
122 0 0 0 defined $param->{'family'} and $param->{'family'} eq "UNIX"
0 0 0 defined $param->{'family'} and $param->{'family'} eq "UNIX" and not exists $param->{'port'}
364 0 0 0 $locki and $locki->{'owner'} ne $clientvar->{'user'}
366 0 0 0 $locki->{'autounlock'} and $clientvar->{'autounlock'}
404 0 0 0 not $clientvar->{'told_locked'} and $first_locki
489 0 0 0 $locki->{'locked'} and $locki->{'timelimit'}
511 0 0 0 defined $pid and defined $exists
0 0 0 defined $pid and defined $exists and not $exists
524 0 0 0 $locki->{'locked'} and $locki->{'autounlock'}
0 0 0 $locki->{'locked'} and $locki->{'autounlock'} and $locki->{'hostname'} eq $host
0 0 0 $locki->{'locked'} and $locki->{'autounlock'} and $locki->{'hostname'} eq $host and $locki->{'pid'} == $pid
543 0 0 0 not $locki->{'locked'} and defined $locki->{'waiters'}[0]
571 0 0 0 $clientvar->{'locked'} and $clientvar->{'locks'}[0] ne $locki->{'lock'}
633 0 0 0 $locki->{'timelimit'} and $locki->{'timelimit'} <= $time
674 0 0 0 $locki->{'locked'} and $locki->{'owner'} eq $clientvar->{'user'}
717 0 0 0 $self->{'family'} eq "UNIX" and $self->{'unix_socket_created'}

or 2 conditions

line l !l condition
232 0 0 shift() || die()
301 0 0 shift() || die()
313 0 0 shift() || die()
344 0 0 shift() || die()
358 0 0 shift() || die()
414 0 0 shift() || die()
429 0 0 shift() || die()
455 0 0 shift() || die()
466 0 0 $status || ''
540 0 0 shift() || die()
594 0 0 shift() || die()
619 0 0 $self->{'_recheck_locks_time'} || 0
638 0 0 $locki->{'autounlock_check_time'} || 0
669 0 0 shift() || 'lock'
711 0 0 $_[0] or "lock"

or 3 conditions

line l !l&&r !l&&!r condition
113 0 0 0 ref $proto || $proto
389 0 0 0 $first_locki ||= $locki
492 0 0 0 not defined $timelimit or $locki->{'timelimit'} <= $timelimit
543 0 0 0 $locki->{'locked'} || defined $locki->{'waiters'}[0]
629 0 0 0 shift() || fractime()