File Coverage

blib/lib/PITA/Test/Dummy/Perl5/XS.pm
Criterion Covered Total %
statement 12 15 80.0
branch 1 2 50.0
condition n/a
subroutine 3 3 100.0
pod n/a
total 16 20 80.0


line stmt bran cond sub pod time code
1             package PITA::Test::Dummy::Perl5::XS;
2 1     1   897 use strict;
  1         3  
  1         49  
3 1     1   6 use vars qw($VERSION @ISA);
  1         2  
  1         187  
4              
5             BEGIN {
6 1     1   12 $VERSION = "0.01";
7 1         20 @ISA = qw(Exporter);
8            
9             eval {
10 1         4 require XSLoader;
11 1         671 XSLoader::load('PITA::Test::Dummy::Perl5::XS', $VERSION);
12 1         43 1;
13 1 50       2 } or do {
14 0           require DynaLoader;
15 0           push @ISA, 'DynaLoader';
16 0           bootstrap PITA::Test::Dummy::Perl5::XS $VERSION;
17             };
18             }
19              
20             1;
21              
22             __END__