File Coverage

blib/lib/Data/HashMap/Shared/II.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::II;
2 10     10   991103 use strict;
  10         33  
  10         320  
3 10     10   34 use warnings;
  10         14  
  10         439  
4 10     10   2986 use Data::HashMap::Shared;
  10         20  
  10         4547  
5             our $VERSION = '0.07';
6              
7             sub import {
8 10     10   119 $^H{"Data::HashMap::Shared::II/shm_ii_put"} = 1;
9 10         34 $^H{"Data::HashMap::Shared::II/shm_ii_get"} = 1;
10 10         24 $^H{"Data::HashMap::Shared::II/shm_ii_remove"} = 1;
11 10         21 $^H{"Data::HashMap::Shared::II/shm_ii_exists"} = 1;
12 10         20 $^H{"Data::HashMap::Shared::II/shm_ii_incr"} = 1;
13 10         22 $^H{"Data::HashMap::Shared::II/shm_ii_decr"} = 1;
14 10         21 $^H{"Data::HashMap::Shared::II/shm_ii_incr_by"} = 1;
15 10         16 $^H{"Data::HashMap::Shared::II/shm_ii_size"} = 1;
16 10         19 $^H{"Data::HashMap::Shared::II/shm_ii_keys"} = 1;
17 10         29 $^H{"Data::HashMap::Shared::II/shm_ii_values"} = 1;
18 10         22 $^H{"Data::HashMap::Shared::II/shm_ii_items"} = 1;
19 10         18 $^H{"Data::HashMap::Shared::II/shm_ii_each"} = 1;
20 10         21 $^H{"Data::HashMap::Shared::II/shm_ii_iter_reset"} = 1;
21 10         18 $^H{"Data::HashMap::Shared::II/shm_ii_clear"} = 1;
22 10         20 $^H{"Data::HashMap::Shared::II/shm_ii_to_hash"} = 1;
23 10         17 $^H{"Data::HashMap::Shared::II/shm_ii_max_entries"} = 1;
24 10         18 $^H{"Data::HashMap::Shared::II/shm_ii_get_or_set"} = 1;
25 10         19 $^H{"Data::HashMap::Shared::II/shm_ii_put_ttl"} = 1;
26 10         16 $^H{"Data::HashMap::Shared::II/shm_ii_max_size"} = 1;
27 10         19 $^H{"Data::HashMap::Shared::II/shm_ii_ttl"} = 1;
28 10         15 $^H{"Data::HashMap::Shared::II/shm_ii_cursor"} = 1;
29 10         41 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_next"} = 1;
30 10         46 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_seek"} = 1;
31 10         30 $^H{"Data::HashMap::Shared::II/shm_ii_ttl_remaining"} = 1;
32 10         29 $^H{"Data::HashMap::Shared::II/shm_ii_capacity"} = 1;
33 10         39 $^H{"Data::HashMap::Shared::II/shm_ii_tombstones"} = 1;
34 10         28 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_reset"} = 1;
35 10         23 $^H{"Data::HashMap::Shared::II/shm_ii_take"} = 1;
36 10         20 $^H{"Data::HashMap::Shared::II/shm_ii_pop"} = 1;
37 10         18 $^H{"Data::HashMap::Shared::II/shm_ii_shift"} = 1;
38 10         18 $^H{"Data::HashMap::Shared::II/shm_ii_drain"} = 1;
39 10         19 $^H{"Data::HashMap::Shared::II/shm_ii_flush_expired"} = 1;
40 10         26 $^H{"Data::HashMap::Shared::II/shm_ii_flush_expired_partial"} = 1;
41 10         20 $^H{"Data::HashMap::Shared::II/shm_ii_mmap_size"} = 1;
42 10         18 $^H{"Data::HashMap::Shared::II/shm_ii_touch"} = 1;
43 10         21 $^H{"Data::HashMap::Shared::II/shm_ii_reserve"} = 1;
44 10         19 $^H{"Data::HashMap::Shared::II/shm_ii_stat_evictions"} = 1;
45 10         18 $^H{"Data::HashMap::Shared::II/shm_ii_stat_expired"} = 1;
46 10         22 $^H{"Data::HashMap::Shared::II/shm_ii_stat_recoveries"} = 1;
47 10         19 $^H{"Data::HashMap::Shared::II/shm_ii_arena_used"} = 1;
48 10         18 $^H{"Data::HashMap::Shared::II/shm_ii_arena_cap"} = 1;
49 10         18 $^H{"Data::HashMap::Shared::II/shm_ii_add"} = 1;
50 10         23 $^H{"Data::HashMap::Shared::II/shm_ii_update"} = 1;
51 10         29 $^H{"Data::HashMap::Shared::II/shm_ii_swap"} = 1;
52 10         16 $^H{"Data::HashMap::Shared::II/shm_ii_cas"} = 1;
53 10         25 $^H{"Data::HashMap::Shared::II/shm_ii_persist"} = 1;
54 10         3105 $^H{"Data::HashMap::Shared::II/shm_ii_set_ttl"} = 1;
55             }
56              
57             1;