blib/lib/Rand/Urandom.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 26 | 46.1 |
line | true | false | branch |
---|---|---|---|
17 | 11 | 0 | if ($Rand::Urandom::Config{'use64bitint'}) { } |
23 | 2 | 9 | if $max == 1.8446744073709552e+19 |
31 | 0 | 13 | unless ($Rand::Urandom::Config{'osname'} =~ /linux/) |
35 | 13 | 0 | $Rand::Urandom::Config{'archname'} =~ /x86_64/ ? : |
42 | 13 | 0 | if ($! == 38) |
46 | 0 | 0 | if ($ret != $num) |
52 | 0 | 0 | if ($tries++ > 100) |
65 | 13 | 0 | unless ($buf) |
67 | 0 | 13 | -r '/dev/arandom' ? : |
68 | 0 | 13 | unless open my $fh, '<:raw', $file |
71 | 0 | 13 | if ($got == 0 or $got != $num) |
74 | 0 | 13 | unless close $fh |
81 | 0 | 4 | if ($^V lt 'v5.16') |