File Coverage

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


line stmt bran cond sub pod time code
1             package Data::HashMap::IA;
2 7     7   79180 use strict;
  7         9  
  7         235  
3 7     7   28 use warnings;
  7         7  
  7         353  
4 7     7   435 use Data::HashMap;
  7         9  
  7         1882  
5             our $VERSION = '0.06';
6              
7             sub import {
8 7     7   65 $^H{"Data::HashMap::IA/hm_ia_put"} = 1;
9 7         17 $^H{"Data::HashMap::IA/hm_ia_get"} = 1;
10 7         15 $^H{"Data::HashMap::IA/hm_ia_remove"} = 1;
11 7         14 $^H{"Data::HashMap::IA/hm_ia_take"} = 1;
12 7         15 $^H{"Data::HashMap::IA/hm_ia_drain"} = 1;
13 7         14 $^H{"Data::HashMap::IA/hm_ia_pop"} = 1;
14 7         21 $^H{"Data::HashMap::IA/hm_ia_shift"} = 1;
15 7         16 $^H{"Data::HashMap::IA/hm_ia_reserve"} = 1;
16 7         12 $^H{"Data::HashMap::IA/hm_ia_purge"} = 1;
17 7         15 $^H{"Data::HashMap::IA/hm_ia_capacity"} = 1;
18 7         14 $^H{"Data::HashMap::IA/hm_ia_persist"} = 1;
19 7         13 $^H{"Data::HashMap::IA/hm_ia_swap"} = 1;
20 7         12 $^H{"Data::HashMap::IA/hm_ia_exists"} = 1;
21 7         14 $^H{"Data::HashMap::IA/hm_ia_size"} = 1;
22 7         12 $^H{"Data::HashMap::IA/hm_ia_keys"} = 1;
23 7         10 $^H{"Data::HashMap::IA/hm_ia_values"} = 1;
24 7         12 $^H{"Data::HashMap::IA/hm_ia_items"} = 1;
25 7         14 $^H{"Data::HashMap::IA/hm_ia_max_size"} = 1;
26 7         13 $^H{"Data::HashMap::IA/hm_ia_ttl"} = 1;
27 7         12 $^H{"Data::HashMap::IA/hm_ia_lru_skip"} = 1;
28 7         13 $^H{"Data::HashMap::IA/hm_ia_each"} = 1;
29 7         15 $^H{"Data::HashMap::IA/hm_ia_iter_reset"} = 1;
30 7         14 $^H{"Data::HashMap::IA/hm_ia_clear"} = 1;
31 7         14 $^H{"Data::HashMap::IA/hm_ia_to_hash"} = 1;
32 7         13 $^H{"Data::HashMap::IA/hm_ia_put_ttl"} = 1;
33 7         8716 $^H{"Data::HashMap::IA/hm_ia_get_or_set"} = 1;
34             }
35              
36             1;