File Coverage

blib/lib/Package/Stash/XS.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 18 18 100.0


line stmt bran cond sub pod time code
1             package Package::Stash::XS;
2             BEGIN {
3 16     16   625436 $Package::Stash::XS::AUTHORITY = 'cpan:DOY';
4             }
5             {
6             $Package::Stash::XS::VERSION = '0.28';
7             }
8 16     16   147 use strict;
  16         29  
  16         480  
9 16     16   82 use warnings;
  16         33  
  16         484  
10 16     16   455 use 5.008001;
  16         57  
  16         785  
11             # ABSTRACT: faster and more correct implementation of the Package::Stash API
12              
13 16     16   97 use XSLoader;
  16         28  
  16         1171  
14             XSLoader::load(
15             __PACKAGE__,
16             # we need to be careful not to touch $VERSION at compile time, otherwise
17             # DynaLoader will assume it's set and check against it, which will cause
18             # fail when being run in the checkout without dzil having set the actual
19             # $VERSION
20             exists $Package::Stash::XS::{VERSION}
21             ? ${ $Package::Stash::XS::{VERSION} } : (),
22             );
23              
24              
25             1;
26              
27             __END__