blib/lib/XML/PugiXML.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CLONE_SKIP
1.0
CRAP 1.0
« PugiXML.xs ↑ Summary
1 package XML::PugiXML;
2 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 11 our $VERSION = '0.10';
6  
7 11 require XSLoader;
8 11 XSLoader::load('XML::PugiXML', $VERSION);
9  
10 # Under ithreads, the objects in these packages are blessed pointers to C++
11 # structures, not per-interpreter data. Cloning one into a new thread would
12 # copy the raw pointer and leave two interpreters each holding a DESTROY for
13 # it, double-deleting the underlying object. CLONE_SKIP tells perl not to
14 # clone them: a new thread simply does not inherit these objects.
15 1 ▶sub CLONE_SKIP { 1 }
Subroutine CLONE_SKIP: called CC=1 SCAR=0.0
16 1 ▶sub XML::PugiXML::Node::CLONE_SKIP { 1 }
Subroutine CLONE_SKIP: called CC=1 SCAR=0.0
17 1 ▶sub XML::PugiXML::Attr::CLONE_SKIP { 1 }
Subroutine CLONE_SKIP: called CC=1 SCAR=0.0
18 1 ▶sub XML::PugiXML::XPath::CLONE_SKIP { 1 }
Subroutine CLONE_SKIP: called CC=1 SCAR=0.0
19  
20 11 1;
21  
22 __END__
« PugiXML.xs ↑ Summary