Branch Coverage

blib/lib/BSON/Double.pm
Criterion Covered Total %
branch 23 46 50.0


line true false branch
37 92 2 defined $self->{'value'} ? :
70 16 26 if ($ENV{'BSON_EXTJSON'} and $ENV{'BSON_EXTJSON_RELAXED'})
72 2 14 if $copy =~ /$is_inf/
74 2 12 if $copy =~ /$is_ninf/
76 4 8 if $copy =~ /$is_nan/
80 26 12 if ($ENV{'BSON_EXTJSON'} and not $ENV{'BSON_EXTJSON_RELAXED'})
82 2 24 if $copy =~ /$is_inf/
84 2 22 if $copy =~ /$is_ninf/
86 4 18 if $copy =~ /$is_nan/
92 1 11 if $copy =~ /$illegal/
107 0 0 $_[2] ? :
0 0 $_[2] ? :
0 0 $_[2] ? :
0 8 $_[2] ? :
0 0 $_[2] ? :
0 0 $_[2] ? :
0 22 $_[2] ? :
0 0 $_[2] ? :
0 2 $_[2] ? :
0 0 $_[2] ? :
0 0 $_[2] ? :
0 0 $_[2] ? :
116 0 0 $_[2] ? :