blib/lib/Net/IDN/Punycode.pm

filter: Statementstmt 100% 31 / 31 Branchbran 100% 4 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 40 / 40 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Net/IDN/Punycode.xs ↑ Summary
1 package Net::IDN::Punycode;
2  
3 29 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 29 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 29 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 29 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 29 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 29 our $VERSION = "2.600";
12 29 our $XS_VERSION = $VERSION;
13 29 $VERSION = eval $VERSION;
14  
15 29 our @ISA = qw(Exporter);
16 29 our @EXPORT = ();
17 29 our @EXPORT_OK = ();
18 29 our %EXPORT_TAGS = ( 'all' => [ qw(encode_punycode decode_punycode) ], );
19 29 Exporter::export_ok_tags(keys %EXPORT_TAGS);
20 29 our $_NO_XS;
21  
22 29 eval {
23 29 ▶ die if $_NO_XS;
Branch: 1 branch
BranchTrueFalseTotal
if $Net::IDN::Punycode::_NO_XS 3 26 29
24 26 require XSLoader;
25 26 XSLoader::load('Net::IDN::Punycode');
26 };
27  
28 29 ▶if (!defined(&encode_punycode)) {
Branch: 1 branch
BranchTrueFalseTotal
unless (defined &Net::IDN::Punycode::encode_punycode) 3 26 29
29 3 require Net::IDN::Punycode::PP;
30 3 Net::IDN::Punycode::PP->import(qw(:all));
31 }
32  
33 29 1;
34 __END__
« lib/Net/IDN/Punycode.xs ↑ Summary