File Coverage

blib/lib/Data/HashMap/Shared/I32S.pm
Criterion Covered Total %
statement 56 56 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 60 60 100.0


line stmt bran cond sub pod time code
1             package Data::HashMap::Shared::I32S;
2 2     2   1505 use strict;
  2         5  
  2         99  
3 2     2   11 use warnings;
  2         4  
  2         116  
4 2     2   11 use Data::HashMap::Shared;
  2         4  
  2         1279  
5             our $VERSION = '0.08';
6              
7             sub import {
8 2     2   28 $^H{"Data::HashMap::Shared::I32S/shm_i32s_put"} = 1;
9 2         6 $^H{"Data::HashMap::Shared::I32S/shm_i32s_get"} = 1;
10 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_remove"} = 1;
11 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_exists"} = 1;
12 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_size"} = 1;
13 2         6 $^H{"Data::HashMap::Shared::I32S/shm_i32s_keys"} = 1;
14 2         4 $^H{"Data::HashMap::Shared::I32S/shm_i32s_values"} = 1;
15 2         6 $^H{"Data::HashMap::Shared::I32S/shm_i32s_items"} = 1;
16 2         4 $^H{"Data::HashMap::Shared::I32S/shm_i32s_each"} = 1;
17 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_iter_reset"} = 1;
18 2         4 $^H{"Data::HashMap::Shared::I32S/shm_i32s_clear"} = 1;
19 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_to_hash"} = 1;
20 2         6 $^H{"Data::HashMap::Shared::I32S/shm_i32s_max_entries"} = 1;
21 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_get_or_set"} = 1;
22 2         6 $^H{"Data::HashMap::Shared::I32S/shm_i32s_put_ttl"} = 1;
23 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_max_size"} = 1;
24 2         3 $^H{"Data::HashMap::Shared::I32S/shm_i32s_ttl"} = 1;
25 2         7 $^H{"Data::HashMap::Shared::I32S/shm_i32s_cursor"} = 1;
26 2         6 $^H{"Data::HashMap::Shared::I32S/shm_i32s_cursor_next"} = 1;
27 2         4 $^H{"Data::HashMap::Shared::I32S/shm_i32s_cursor_seek"} = 1;
28 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_ttl_remaining"} = 1;
29 2         7 $^H{"Data::HashMap::Shared::I32S/shm_i32s_capacity"} = 1;
30 2         4 $^H{"Data::HashMap::Shared::I32S/shm_i32s_tombstones"} = 1;
31 2         6 $^H{"Data::HashMap::Shared::I32S/shm_i32s_cursor_reset"} = 1;
32 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_take"} = 1;
33 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_pop"} = 1;
34 2         20 $^H{"Data::HashMap::Shared::I32S/shm_i32s_shift"} = 1;
35 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_drain"} = 1;
36 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_flush_expired"} = 1;
37 2         4 $^H{"Data::HashMap::Shared::I32S/shm_i32s_flush_expired_partial"} = 1;
38 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_mmap_size"} = 1;
39 2         6 $^H{"Data::HashMap::Shared::I32S/shm_i32s_touch"} = 1;
40 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_reserve"} = 1;
41 2         4 $^H{"Data::HashMap::Shared::I32S/shm_i32s_stat_evictions"} = 1;
42 2         8 $^H{"Data::HashMap::Shared::I32S/shm_i32s_stat_expired"} = 1;
43 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_stat_recoveries"} = 1;
44 2         4 $^H{"Data::HashMap::Shared::I32S/shm_i32s_arena_used"} = 1;
45 2         6 $^H{"Data::HashMap::Shared::I32S/shm_i32s_arena_cap"} = 1;
46 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_add"} = 1;
47 2         4 $^H{"Data::HashMap::Shared::I32S/shm_i32s_add_ttl"} = 1;
48 2         6 $^H{"Data::HashMap::Shared::I32S/shm_i32s_update_ttl"} = 1;
49 2         3 $^H{"Data::HashMap::Shared::I32S/shm_i32s_update"} = 1;
50 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_swap"} = 1;
51 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_cas"} = 1;
52 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_cas_take"} = 1;
53 2         5 $^H{"Data::HashMap::Shared::I32S/shm_i32s_persist"} = 1;
54 2         84 $^H{"Data::HashMap::Shared::I32S/shm_i32s_set_ttl"} = 1;
55             }
56              
57             1;