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