File Coverage

blib/lib/Data/HashMap/SI.pm
Criterion Covered Total %
statement 39 39 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 43 43 100.0


line stmt bran cond sub pod time code
1             package Data::HashMap::SI;
2 8     8   85448 use strict;
  8         11  
  8         283  
3 8     8   29 use warnings;
  8         11  
  8         303  
4 8     8   383 use Data::HashMap;
  8         11  
  8         2384  
5             our $VERSION = '0.06';
6              
7             sub import {
8 8     8   84 $^H{"Data::HashMap::SI/hm_si_put"} = 1;
9 8         19 $^H{"Data::HashMap::SI/hm_si_get"} = 1;
10 8         77 $^H{"Data::HashMap::SI/hm_si_remove"} = 1;
11 8         21 $^H{"Data::HashMap::SI/hm_si_take"} = 1;
12 8         17 $^H{"Data::HashMap::SI/hm_si_drain"} = 1;
13 8         15 $^H{"Data::HashMap::SI/hm_si_pop"} = 1;
14 8         18 $^H{"Data::HashMap::SI/hm_si_shift"} = 1;
15 8         16 $^H{"Data::HashMap::SI/hm_si_reserve"} = 1;
16 8         13 $^H{"Data::HashMap::SI/hm_si_purge"} = 1;
17 8         34 $^H{"Data::HashMap::SI/hm_si_capacity"} = 1;
18 8         15 $^H{"Data::HashMap::SI/hm_si_persist"} = 1;
19 8         17 $^H{"Data::HashMap::SI/hm_si_swap"} = 1;
20 8         16 $^H{"Data::HashMap::SI/hm_si_cas"} = 1;
21 8         17 $^H{"Data::HashMap::SI/hm_si_exists"} = 1;
22 8         11 $^H{"Data::HashMap::SI/hm_si_incr"} = 1;
23 8         15 $^H{"Data::HashMap::SI/hm_si_decr"} = 1;
24 8         13 $^H{"Data::HashMap::SI/hm_si_incr_by"} = 1;
25 8         17 $^H{"Data::HashMap::SI/hm_si_size"} = 1;
26 8         12 $^H{"Data::HashMap::SI/hm_si_keys"} = 1;
27 8         14 $^H{"Data::HashMap::SI/hm_si_values"} = 1;
28 8         16 $^H{"Data::HashMap::SI/hm_si_items"} = 1;
29 8         28 $^H{"Data::HashMap::SI/hm_si_max_size"} = 1;
30 8         21 $^H{"Data::HashMap::SI/hm_si_ttl"} = 1;
31 8         40 $^H{"Data::HashMap::SI/hm_si_lru_skip"} = 1;
32 8         18 $^H{"Data::HashMap::SI/hm_si_each"} = 1;
33 8         16 $^H{"Data::HashMap::SI/hm_si_iter_reset"} = 1;
34 8         12 $^H{"Data::HashMap::SI/hm_si_clear"} = 1;
35 8         29 $^H{"Data::HashMap::SI/hm_si_to_hash"} = 1;
36 8         18 $^H{"Data::HashMap::SI/hm_si_put_ttl"} = 1;
37 8         7417 $^H{"Data::HashMap::SI/hm_si_get_or_set"} = 1;
38             }
39              
40             1;