Branch Coverage

blib/lib/BSON/Int64.pm
Criterion Covered Total %
branch 14 46 30.4


line true false branch
40 71 0 $BSON::Int64::Config{'use64bitint'} ? :
41 71 0 $BSON::Int64::Config{'use64bitint'} ? :
42 0 71 if ($BSON::Int64::Config{'nvsize'} == 16 or not $BSON::Int64::Config{'use64bitint'}) { }
46 0 0 defined $self->{'value'} ? :
48 0 0 if ($value > $max_int64) { }
0 0 elsif ($value < $min_int64) { }
63 65 2 defined $self->{'value'} ? :
65 4 63 if ($value >= 0 and $value > $max_int64) { }
9 98 elsif ($value < 0 and pack('q<', $value) eq $packed_min_int64) { }
95 7 14 if not $ENV{'BSON_EXTJSON'} or $ENV{'BSON_EXTJSON_RELAXED'}
108 0 8 $_[2] ? :
0 0 $_[2] ? :
0 0 $_[2] ? :
0 20 $_[2] ? :
0 0 $_[2] ? :
0 0 $_[2] ? :
0 4 $_[2] ? :
0 0 $_[2] ? :
0 0 $_[2] ? :
0 0 $_[2] ? :
0 0 $_[2] ? :
0 0 $_[2] ? :
117 0 0 $_[2] ? :