Branch Coverage

blib/lib/Persistent/DBM.pm
Criterion Covered Total %
branch 24 44 54.5


line true false branch
190 0 2 unless @_ > 0
192 0 2 unless ref $this
197 2 0 if @_
198 0 2 if @_
199 0 2 if (@_) { }
511 0 5 unless @_ > 0
513 0 5 unless ref $this
523 0 5 unless tie %$href, $$this{'DataStore'}{'Module'}, $file, 66, 420
539 0 4 unless @_ > 0
541 0 4 unless ref $this
557 0 5 unless @_ > 0
559 0 5 unless ref $this
564 5 0 if (defined $$this{'DataStore'}{'Hash'}) { }
586 0 5 unless @_ > 0
588 0 5 unless ref $this
595 4 1 if ($lock_type =~ /ex/i)
604 1 4 unless (-e "$file.lock")
605 0 1 unless open LOCK_FH, ">$file.lock"
610 0 5 unless open LOCK_FH, "$open_type$file.lock"
612 0 5 unless flock LOCK_FH, $flock_type
627 0 5 unless @_ > 0
629 0 5 unless ref $this