| lib/Crypt/Random/Provider/devurandom.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 13 | 13 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 5 | 5 | 100.0 |
| pod | n/a | ||
| total | 18 | 18 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | #!/usr/bin/perl -sw | ||||||
| 2 | ## | ||||||
| 3 | ## | ||||||
| 4 | ## | ||||||
| 5 | ## Copyright (c) 2001, Vipul Ved Prakash. All rights reserved. | ||||||
| 6 | ## This code is free software; you can redistribute it and/or modify | ||||||
| 7 | ## it under the same terms as Perl itself. | ||||||
| 8 | ## | ||||||
| 9 | ## $Id: devurandom.pm,v 1.2 2001/06/22 18:16:29 vipul Exp $ | ||||||
| 10 | |||||||
| 11 | package Crypt::Random::Provider::devurandom; | ||||||
| 12 | 5 | 5 | 102 | use strict; | |||
| 5 | 70 | ||||||
| 5 | 84 | ||||||
| 13 | 5 | 5 | 208240 | use lib qw(lib); | |||
| 5 | 129 | ||||||
| 5 | 88 | ||||||
| 14 | 5 | 5 | 206 | use Crypt::Random::Provider::File; | |||
| 5 | 49 | ||||||
| 5 | 108 | ||||||
| 15 | 5 | 5 | 91 | use vars qw(@ISA); | |||
| 5 | 45 | ||||||
| 5 | 167 | ||||||
| 16 | @ISA = qw(Crypt::Random::Provider::File); | ||||||
| 17 | |||||||
| 18 | 2413 | 2413 | 492121 | sub _defaultsource { return "/dev/urandom" } | |||
| 19 | |||||||
| 20 | 1; | ||||||
| 21 | |||||||
| 22 |