Branch Coverage

blib/lib/Data/YUID/Generator.pm
Criterion Covered Total %
branch 1 20 5.0


line true false branch
38 0 2 unless ($Data::YUID::Generator::Config{'use64bitint'})
39 0 0 unless eval 'use Math::BigInt; 1;'
46 0 0 unless ref $self
49 0 0 if (not $host_id) { }
0 0 elsif ($host_id < 0 or $host_id > 65535) { }
60 0 0 if ($Data::YUID::Generator::Config{'use64bitint'}) { }
77 0 0 if $$self{'current_time'} == $time
81 0 0 if $key
106 0 0 unless (exists $$self{'ids'}{$key})
112 0 0 if $$self{'ids'}{$key} >= $$self{'max_id'}