blib/lib/Tie/ShareLite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 33 | 48.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
340 | 8 | 2 | 0 | defined $$this{'_hash'} and $$this{'_lock'} || $$this{'_iterating'} |
358 | 4 | 4 | 0 | not $flush and $$this{'_lock'} == LOCK_EX() || $$this{'_lock'} == (LOCK_EX() | LOCK_NB()) && $$this{'_lock_return'} |
0 | 1 | 3 | $flush and $$this{'_need_flush'} | |
380 | 0 | 0 | 0 | $$this{'_lock'} and $$this{'_lock_return'} |
388 | 4 | 0 | 0 | $$this{'_lock'} == (LOCK_SH() | LOCK_NB()) and $$this{'_lock_return'} |
3 | 0 | 1 | $$this{'_lock'} && $$this{'_lock_return'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
295 | 4 | 0 | 0 | $flags ||= LOCK_EX() |
340 | 2 | 0 | 0 | $$this{'_lock'} || $$this{'_iterating'} |
358 | 3 | 0 | 1 | $$this{'_lock'} == LOCK_EX() || $$this{'_lock'} == (LOCK_EX() | LOCK_NB()) && $$this{'_lock_return'} |
1 | 0 | 4 | not $flush or $flush and $$this{'_need_flush'} | |
388 | 0 | 0 | 4 | $$this{'_lock'} == LOCK_SH() or $$this{'_lock'} == (LOCK_SH() | LOCK_NB()) and $$this{'_lock_return'} |