File Coverage

blib/lib/Data/HashMap/SI.pm
Criterion Covered Total %
statement 28 28 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 32 32 100.0


line stmt bran cond sub pod time code
1             package Data::HashMap::SI;
2 8     8   125651 use strict;
  8         1566  
  8         348  
3 8     8   39 use warnings;
  8         21  
  8         401  
4 8     8   590 use Data::HashMap;
  8         14  
  8         2292  
5             our $VERSION = '0.04';
6              
7             sub import {
8 8     8   86 $^H{"Data::HashMap::SI/hm_si_put"} = 1;
9 8         21 $^H{"Data::HashMap::SI/hm_si_get"} = 1;
10 8         23 $^H{"Data::HashMap::SI/hm_si_remove"} = 1;
11 8         22 $^H{"Data::HashMap::SI/hm_si_exists"} = 1;
12 8         20 $^H{"Data::HashMap::SI/hm_si_incr"} = 1;
13 8         32 $^H{"Data::HashMap::SI/hm_si_decr"} = 1;
14 8         18 $^H{"Data::HashMap::SI/hm_si_incr_by"} = 1;
15 8         20 $^H{"Data::HashMap::SI/hm_si_size"} = 1;
16 8         17 $^H{"Data::HashMap::SI/hm_si_keys"} = 1;
17 8         29 $^H{"Data::HashMap::SI/hm_si_values"} = 1;
18 8         18 $^H{"Data::HashMap::SI/hm_si_items"} = 1;
19 8         19 $^H{"Data::HashMap::SI/hm_si_max_size"} = 1;
20 8         21 $^H{"Data::HashMap::SI/hm_si_ttl"} = 1;
21 8         2194 $^H{"Data::HashMap::SI/hm_si_each"} = 1;
22 8         23 $^H{"Data::HashMap::SI/hm_si_iter_reset"} = 1;
23 8         16 $^H{"Data::HashMap::SI/hm_si_clear"} = 1;
24 8         23 $^H{"Data::HashMap::SI/hm_si_to_hash"} = 1;
25 8         17 $^H{"Data::HashMap::SI/hm_si_put_ttl"} = 1;
26 8         11188 $^H{"Data::HashMap::SI/hm_si_get_or_set"} = 1;
27             }
28              
29             1;