blib/lib/Data/Buffer/Shared.pm

filter: Statementstmt 94.1% 16 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 90.4% 19 / 21 CC 1 SCAR 0.0
CC
1
Cov
94%
BEGIN
1.0
__ANON__
1.0
BEGIN
1.0
CRAP 1.0
« xs/i64.xs ↑ Summary Shared.xs »
1 package Data::Buffer::Shared;
2 25 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 25 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 25 our $VERSION = '0.10';
5  
6 25 require XSLoader;
7 25 XSLoader::load('Data::Buffer::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 0 ▶{ no strict 'refs'; *{"${_}::CLONE_SKIP"} = sub { 1 } for qw(
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine __ANON__: not called CC=1 SCAR=0.0
12 Data::Buffer::Shared::U8
13 Data::Buffer::Shared::I8
14 Data::Buffer::Shared::U16
15 Data::Buffer::Shared::I16
16 Data::Buffer::Shared::U32
17 Data::Buffer::Shared::I32
18 Data::Buffer::Shared::U64
19 Data::Buffer::Shared::I64
20 Data::Buffer::Shared::F32
21 Data::Buffer::Shared::F64
22 Data::Buffer::Shared::Str
23 ); }
24  
25 25 1;
26  
27 __END__
« xs/i64.xs ↑ Summary Shared.xs »