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 16     16   1688053 use strict;
  16         27  
  16         535  
3 16     16   55 use warnings;
  16         24  
  16         725  
4 16     16   4944 use Data::HashMap::Shared;
  16         58  
  16         8479  
5             our $VERSION = '0.14';
6              
7             sub import {
8 14     14   158 $^H{"Data::HashMap::Shared::II/shm_ii_put"} = 1;
9 14         34 $^H{"Data::HashMap::Shared::II/shm_ii_get"} = 1;
10 14         30 $^H{"Data::HashMap::Shared::II/shm_ii_remove"} = 1;
11 14         35 $^H{"Data::HashMap::Shared::II/shm_ii_exists"} = 1;
12 14         28 $^H{"Data::HashMap::Shared::II/shm_ii_incr"} = 1;
13 14         33 $^H{"Data::HashMap::Shared::II/shm_ii_decr"} = 1;
14 14         27 $^H{"Data::HashMap::Shared::II/shm_ii_incr_by"} = 1;
15 14         32 $^H{"Data::HashMap::Shared::II/shm_ii_max"} = 1;
16 14         26 $^H{"Data::HashMap::Shared::II/shm_ii_min"} = 1;
17 14         27 $^H{"Data::HashMap::Shared::II/shm_ii_size"} = 1;
18 14         29 $^H{"Data::HashMap::Shared::II/shm_ii_keys"} = 1;
19 14         30 $^H{"Data::HashMap::Shared::II/shm_ii_values"} = 1;
20 14         27 $^H{"Data::HashMap::Shared::II/shm_ii_items"} = 1;
21 14         31 $^H{"Data::HashMap::Shared::II/shm_ii_each"} = 1;
22 14         24 $^H{"Data::HashMap::Shared::II/shm_ii_iter_reset"} = 1;
23 14         59 $^H{"Data::HashMap::Shared::II/shm_ii_clear"} = 1;
24 14         41 $^H{"Data::HashMap::Shared::II/shm_ii_to_hash"} = 1;
25 14         41 $^H{"Data::HashMap::Shared::II/shm_ii_max_entries"} = 1;
26 14         36 $^H{"Data::HashMap::Shared::II/shm_ii_get_or_set"} = 1;
27 14         51 $^H{"Data::HashMap::Shared::II/shm_ii_put_ttl"} = 1;
28 14         41 $^H{"Data::HashMap::Shared::II/shm_ii_max_size"} = 1;
29 14         30 $^H{"Data::HashMap::Shared::II/shm_ii_ttl"} = 1;
30 14         37 $^H{"Data::HashMap::Shared::II/shm_ii_cursor"} = 1;
31 14         29 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_next"} = 1;
32 14         29 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_seek"} = 1;
33 14         38 $^H{"Data::HashMap::Shared::II/shm_ii_ttl_remaining"} = 1;
34 14         27 $^H{"Data::HashMap::Shared::II/shm_ii_capacity"} = 1;
35 14         28 $^H{"Data::HashMap::Shared::II/shm_ii_tombstones"} = 1;
36 14         25 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_reset"} = 1;
37 14         24 $^H{"Data::HashMap::Shared::II/shm_ii_take"} = 1;
38 14         30 $^H{"Data::HashMap::Shared::II/shm_ii_pop"} = 1;
39 14         27 $^H{"Data::HashMap::Shared::II/shm_ii_shift"} = 1;
40 14         25 $^H{"Data::HashMap::Shared::II/shm_ii_drain"} = 1;
41 14         30 $^H{"Data::HashMap::Shared::II/shm_ii_flush_expired"} = 1;
42 14         63 $^H{"Data::HashMap::Shared::II/shm_ii_flush_expired_partial"} = 1;
43 14         73 $^H{"Data::HashMap::Shared::II/shm_ii_mmap_size"} = 1;
44 14         30 $^H{"Data::HashMap::Shared::II/shm_ii_touch"} = 1;
45 14         26 $^H{"Data::HashMap::Shared::II/shm_ii_reserve"} = 1;
46 14         38 $^H{"Data::HashMap::Shared::II/shm_ii_stat_evictions"} = 1;
47 14         34 $^H{"Data::HashMap::Shared::II/shm_ii_stat_expired"} = 1;
48 14         29 $^H{"Data::HashMap::Shared::II/shm_ii_stat_recoveries"} = 1;
49 14         27 $^H{"Data::HashMap::Shared::II/shm_ii_arena_used"} = 1;
50 14         29 $^H{"Data::HashMap::Shared::II/shm_ii_arena_cap"} = 1;
51 14         38 $^H{"Data::HashMap::Shared::II/shm_ii_add"} = 1;
52 14         31 $^H{"Data::HashMap::Shared::II/shm_ii_add_ttl"} = 1;
53 14         28 $^H{"Data::HashMap::Shared::II/shm_ii_update_ttl"} = 1;
54 14         24 $^H{"Data::HashMap::Shared::II/shm_ii_update"} = 1;
55 14         36 $^H{"Data::HashMap::Shared::II/shm_ii_swap"} = 1;
56 14         27 $^H{"Data::HashMap::Shared::II/shm_ii_cas"} = 1;
57 14         30 $^H{"Data::HashMap::Shared::II/shm_ii_cas_take"} = 1;
58 14         35 $^H{"Data::HashMap::Shared::II/shm_ii_persist"} = 1;
59 14         150825 $^H{"Data::HashMap::Shared::II/shm_ii_set_ttl"} = 1;
60             }
61              
62             1;