File Coverage

blib/lib/Data/HashMap/SI.pm
Criterion Covered Total %
statement 39 39 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 43 43 100.0


line stmt bran cond sub pod time code
1             package Data::HashMap::SI;
2 9     9   93259 use strict;
  9         32  
  9         383  
3 9     9   36 use warnings;
  9         10  
  9         447  
4 9     9   435 use Data::HashMap;
  9         15  
  9         3143  
5             our $VERSION = '0.08';
6              
7             sub import {
8 9     9   101 $^H{"Data::HashMap::SI/hm_si_put"} = 1;
9 9         68 $^H{"Data::HashMap::SI/hm_si_get"} = 1;
10 9         24 $^H{"Data::HashMap::SI/hm_si_remove"} = 1;
11 9         33 $^H{"Data::HashMap::SI/hm_si_take"} = 1;
12 9         23 $^H{"Data::HashMap::SI/hm_si_drain"} = 1;
13 9         17 $^H{"Data::HashMap::SI/hm_si_pop"} = 1;
14 9         20 $^H{"Data::HashMap::SI/hm_si_shift"} = 1;
15 9         18 $^H{"Data::HashMap::SI/hm_si_reserve"} = 1;
16 9         37 $^H{"Data::HashMap::SI/hm_si_purge"} = 1;
17 9         20 $^H{"Data::HashMap::SI/hm_si_capacity"} = 1;
18 9         18 $^H{"Data::HashMap::SI/hm_si_persist"} = 1;
19 9         34 $^H{"Data::HashMap::SI/hm_si_swap"} = 1;
20 9         17 $^H{"Data::HashMap::SI/hm_si_cas"} = 1;
21 9         21 $^H{"Data::HashMap::SI/hm_si_exists"} = 1;
22 9         18 $^H{"Data::HashMap::SI/hm_si_incr"} = 1;
23 9         18 $^H{"Data::HashMap::SI/hm_si_decr"} = 1;
24 9         25 $^H{"Data::HashMap::SI/hm_si_incr_by"} = 1;
25 9         17 $^H{"Data::HashMap::SI/hm_si_size"} = 1;
26 9         19 $^H{"Data::HashMap::SI/hm_si_keys"} = 1;
27 9         16 $^H{"Data::HashMap::SI/hm_si_values"} = 1;
28 9         20 $^H{"Data::HashMap::SI/hm_si_items"} = 1;
29 9         28 $^H{"Data::HashMap::SI/hm_si_max_size"} = 1;
30 9         18 $^H{"Data::HashMap::SI/hm_si_ttl"} = 1;
31 9         20 $^H{"Data::HashMap::SI/hm_si_lru_skip"} = 1;
32 9         20 $^H{"Data::HashMap::SI/hm_si_each"} = 1;
33 9         17 $^H{"Data::HashMap::SI/hm_si_iter_reset"} = 1;
34 9         27 $^H{"Data::HashMap::SI/hm_si_clear"} = 1;
35 9         52 $^H{"Data::HashMap::SI/hm_si_to_hash"} = 1;
36 9         21 $^H{"Data::HashMap::SI/hm_si_put_ttl"} = 1;
37 9         7405 $^H{"Data::HashMap::SI/hm_si_get_or_set"} = 1;
38             }
39              
40             1;