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 | 16170 | use 5.008001; | |||
1 | 3 | ||||||
1 | 33 | ||||||
3 | 1 | 1 | 3 | use strict; | |||
1 | 2 | ||||||
1 | 26 | ||||||
4 | 1 | 1 | 3 | use warnings; | |||
1 | 5 | ||||||
1 | 62 | ||||||
5 | |||||||
6 | require Exporter; | ||||||
7 | |||||||
8 | our $VERSION = '0.05'; | ||||||
9 | |||||||
10 | require XSLoader; | ||||||
11 | XSLoader::load('Algorithm::ConsistentHash::JumpHash', $VERSION); | ||||||
12 | |||||||
13 | 1 | 1 | 3 | use Exporter 'import'; | |||
1 | 1 | ||||||
1 | 69 | ||||||
14 | our @EXPORT_OK = qw(jumphash_numeric jumphash_siphash); | ||||||
15 | our %EXPORT_TAGS = (all => \@EXPORT_OK); | ||||||
16 | |||||||
17 | 1; | ||||||
18 | __END__ |