File Coverage

blib/lib/Data/HashMap/IS.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::IS;
2 7     7   107353 use strict;
  7         12  
  7         1713  
3 7     7   29 use warnings;
  7         11  
  7         280  
4 7     7   382 use Data::HashMap;
  7         9  
  7         2005  
5             our $VERSION = '0.07';
6              
7             sub import {
8 7     7   74 $^H{"Data::HashMap::IS/hm_is_put"} = 1;
9 7         25 $^H{"Data::HashMap::IS/hm_is_get"} = 1;
10 7         14 $^H{"Data::HashMap::IS/hm_is_remove"} = 1;
11 7         14 $^H{"Data::HashMap::IS/hm_is_take"} = 1;
12 7         12 $^H{"Data::HashMap::IS/hm_is_drain"} = 1;
13 7         12 $^H{"Data::HashMap::IS/hm_is_pop"} = 1;
14 7         13 $^H{"Data::HashMap::IS/hm_is_shift"} = 1;
15 7         63 $^H{"Data::HashMap::IS/hm_is_reserve"} = 1;
16 7         10 $^H{"Data::HashMap::IS/hm_is_purge"} = 1;
17 7         14 $^H{"Data::HashMap::IS/hm_is_capacity"} = 1;
18 7         57 $^H{"Data::HashMap::IS/hm_is_persist"} = 1;
19 7         15 $^H{"Data::HashMap::IS/hm_is_swap"} = 1;
20 7         16 $^H{"Data::HashMap::IS/hm_is_exists"} = 1;
21 7         11 $^H{"Data::HashMap::IS/hm_is_size"} = 1;
22 7         11 $^H{"Data::HashMap::IS/hm_is_keys"} = 1;
23 7         14 $^H{"Data::HashMap::IS/hm_is_values"} = 1;
24 7         11 $^H{"Data::HashMap::IS/hm_is_items"} = 1;
25 7         14 $^H{"Data::HashMap::IS/hm_is_max_size"} = 1;
26 7         11 $^H{"Data::HashMap::IS/hm_is_ttl"} = 1;
27 7         11 $^H{"Data::HashMap::IS/hm_is_lru_skip"} = 1;
28 7         14 $^H{"Data::HashMap::IS/hm_is_each"} = 1;
29 7         13 $^H{"Data::HashMap::IS/hm_is_iter_reset"} = 1;
30 7         13 $^H{"Data::HashMap::IS/hm_is_clear"} = 1;
31 7         27 $^H{"Data::HashMap::IS/hm_is_to_hash"} = 1;
32 7         12 $^H{"Data::HashMap::IS/hm_is_put_ttl"} = 1;
33 7         16 $^H{"Data::HashMap::IS/hm_is_get_or_set"} = 1;
34 7         2602 $^H{"Data::HashMap::IS/hm_is_get_direct"} = 1;
35             }
36              
37             1;