File Coverage

Simple.xs
Criterion Covered Total %
statement 2 4 50.0
branch n/a
condition n/a
subroutine n/a
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             #include "EXTERN.h"
2             #include "perl.h"
3             #include "XSUB.h"
4            
5             MODULE = Macro::Simple PACKAGE = Macro::Simple
6              
7             bool truthy (...)
8             CODE:
9 4           XSRETURN_YES;
10              
11             bool falsey (...)
12             CODE:
13 0           XSRETURN_NO;
14              
15             void make_truthy (name)
16             char *name
17             CODE:
18 2           newXS(name, XS_Macro__Simple_truthy, __FILE__);
19              
20             void make_falsey (name)
21             char *name
22             CODE:
23 0           newXS(name, XS_Macro__Simple_falsey, __FILE__);