File Coverage

blib/lib/Data/HashMap/Shared/IS.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::IS;
2 6     6   57490 use strict;
  6         11  
  6         243  
3 6     6   23 use warnings;
  6         8  
  6         308  
4 6     6   27 use Data::HashMap::Shared;
  6         9  
  6         2724  
5             our $VERSION = '0.12';
6              
7             sub import {
8 5     5   49 $^H{"Data::HashMap::Shared::IS/shm_is_put"} = 1;
9 5         21 $^H{"Data::HashMap::Shared::IS/shm_is_get"} = 1;
10 5         29 $^H{"Data::HashMap::Shared::IS/shm_is_remove"} = 1;
11 5         10 $^H{"Data::HashMap::Shared::IS/shm_is_exists"} = 1;
12 5         10 $^H{"Data::HashMap::Shared::IS/shm_is_size"} = 1;
13 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_keys"} = 1;
14 5         10 $^H{"Data::HashMap::Shared::IS/shm_is_values"} = 1;
15 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_items"} = 1;
16 5         18 $^H{"Data::HashMap::Shared::IS/shm_is_each"} = 1;
17 5         11 $^H{"Data::HashMap::Shared::IS/shm_is_iter_reset"} = 1;
18 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_clear"} = 1;
19 5         8 $^H{"Data::HashMap::Shared::IS/shm_is_to_hash"} = 1;
20 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_max_entries"} = 1;
21 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_get_or_set"} = 1;
22 5         8 $^H{"Data::HashMap::Shared::IS/shm_is_put_ttl"} = 1;
23 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_max_size"} = 1;
24 5         49 $^H{"Data::HashMap::Shared::IS/shm_is_ttl"} = 1;
25 5         10 $^H{"Data::HashMap::Shared::IS/shm_is_cursor"} = 1;
26 5         7 $^H{"Data::HashMap::Shared::IS/shm_is_cursor_next"} = 1;
27 5         10 $^H{"Data::HashMap::Shared::IS/shm_is_cursor_seek"} = 1;
28 5         10 $^H{"Data::HashMap::Shared::IS/shm_is_ttl_remaining"} = 1;
29 5         7 $^H{"Data::HashMap::Shared::IS/shm_is_capacity"} = 1;
30 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_tombstones"} = 1;
31 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_cursor_reset"} = 1;
32 5         10 $^H{"Data::HashMap::Shared::IS/shm_is_take"} = 1;
33 5         8 $^H{"Data::HashMap::Shared::IS/shm_is_pop"} = 1;
34 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_shift"} = 1;
35 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_drain"} = 1;
36 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_flush_expired"} = 1;
37 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_flush_expired_partial"} = 1;
38 5         7 $^H{"Data::HashMap::Shared::IS/shm_is_mmap_size"} = 1;
39 5         34 $^H{"Data::HashMap::Shared::IS/shm_is_touch"} = 1;
40 5         12 $^H{"Data::HashMap::Shared::IS/shm_is_reserve"} = 1;
41 5         13 $^H{"Data::HashMap::Shared::IS/shm_is_stat_evictions"} = 1;
42 5         11 $^H{"Data::HashMap::Shared::IS/shm_is_stat_expired"} = 1;
43 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_stat_recoveries"} = 1;
44 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_arena_used"} = 1;
45 5         10 $^H{"Data::HashMap::Shared::IS/shm_is_arena_cap"} = 1;
46 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_add"} = 1;
47 5         14 $^H{"Data::HashMap::Shared::IS/shm_is_add_ttl"} = 1;
48 5         10 $^H{"Data::HashMap::Shared::IS/shm_is_update_ttl"} = 1;
49 5         11 $^H{"Data::HashMap::Shared::IS/shm_is_update"} = 1;
50 5         12 $^H{"Data::HashMap::Shared::IS/shm_is_swap"} = 1;
51 5         9 $^H{"Data::HashMap::Shared::IS/shm_is_cas"} = 1;
52 5         12 $^H{"Data::HashMap::Shared::IS/shm_is_cas_take"} = 1;
53 5         12 $^H{"Data::HashMap::Shared::IS/shm_is_persist"} = 1;
54 5         2068 $^H{"Data::HashMap::Shared::IS/shm_is_set_ttl"} = 1;
55             }
56              
57             1;