File Coverage

blib/lib/Package/Stash/XS.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Package::Stash::XS; # git description: 4627d81
2 16     16   877607 use strict;
  16         130  
  16         413  
3 16     16   74 use warnings;
  16         26  
  16         339  
4 16     16   288 use 5.008001;
  16         63  
5             # ABSTRACT: faster and more correct implementation of the Package::Stash API
6              
7             our $VERSION = '0.29';
8              
9 16     16   105 use XSLoader;
  16         25  
  16         913  
10             XSLoader::load(
11             __PACKAGE__,
12             # we need to be careful not to touch $VERSION at compile time, otherwise
13             # DynaLoader will assume it's set and check against it, which will cause
14             # fail when being run in the checkout without dzil having set the actual
15             # $VERSION
16             exists $Package::Stash::XS::{VERSION}
17             ? ${ $Package::Stash::XS::{VERSION} } : (),
18             );
19              
20              
21             1;
22              
23             __END__