Branch Coverage

blib/lib/Hash/Mogrify.pm
Criterion Covered Total %
branch 27 52 51.9


line true false branch
106 0 2 if grep /:force/, @_
107 1 1 if grep /:nowarning/, @_
108 0 2 if grep /:dieonerror/, @_
116 1 2 unless (ref $hash)
117 0 1 if scalar(@_) % 2
125 2 9 unless _double($temp, $_, $bitmap)
130 0 1 if wantarray
138 1 0 unless (ref $hash)
139 0 1 if scalar(@_) % 2
151 1 0 if wantarray
159 0 1 unless (ref $hash)
160 0 0 if @_ % 2
168 0 4 unless _double($temp, $key, $bitmap)
173 0 1 if wantarray
182 1 0 unless (ref $hash)
183 0 1 if @_ % 2
189 0 2 unless exists $$temp{$old}
192 0 2 unless _double($temp, $new, $bitmap)
200 1 0 if wantarray
207 0 17 defined $bitmap ? :
209 15 2 unless exists $$hash{$key}
210 0 2 unless ($map & 2)
211 0 0 if !$map & 1
212 0 0 if $map & 1
214 0 2 if $map & 1
215 0 2 if $map & 4