Branch Coverage

blib/lib/Tie/ShareLite.pm
Criterion Covered Total %
branch 33 76 43.4


line true false branch
198 0 1 if $Tie::ShareLite::DEBUG
209 0 1 unless $$this{'share'} = 'IPC::ShareLite'->new(@params)
216 0 4 if $Tie::ShareLite::DEBUG
225 0 3 if $Tie::ShareLite::DEBUG
236 0 1 if $Tie::ShareLite::DEBUG
247 0 0 if $Tie::ShareLite::DEBUG
255 0 2 if $Tie::ShareLite::DEBUG
263 0 0 if $Tie::ShareLite::DEBUG
274 0 0 if $Tie::ShareLite::DEBUG
278 0 0 if ($next)
285 0 0 if $Tie::ShareLite::DEBUG
292 0 4 if $Tie::ShareLite::DEBUG
307 0 4 if $Tie::ShareLite::DEBUG
323 0 0 if $Tie::ShareLite::DEBUG
330 0 0 if $Tie::ShareLite::DEBUG
337 0 10 if $Tie::ShareLite::DEBUG
340 8 2 unless (defined $$this{'_hash'} and $$this{'_lock'} || $$this{'_iterating'})
341 0 8 if $Tie::ShareLite::DEBUG
344 8 0 if ($serialized) { }
355 0 8 if $Tie::ShareLite::DEBUG
358 3 5 if (not $flush and $$this{'_lock'} == LOCK_EX() || $$this{'_lock'} == (LOCK_EX() | LOCK_NB()) && $$this{'_lock_return'}) { }
4 1 elsif (not $flush or $flush and $$this{'_need_flush'}) { }
361 0 3 if $Tie::ShareLite::DEBUG
364 0 4 if $Tie::ShareLite::DEBUG
369 0 1 if $Tie::ShareLite::DEBUG
374 0 4 if $Tie::ShareLite::DEBUG
377 0 4 if ($flags == LOCK_SH()) { }
4 0 elsif ($flags == LOCK_EX()) { }
380 0 0 unless ($$this{'_lock'} and $$this{'_lock_return'})
381 0 0 if $Tie::ShareLite::DEBUG
388 0 4 if ($$this{'_lock'} == LOCK_SH() or $$this{'_lock'} == (LOCK_SH() | LOCK_NB()) and $$this{'_lock_return'}) { }
3 1 elsif (not $$this{'_lock'} && $$this{'_lock_return'}) { }
391 0 0 if $Tie::ShareLite::DEBUG
394 0 3 if $Tie::ShareLite::DEBUG
398 0 1 if $Tie::ShareLite::DEBUG
404 0 4 if $Tie::ShareLite::DEBUG
408 3 1 if ($$this{'_internal_lock'})
409 0 3 if $Tie::ShareLite::DEBUG