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