File Coverage

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


line stmt bran cond sub pod time code
1             package Data::HashMap::Shared::IS;
2 2     2   1232 use strict;
  2         4  
  2         90  
3 2     2   11 use warnings;
  2         3  
  2         99  
4 2     2   9 use Data::HashMap::Shared;
  2         3  
  2         1184  
5             our $VERSION = '0.02';
6              
7             sub import {
8 2     2   27 $^H{"Data::HashMap::Shared::IS/shm_is_put"} = 1;
9 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_get"} = 1;
10 2         6 $^H{"Data::HashMap::Shared::IS/shm_is_remove"} = 1;
11 2         4 $^H{"Data::HashMap::Shared::IS/shm_is_exists"} = 1;
12 2         6 $^H{"Data::HashMap::Shared::IS/shm_is_size"} = 1;
13 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_keys"} = 1;
14 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_values"} = 1;
15 2         4 $^H{"Data::HashMap::Shared::IS/shm_is_items"} = 1;
16 2         6 $^H{"Data::HashMap::Shared::IS/shm_is_each"} = 1;
17 2         4 $^H{"Data::HashMap::Shared::IS/shm_is_iter_reset"} = 1;
18 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_clear"} = 1;
19 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_to_hash"} = 1;
20 2         4 $^H{"Data::HashMap::Shared::IS/shm_is_max_entries"} = 1;
21 2         6 $^H{"Data::HashMap::Shared::IS/shm_is_get_or_set"} = 1;
22 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_put_ttl"} = 1;
23 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_max_size"} = 1;
24 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_ttl"} = 1;
25 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_cursor"} = 1;
26 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_cursor_next"} = 1;
27 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_cursor_seek"} = 1;
28 2         4 $^H{"Data::HashMap::Shared::IS/shm_is_ttl_remaining"} = 1;
29 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_capacity"} = 1;
30 2         4 $^H{"Data::HashMap::Shared::IS/shm_is_tombstones"} = 1;
31 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_cursor_reset"} = 1;
32 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_take"} = 1;
33 2         6 $^H{"Data::HashMap::Shared::IS/shm_is_pop"} = 1;
34 2         3 $^H{"Data::HashMap::Shared::IS/shm_is_shift"} = 1;
35 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_drain"} = 1;
36 2         4 $^H{"Data::HashMap::Shared::IS/shm_is_flush_expired"} = 1;
37 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_flush_expired_partial"} = 1;
38 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_mmap_size"} = 1;
39 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_touch"} = 1;
40 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_reserve"} = 1;
41 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_stat_evictions"} = 1;
42 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_stat_expired"} = 1;
43 2         3 $^H{"Data::HashMap::Shared::IS/shm_is_stat_recoveries"} = 1;
44 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_arena_used"} = 1;
45 2         21 $^H{"Data::HashMap::Shared::IS/shm_is_arena_cap"} = 1;
46 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_add"} = 1;
47 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_update"} = 1;
48 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_swap"} = 1;
49 2         5 $^H{"Data::HashMap::Shared::IS/shm_is_persist"} = 1;
50 2         86771 $^H{"Data::HashMap::Shared::IS/shm_is_set_ttl"} = 1;
51             }
52              
53             1;