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 6     6   101832 use strict;
  6         10  
  6         287  
3 6     6   35 use warnings;
  6         9  
  6         408  
4 6     6   415 use Data::HashMap;
  6         10  
  6         2021  
5             our $VERSION = '0.01';
6              
7             sub import {
8 6     6   104 $^H{"Data::HashMap::SI/hm_si_put"} = 1;
9 6         23 $^H{"Data::HashMap::SI/hm_si_get"} = 1;
10 6         16 $^H{"Data::HashMap::SI/hm_si_remove"} = 1;
11 6         16 $^H{"Data::HashMap::SI/hm_si_exists"} = 1;
12 6         18 $^H{"Data::HashMap::SI/hm_si_incr"} = 1;
13 6         14 $^H{"Data::HashMap::SI/hm_si_decr"} = 1;
14 6         16 $^H{"Data::HashMap::SI/hm_si_incr_by"} = 1;
15 6         39 $^H{"Data::HashMap::SI/hm_si_size"} = 1;
16 6         17 $^H{"Data::HashMap::SI/hm_si_keys"} = 1;
17 6         17 $^H{"Data::HashMap::SI/hm_si_values"} = 1;
18 6         17 $^H{"Data::HashMap::SI/hm_si_items"} = 1;
19 6         16 $^H{"Data::HashMap::SI/hm_si_max_size"} = 1;
20 6         23 $^H{"Data::HashMap::SI/hm_si_ttl"} = 1;
21 6         15 $^H{"Data::HashMap::SI/hm_si_each"} = 1;
22 6         25 $^H{"Data::HashMap::SI/hm_si_iter_reset"} = 1;
23 6         24 $^H{"Data::HashMap::SI/hm_si_clear"} = 1;
24 6         16 $^H{"Data::HashMap::SI/hm_si_to_hash"} = 1;
25 6         2048 $^H{"Data::HashMap::SI/hm_si_put_ttl"} = 1;
26 6         9842 $^H{"Data::HashMap::SI/hm_si_get_or_set"} = 1;
27             }
28              
29             1;