File Coverage

blib/lib/Acme/Math/XS.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1 1     1   14806 use strict; use warnings;
  1     1   1  
  1         35  
  1         3  
  1         1  
  1         31  
2             package Acme::Math::XS;
3             # our $VERSION = 'x.x.x';
4 1     1   338 use Alt::Acme::Math::XS::EUMM;
  1         3  
  1         28  
5              
6 1     1   4 use Exporter 'import';
  1         1  
  1         43  
7             our @EXPORT = qw(
8             add
9             subtract
10             );
11              
12 1     1   302 use Acme::Math::XS::Inline C => <<'...';
  1         1  
  1         23  
13             long add(long a, long b) {
14             return a + b;
15             }
16              
17             long subtract(long a, long b) {
18             return a - b;
19             }
20             ...
21              
22             1;