Condition Coverage

blib/lib/EMDIS/ECS/LockedHash.pm
Criterion Covered Total %
condition 10 18 55.5


and 3 conditions

line !l l&&!r l&&r condition
107 0 4 1 $this->LOCK != 1 and $this->LOCK != 2
115 2 1 1 defined $value and $value =~ /^\$\w+\s*=\s*\{.*\}\s*\;\s*$/s
171 0 2 1 $this->LOCK != 1 and $this->LOCK != 2
192 6 0 6 not $locked and $attempt++ < 5
306 0 0 0 not $locked = flock($this->{'FH_LOCK'}, $lock_type | 4) and $timeoutCount++ <= $this->{'lock_timeout'}

or 3 conditions

line l !l&&r !l&&!r condition
201 0 6 0 $this->TIED or $this->_tie