Branch Coverage

blib/lib/BSON/Decode.pm
Criterion Covered Total %
branch 6 34 17.6


line true false branch
101 1 0 unless ($valid)
103 0 1 if (-f $self->{'fh'}) { }
0 1 elsif (length $self->{'fh'}) { }
118 1 0 if exists $self->{'fh'}
145 0 0 if $k =~ /^\d+$/
233 0 0 if ($self->{'fh'}) { }
257 1 0 if ($self->{'fh'}) { }
260 1 0 if $n != 4
265 0 0 if $n != $size
275 0 0 if (length $bson)
278 0 0 if $sep ne "\000"
293 0 0 if ($self->{'stdin'}) { }
299 0 0 if (exists $self->{'fh'}) { }
316 0 0 if (length $bson != $size)
321 0 0 if ($sep ne "\000")
329 0 0 if $element == 0
332 0 0 if (exists $self->{'func'}{$element}) { }