File Coverage

blib/lib/Data/HashMap/I16S.pm
Criterion Covered Total %
statement 36 36 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 40 40 100.0


line stmt bran cond sub pod time code
1             package Data::HashMap::I16S;
2 6     6   92437 use strict;
  6         12  
  6         275  
3 6     6   54 use warnings;
  6         14  
  6         344  
4 6     6   410 use Data::HashMap;
  6         10  
  6         2056  
5             our $VERSION = '0.08';
6              
7             sub import {
8 6     6   125 $^H{"Data::HashMap::I16S/hm_i16s_put"} = 1;
9 6         19 $^H{"Data::HashMap::I16S/hm_i16s_get"} = 1;
10 6         96 $^H{"Data::HashMap::I16S/hm_i16s_remove"} = 1;
11 6         18 $^H{"Data::HashMap::I16S/hm_i16s_take"} = 1;
12 6         13 $^H{"Data::HashMap::I16S/hm_i16s_drain"} = 1;
13 6         15 $^H{"Data::HashMap::I16S/hm_i16s_pop"} = 1;
14 6         14 $^H{"Data::HashMap::I16S/hm_i16s_shift"} = 1;
15 6         32 $^H{"Data::HashMap::I16S/hm_i16s_reserve"} = 1;
16 6         15 $^H{"Data::HashMap::I16S/hm_i16s_purge"} = 1;
17 6         14 $^H{"Data::HashMap::I16S/hm_i16s_capacity"} = 1;
18 6         12 $^H{"Data::HashMap::I16S/hm_i16s_persist"} = 1;
19 6         14 $^H{"Data::HashMap::I16S/hm_i16s_swap"} = 1;
20 6         24 $^H{"Data::HashMap::I16S/hm_i16s_exists"} = 1;
21 6         15 $^H{"Data::HashMap::I16S/hm_i16s_size"} = 1;
22 6         31 $^H{"Data::HashMap::I16S/hm_i16s_keys"} = 1;
23 6         16 $^H{"Data::HashMap::I16S/hm_i16s_values"} = 1;
24 6         15 $^H{"Data::HashMap::I16S/hm_i16s_items"} = 1;
25 6         14 $^H{"Data::HashMap::I16S/hm_i16s_max_size"} = 1;
26 6         14 $^H{"Data::HashMap::I16S/hm_i16s_ttl"} = 1;
27 6         13 $^H{"Data::HashMap::I16S/hm_i16s_lru_skip"} = 1;
28 6         14 $^H{"Data::HashMap::I16S/hm_i16s_each"} = 1;
29 6         20 $^H{"Data::HashMap::I16S/hm_i16s_iter_reset"} = 1;
30 6         13 $^H{"Data::HashMap::I16S/hm_i16s_clear"} = 1;
31 6         23 $^H{"Data::HashMap::I16S/hm_i16s_to_hash"} = 1;
32 6         32 $^H{"Data::HashMap::I16S/hm_i16s_put_ttl"} = 1;
33 6         15 $^H{"Data::HashMap::I16S/hm_i16s_get_or_set"} = 1;
34 6         2630 $^H{"Data::HashMap::I16S/hm_i16s_get_direct"} = 1;
35             }
36              
37             1;