File Coverage

blib/lib/Acme/Math/XS.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1 1     1   92661 use strict; use warnings;
  1     1   2  
  1         49  
  1         7  
  1         1  
  1         71  
2             package Acme::Math::XS;
3             our $VERSION = '0.0.1';
4              
5 1     1   6 use Exporter 'import';
  1         8  
  1         65  
6             our @EXPORT = qw(
7             add
8             subtract
9             );
10              
11 1     1   517 use Acme::Math::XS::Inline C => <<'...';
  1         2  
  1         38  
12             long add(long a, long b) {
13             return a + b;
14             }
15              
16             long subtract(long a, long b) {
17             return a - b;
18             }
19             ...
20              
21             1;