blib/lib/BSON/Timestamp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 20 | 85.0 |
line | true | false | branch |
---|---|---|---|
42 | 16908 | 42 | if (@_ and not $_[0] =~ /^[s|i]/) { } |
47 | 0 | 42 | unless @_ % 2 == 0 |
51 | 0 | 42 | if exists $args{'sec'} and not exists $args{'seconds'} |
52 | 0 | 42 | if exists $args{'inc'} and not exists $args{'increment'} |
55 | 5 | 16945 | unless defined $args{'seconds'} |
56 | 9 | 16941 | unless defined $args{'increment'} |
67 | 4 | 33894 | 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 |