File Coverage

blib/lib/Data/HashMap/Shared.pm
Criterion Covered Total %
statement 9 10 90.0
branch n/a
condition n/a
subroutine 3 4 75.0
pod n/a
total 12 14 85.7


line stmt bran cond sub pod time code
1             package Data::HashMap::Shared;
2 22     22   199462 use strict;
  22         38  
  22         605  
3 22     22   81 use warnings;
  22         34  
  22         1585  
4             our $VERSION = '0.14';
5              
6             require XSLoader;
7             XSLoader::load('Data::HashMap::Shared', $VERSION);
8              
9             # ithreads: blessed shared-memory handles must never be cloned into a
10             # child thread -- the clone would double-free the handle on thread exit.
11 22     22   135 { no strict 'refs'; *{"${_}::CLONE_SKIP"} = sub { 1 } for qw(
  22     0   77  
  22         2500  
  0            
12             Data::HashMap::Shared::I16
13             Data::HashMap::Shared::I16::Cursor
14             Data::HashMap::Shared::I16S
15             Data::HashMap::Shared::I16S::Cursor
16             Data::HashMap::Shared::I32
17             Data::HashMap::Shared::I32::Cursor
18             Data::HashMap::Shared::I32S
19             Data::HashMap::Shared::I32S::Cursor
20             Data::HashMap::Shared::II
21             Data::HashMap::Shared::II::Cursor
22             Data::HashMap::Shared::IS
23             Data::HashMap::Shared::IS::Cursor
24             Data::HashMap::Shared::SI
25             Data::HashMap::Shared::SI::Cursor
26             Data::HashMap::Shared::SI16
27             Data::HashMap::Shared::SI16::Cursor
28             Data::HashMap::Shared::SI32
29             Data::HashMap::Shared::SI32::Cursor
30             Data::HashMap::Shared::SS
31             Data::HashMap::Shared::SS::Cursor
32             ); }
33              
34             1;
35              
36             __END__