blib/lib/DBIx/CouchLike/IdGenerator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 14 | 64.2 |
line | true | false | branch |
---|---|---|---|
35 | 1 | 0 | unless ref $self |
38 | 1 | 0 | if (not $host_id) { } |
0 | 0 | elsif ($host_id < 0 or $host_id > {sign => '+', value => [65535]}) { } | |
58 | 1992 | 9 | if $$self{'current_time'} == $time |
60 | 1 | 8 | unless $$self{'min_id'} |
79 | 1 | 1999 | unless (exists $$self{'ids'}{$key}) |
84 | 0 | 1999 | if $$self{'ids'}{$key} >= $$self{'max_id'} |