File Coverage

blib/lib/Data/HashMap/Shared/II.pm
Criterion Covered Total %
statement 61 61 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 65 65 100.0


line stmt bran cond sub pod time code
1             package Data::HashMap::Shared::II;
2 15     15   1464032 use strict;
  15         24  
  15         458  
3 15     15   49 use warnings;
  15         22  
  15         660  
4 15     15   4150 use Data::HashMap::Shared;
  15         25  
  15         7354  
5             our $VERSION = '0.12';
6              
7             sub import {
8 13     13   147 $^H{"Data::HashMap::Shared::II/shm_ii_put"} = 1;
9 13         52 $^H{"Data::HashMap::Shared::II/shm_ii_get"} = 1;
10 13         40 $^H{"Data::HashMap::Shared::II/shm_ii_remove"} = 1;
11 13         27 $^H{"Data::HashMap::Shared::II/shm_ii_exists"} = 1;
12 13         65 $^H{"Data::HashMap::Shared::II/shm_ii_incr"} = 1;
13 13         36 $^H{"Data::HashMap::Shared::II/shm_ii_decr"} = 1;
14 13         25 $^H{"Data::HashMap::Shared::II/shm_ii_incr_by"} = 1;
15 13         46 $^H{"Data::HashMap::Shared::II/shm_ii_max"} = 1;
16 13         26 $^H{"Data::HashMap::Shared::II/shm_ii_min"} = 1;
17 13         25 $^H{"Data::HashMap::Shared::II/shm_ii_size"} = 1;
18 13         37 $^H{"Data::HashMap::Shared::II/shm_ii_keys"} = 1;
19 13         26 $^H{"Data::HashMap::Shared::II/shm_ii_values"} = 1;
20 13         28 $^H{"Data::HashMap::Shared::II/shm_ii_items"} = 1;
21 13         28 $^H{"Data::HashMap::Shared::II/shm_ii_each"} = 1;
22 13         28 $^H{"Data::HashMap::Shared::II/shm_ii_iter_reset"} = 1;
23 13         37 $^H{"Data::HashMap::Shared::II/shm_ii_clear"} = 1;
24 13         28 $^H{"Data::HashMap::Shared::II/shm_ii_to_hash"} = 1;
25 13         38 $^H{"Data::HashMap::Shared::II/shm_ii_max_entries"} = 1;
26 13         26 $^H{"Data::HashMap::Shared::II/shm_ii_get_or_set"} = 1;
27 13         26 $^H{"Data::HashMap::Shared::II/shm_ii_put_ttl"} = 1;
28 13         24 $^H{"Data::HashMap::Shared::II/shm_ii_max_size"} = 1;
29 13         61 $^H{"Data::HashMap::Shared::II/shm_ii_ttl"} = 1;
30 13         35 $^H{"Data::HashMap::Shared::II/shm_ii_cursor"} = 1;
31 13         41 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_next"} = 1;
32 13         26 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_seek"} = 1;
33 13         36 $^H{"Data::HashMap::Shared::II/shm_ii_ttl_remaining"} = 1;
34 13         29 $^H{"Data::HashMap::Shared::II/shm_ii_capacity"} = 1;
35 13         26 $^H{"Data::HashMap::Shared::II/shm_ii_tombstones"} = 1;
36 13         28 $^H{"Data::HashMap::Shared::II/shm_ii_cursor_reset"} = 1;
37 13         25 $^H{"Data::HashMap::Shared::II/shm_ii_take"} = 1;
38 13         24 $^H{"Data::HashMap::Shared::II/shm_ii_pop"} = 1;
39 13         25 $^H{"Data::HashMap::Shared::II/shm_ii_shift"} = 1;
40 13         26 $^H{"Data::HashMap::Shared::II/shm_ii_drain"} = 1;
41 13         28 $^H{"Data::HashMap::Shared::II/shm_ii_flush_expired"} = 1;
42 13         54 $^H{"Data::HashMap::Shared::II/shm_ii_flush_expired_partial"} = 1;
43 13         26 $^H{"Data::HashMap::Shared::II/shm_ii_mmap_size"} = 1;
44 13         24 $^H{"Data::HashMap::Shared::II/shm_ii_touch"} = 1;
45 13         21 $^H{"Data::HashMap::Shared::II/shm_ii_reserve"} = 1;
46 13         38 $^H{"Data::HashMap::Shared::II/shm_ii_stat_evictions"} = 1;
47 13         27 $^H{"Data::HashMap::Shared::II/shm_ii_stat_expired"} = 1;
48 13         22 $^H{"Data::HashMap::Shared::II/shm_ii_stat_recoveries"} = 1;
49 13         24 $^H{"Data::HashMap::Shared::II/shm_ii_arena_used"} = 1;
50 13         27 $^H{"Data::HashMap::Shared::II/shm_ii_arena_cap"} = 1;
51 13         46 $^H{"Data::HashMap::Shared::II/shm_ii_add"} = 1;
52 13         25 $^H{"Data::HashMap::Shared::II/shm_ii_add_ttl"} = 1;
53 13         25 $^H{"Data::HashMap::Shared::II/shm_ii_update_ttl"} = 1;
54 13         27 $^H{"Data::HashMap::Shared::II/shm_ii_update"} = 1;
55 13         26 $^H{"Data::HashMap::Shared::II/shm_ii_swap"} = 1;
56 13         22 $^H{"Data::HashMap::Shared::II/shm_ii_cas"} = 1;
57 13         26 $^H{"Data::HashMap::Shared::II/shm_ii_cas_take"} = 1;
58 13         30 $^H{"Data::HashMap::Shared::II/shm_ii_persist"} = 1;
59 13         76353 $^H{"Data::HashMap::Shared::II/shm_ii_set_ttl"} = 1;
60             }
61              
62             1;