Branch Coverage

blib/lib/BSON/Types.pm
Criterion Covered Total %
branch 29 30 96.6


line true false branch
74 6 1 defined $_[0] ? :
92 3 8 unless defined $_[0]
93 4 4 unless defined $_[1]
107 3 1 unless @_ == 2
124 141 1 defined $_[0] ? :
178 1 13 unless defined $_[0]
193 1 17 unless defined $_[0]
237 7 4 unless defined $_[0]
238 3 1 if length $_[0] == 12
239 1 0 if $_[0] =~ /\A[0-9a-f]{24}\z/i
268 3 6 unless defined $_[0]
269 2 4 unless defined $_[1]
300 4 5 unless defined $_[0]
316 3 23 unless defined $_[0]
317 2 21 unless defined $_[1]