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   80159 use strict;
  7         9  
  7         241  
3 7     7   29 use warnings;
  7         1568  
  7         306  
4 7     7   426 use Data::HashMap;
  7         11  
  7         1993  
5             our $VERSION = '0.06';
6              
7             sub import {
8 8     8   73 $^H{"Data::HashMap::IS/hm_is_put"} = 1;
9 8         20 $^H{"Data::HashMap::IS/hm_is_get"} = 1;
10 8         15 $^H{"Data::HashMap::IS/hm_is_remove"} = 1;
11 8         15 $^H{"Data::HashMap::IS/hm_is_take"} = 1;
12 8         16 $^H{"Data::HashMap::IS/hm_is_drain"} = 1;
13 8         12 $^H{"Data::HashMap::IS/hm_is_pop"} = 1;
14 8         56 $^H{"Data::HashMap::IS/hm_is_shift"} = 1;
15 8         15 $^H{"Data::HashMap::IS/hm_is_reserve"} = 1;
16 8         15 $^H{"Data::HashMap::IS/hm_is_purge"} = 1;
17 8         14 $^H{"Data::HashMap::IS/hm_is_capacity"} = 1;
18 8         14 $^H{"Data::HashMap::IS/hm_is_persist"} = 1;
19 8         14 $^H{"Data::HashMap::IS/hm_is_swap"} = 1;
20 8         61 $^H{"Data::HashMap::IS/hm_is_exists"} = 1;
21 8         15 $^H{"Data::HashMap::IS/hm_is_size"} = 1;
22 8         17 $^H{"Data::HashMap::IS/hm_is_keys"} = 1;
23 8         14 $^H{"Data::HashMap::IS/hm_is_values"} = 1;
24 8         14 $^H{"Data::HashMap::IS/hm_is_items"} = 1;
25 8         14 $^H{"Data::HashMap::IS/hm_is_max_size"} = 1;
26 8         13 $^H{"Data::HashMap::IS/hm_is_ttl"} = 1;
27 8         14 $^H{"Data::HashMap::IS/hm_is_lru_skip"} = 1;
28 8         14 $^H{"Data::HashMap::IS/hm_is_each"} = 1;
29 8         16 $^H{"Data::HashMap::IS/hm_is_iter_reset"} = 1;
30 8         20 $^H{"Data::HashMap::IS/hm_is_clear"} = 1;
31 8         25 $^H{"Data::HashMap::IS/hm_is_to_hash"} = 1;
32 8         15 $^H{"Data::HashMap::IS/hm_is_put_ttl"} = 1;
33 8         12 $^H{"Data::HashMap::IS/hm_is_get_or_set"} = 1;
34 8         2650 $^H{"Data::HashMap::IS/hm_is_get_direct"} = 1;
35             }
36              
37             1;