File Coverage

blib/lib/Data/HashMap/Shared/II.pm
Criterion Covered Total %
statement 61 61 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 65 65 100.0


line stmt bran cond sub pod time code
1             package Data::HashMap::Shared::II;
2 14     14   1499829 use strict;
  14         28  
  14         464  
3 14     14   64 use warnings;
  14         18  
  14         637  
4 14     14   4416 use Data::HashMap::Shared;
  14         29  
  14         6965  
5             our $VERSION = '0.11';
6              
7             sub import {
8 12     12   203 $^H{"Data::HashMap::Shared::II/shm_ii_put"} = 1;
9 12         49 $^H{"Data::HashMap::Shared::II/shm_ii_get"} = 1;
10 12         37 $^H{"Data::HashMap::Shared::II/shm_ii_remove"} = 1;
11 12         28 $^H{"Data::HashMap::Shared::II/shm_ii_exists"} = 1;
12 12         52 $^H{"Data::HashMap::Shared::II/shm_ii_incr"} = 1;
13 12         32 $^H{"Data::HashMap::Shared::II/shm_ii_decr"} = 1;
14 12         25 $^H{"Data::HashMap::Shared::II/shm_ii_incr_by"} = 1;
15 12         34 $^H{"Data::HashMap::Shared::II/shm_ii_max"} = 1;
16 12         23 $^H{"Data::HashMap::Shared::II/shm_ii_min"} = 1;
17 12         27 $^H{"Data::HashMap::Shared::II/shm_ii_size"} = 1;
18 12         34 $^H{"Data::HashMap::Shared::II/shm_ii_keys"} = 1;
19 12         27 $^H{"Data::HashMap::Shared::II/shm_ii_values"} = 1;
20 12         26 $^H{"Data::HashMap::Shared::II/shm_ii_items"} = 1;
21 12         24 $^H{"Data::HashMap::Shared::II/shm_ii_each"} = 1;
22 12         37 $^H{"Data::HashMap::Shared::II/shm_ii_iter_reset"} = 1;
23 12         24 $^H{"Data::HashMap::Shared::II/shm_ii_clear"} = 1;
24 12         24 $^H{"Data::HashMap::Shared::II/shm_ii_to_hash"} = 1;
25 12         24 $^H{"Data::HashMap::Shared::II/shm_ii_max_entries"} = 1;
26 12         24 $^H{"Data::HashMap::Shared::II/shm_ii_get_or_set"} = 1;
27 12         24 $^H{"Data::HashMap::Shared::II/shm_ii_put_ttl"} = 1;
28 12         27 $^H{"Data::HashMap::Shared::II/shm_ii_max_size"} = 1;
29 12         62 $^H{"Data::HashMap::Shared::II/shm_ii_ttl"} = 1;
30 12         37 $^H{"Data::HashMap::Shared::II/shm_ii_cursor"} = 1;
31 12         25 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_next"} = 1;
32 12         41 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_seek"} = 1;
33 12         27 $^H{"Data::HashMap::Shared::II/shm_ii_ttl_remaining"} = 1;
34 12         22 $^H{"Data::HashMap::Shared::II/shm_ii_capacity"} = 1;
35 12         42 $^H{"Data::HashMap::Shared::II/shm_ii_tombstones"} = 1;
36 12         25 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_reset"} = 1;
37 12         27 $^H{"Data::HashMap::Shared::II/shm_ii_take"} = 1;
38 12         24 $^H{"Data::HashMap::Shared::II/shm_ii_pop"} = 1;
39 12         24 $^H{"Data::HashMap::Shared::II/shm_ii_shift"} = 1;
40 12         26 $^H{"Data::HashMap::Shared::II/shm_ii_drain"} = 1;
41 12         27 $^H{"Data::HashMap::Shared::II/shm_ii_flush_expired"} = 1;
42 12         24 $^H{"Data::HashMap::Shared::II/shm_ii_flush_expired_partial"} = 1;
43 12         27 $^H{"Data::HashMap::Shared::II/shm_ii_mmap_size"} = 1;
44 12         19 $^H{"Data::HashMap::Shared::II/shm_ii_touch"} = 1;
45 12         22 $^H{"Data::HashMap::Shared::II/shm_ii_reserve"} = 1;
46 12         21 $^H{"Data::HashMap::Shared::II/shm_ii_stat_evictions"} = 1;
47 12         22 $^H{"Data::HashMap::Shared::II/shm_ii_stat_expired"} = 1;
48 12         26 $^H{"Data::HashMap::Shared::II/shm_ii_stat_recoveries"} = 1;
49 12         21 $^H{"Data::HashMap::Shared::II/shm_ii_arena_used"} = 1;
50 12         28 $^H{"Data::HashMap::Shared::II/shm_ii_arena_cap"} = 1;
51 12         43 $^H{"Data::HashMap::Shared::II/shm_ii_add"} = 1;
52 12         24 $^H{"Data::HashMap::Shared::II/shm_ii_add_ttl"} = 1;
53 12         25 $^H{"Data::HashMap::Shared::II/shm_ii_update_ttl"} = 1;
54 12         22 $^H{"Data::HashMap::Shared::II/shm_ii_update"} = 1;
55 12         38 $^H{"Data::HashMap::Shared::II/shm_ii_swap"} = 1;
56 12         22 $^H{"Data::HashMap::Shared::II/shm_ii_cas"} = 1;
57 12         23 $^H{"Data::HashMap::Shared::II/shm_ii_cas_take"} = 1;
58 12         51 $^H{"Data::HashMap::Shared::II/shm_ii_persist"} = 1;
59 12         3712 $^H{"Data::HashMap::Shared::II/shm_ii_set_ttl"} = 1;
60             }
61              
62             1;