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