blib/lib/XML/LibXML/Devel.pm

filter: Statementstmt 95.2% 20 / 21 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 92.8% 26 / 28 CC 1 SCAR 0.0
CC
1
Cov
91%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« perl-libxml-mm.c ↑ Summary blib/lib/XML/LibXML/Common.pm »
1 # $Id: $
2 # This is free software, you may use it and distribute it under the same terms as
3 # Perl itself.
4 #
5 # Copyright 2011 Joachim Zobel
6 #
7 package XML::LibXML::Devel;
8  
9 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 ▶use XML::LibXML;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 our $VERSION = "2.0213"; # VERSION TEMPLATE: DO NOT CHANGE
15  
16 1 ▶use 5.008_000;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 1 ▶use parent qw(Exporter);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 # This allows declaration use XML::LibXML::Devel ':all';
21 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
22 # will save memory.
23 1 our %EXPORT_TAGS = ( 'all' => [ qw(
24 node_to_perl
25 node_from_perl
26 refcnt_inc
27 refcnt_dec
28 refcnt
29 fix_owner
30 ) ] );
31  
32 # mem_used is only compiled in when the installed libxml2 supports the
33 # legacy memory-tracking API (removed in 2.14, deprecated by Apple SDKs).
34 0 ▶push @{ $EXPORT_TAGS{'all'} }, 'mem_used'
Branch: 1 branch
BranchTrueFalseTotal
if defined &XML::LibXML::Devel::mem_used 0 1 1
35 if defined &XML::LibXML::Devel::mem_used;
36  
37 1 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
38  
39 # Preloaded methods go here.
40  
41 1 1;
42 __END__
« perl-libxml-mm.c ↑ Summary blib/lib/XML/LibXML/Common.pm »