Branch Coverage

blib/lib/BSON/Timestamp.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
42 18299 43 if (@_ and not $_[0] =~ /^[s|i]/) { }
47 0 43 unless @_ % 2 == 0
51 1 42 if exists $args{'sec'} and not exists $args{'seconds'}
52 1 42 if exists $args{'inc'} and not exists $args{'increment'}
55 5 18337 unless defined $args{'seconds'}
56 9 18333 unless defined $args{'increment'}
67 4 36678 unless $v >= 0 and $v <= $max_uint32
95 10 1 if ($ENV{'BSON_EXTJSON'})
108 3 5 unless (defined $l and defined $r)
113 2 6 if $swap