| blib/lib/Algorithm/ConsistentHash/JumpHash.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| statement | 12 | 12 | 100.0 | 
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 | 
| pod | n/a | ||
| total | 16 | 16 | 100.0 | 
| line | stmt | bran | cond | sub | pod | time | code | 
|---|---|---|---|---|---|---|---|
| 1 | package Algorithm::ConsistentHash::JumpHash; | ||||||
| 2 | 1 | 1 | 19121 | use 5.008001; | |||
| 1 | 3 | ||||||
| 1 | 30 | ||||||
| 3 | 1 | 1 | 4 | use strict; | |||
| 1 | 1 | ||||||
| 1 | 27 | ||||||
| 4 | 1 | 1 | 3 | use warnings; | |||
| 1 | 4 | ||||||
| 1 | 59 | ||||||
| 5 | |||||||
| 6 | require Exporter; | ||||||
| 7 | |||||||
| 8 | our $VERSION = '0.01'; | ||||||
| 9 | |||||||
| 10 | require XSLoader; | ||||||
| 11 | XSLoader::load('Algorithm::ConsistentHash::JumpHash', $VERSION); | ||||||
| 12 | |||||||
| 13 | 1 | 1 | 3 | use Exporter 'import'; | |||
| 1 | 4 | ||||||
| 1 | 72 | ||||||
| 14 | our @EXPORT_OK = qw(jumphash_numeric jumphash_siphash); | ||||||
| 15 | our %EXPORT_TAGS = (all => \@EXPORT_OK); | ||||||
| 16 | |||||||
| 17 | 1; | ||||||
| 18 | __END__ |