File Coverage

blib/lib/Data/HashMap/SA.pm
Criterion Covered Total %
statement 25 25 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 29 29 100.0


line stmt bran cond sub pod time code
1             package Data::HashMap::SA;
2 3     3   101918 use strict;
  3         6  
  3         166  
3 3     3   26 use warnings;
  3         6  
  3         195  
4 3     3   495 use Data::HashMap;
  3         7  
  3         824  
5             our $VERSION = '0.01';
6              
7             sub import {
8 3     3   40 $^H{"Data::HashMap::SA/hm_sa_put"} = 1;
9 3         14 $^H{"Data::HashMap::SA/hm_sa_get"} = 1;
10 3         7 $^H{"Data::HashMap::SA/hm_sa_remove"} = 1;
11 3         8 $^H{"Data::HashMap::SA/hm_sa_exists"} = 1;
12 3         7 $^H{"Data::HashMap::SA/hm_sa_size"} = 1;
13 3         48 $^H{"Data::HashMap::SA/hm_sa_keys"} = 1;
14 3         75 $^H{"Data::HashMap::SA/hm_sa_values"} = 1;
15 3         10 $^H{"Data::HashMap::SA/hm_sa_items"} = 1;
16 3         39 $^H{"Data::HashMap::SA/hm_sa_max_size"} = 1;
17 3         10 $^H{"Data::HashMap::SA/hm_sa_ttl"} = 1;
18 3         8 $^H{"Data::HashMap::SA/hm_sa_each"} = 1;
19 3         9 $^H{"Data::HashMap::SA/hm_sa_iter_reset"} = 1;
20 3         10 $^H{"Data::HashMap::SA/hm_sa_clear"} = 1;
21 3         9 $^H{"Data::HashMap::SA/hm_sa_to_hash"} = 1;
22 3         9 $^H{"Data::HashMap::SA/hm_sa_put_ttl"} = 1;
23 3         4357 $^H{"Data::HashMap::SA/hm_sa_get_or_set"} = 1;
24             }
25              
26             1;