Branch Coverage

blib/lib/MLDBM.pm
Criterion Covered Total %
branch 35 60 58.3


line true false branch
56 0 0 if @_
62 0 0 if @_
68 0 0 if @_
74 6 0 if (ref $s and @_ > 2)
129 3 0 unless (ref $szr)
130 3 0 unless $szr =~ /^MLDBM::Serializer::/
132 0 3 unless &$loadpack($szr)
142 3 0 unless (ref $db)
143 0 3 unless &$loadpack($db)
144 0 3 unless $db = $db->TIEHASH(@_)
177 0 0 if $MLDBM::AUTOLOAD =~ /::DESTROY$/
179 0 0 if (ref $s)
197 3 0 @_ ? :
202 3 0 @_ ? :
209 3 3 if defined $dbpack and $dbpack
210 3 3 if defined $szr and $szr
212 0 6 if defined $dumpmeth
213 0 6 if defined $removetaint
214 0 6 if defined $key and $key
229 37 73 if $MLDBM::compared{$a . '&*&*&*&*&*' . $b}++
233 51 22 if (ref $a and ref $a eq ref $b) { }
22 0 elsif (not ref $a || ref $b) { }
234 24 27 if (eval { do { @$a } }) { }
14 13 elsif (eval { do { %$a } }) { }
13 0 elsif (eval { do { $$a } }) { }
236 0 24 unless @$a == @$b
241 1 47 unless &_cmp($$a[$_], $$b[$_])
244 1 13 unless keys %$a == keys %$b
246 4 36 unless &_cmp($$a{$_}, $$b{$_})
249 1 12 unless &_cmp($$a, $$b)