NabeAtzz.xs

filter: Statementstmt 100% 6 / 6 Branchbran 100% 4 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 10 / 10 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
↑ Summary blib/lib/Acme/NabeAtzz.pm »
1 #define PERL_CORE
2  
3 #include "EXTERN.h"
4 #include "perl.h"
5 #include "XSUB.h"
6  
7 #include "ppport.h"
8  
9 static OP *(*PL_ppaddr_bak[OP_max + 1])(pTHX);
10  
11 72370 OP * aho(pTHX) {
12 72370 ▶ if (!(PL_op->op_type % 3)) PerlIO_printf(PerlIO_stderr(), "AHO: %d\n", PL_op->op_type);
Branch: 1 branch
BranchTrueFalseTotal
if (!(PL_op->op_type % 3)) PerlIO_printf(PerlIO_stderr(), "AHO: %d\n", PL_op->op_type); 31034 41336 72370
13 72370 return PL_ppaddr_bak[PL_op->op_type](aTHX);
14 }
15  
16 MODULE = Acme::NabeAtzz PACKAGE = Acme::NabeAtzz
17  
18 PROTOTYPES: ENABLE
19  
20 void
21 _setup()
22 PROTOTYPE:
23 CODE:
24 int i;
25 430 ▶ for (i = 0;i < OP_max;i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0;i < OP_max;i++) { 429 1 430
26 429 PL_ppaddr_bak[i] = PL_ppaddr[i];
27 429 PL_ppaddr[i] = aho;
28 }
↑ Summary blib/lib/Acme/NabeAtzz.pm »