Branch Coverage

LUHN_XS.xs
Criterion Covered Total %
branch 49 50 98.0


line true false branch
28 2816 11 for (i=0;i<256;++i) {
33 434 11 for (i = 0; i < num_keys; i++) {
37 434 0 _al_vc[(SvPV(sv_key,PL_na))[0]]=atoi(SvPV(sv_val,PL_na));
332 102 _al_vc[(SvPV(sv_key,PL_na))[0]]=atoi(SvPV(sv_val,PL_na));
44 2 17 if (len < 1) {
51 149 12 for (i = len; i >=0; --i) {
54 145 4 if (j > 9 || j < 0) {return -1;}
1 144 if (j > 9 || j < 0) {return -1;}
56 75 69 if (flip ^= 1) {
67 2 68 if (len < 1) {
77 640 60 for (i = len - 1; i >= 0; --i) {
79 8 632 if (num == -1) {
88 326 306 if (!(twoup = !twoup)) {
91 776 632 while (num) {
101 2 13 if (len < 1) {
105 3 10 if (rv == -1) {
114 3 21 if (len < 2) {
128 1 20 if (c < 48) {
132 10 10 if (cd == c) {
149 3 21 if (len < 2) {
157 1 20 if (c < 48) {
160 10 10 if (cd == c) {
177 3 10 if (len < 2) {
185 2 8 if (csum < 48) {
188 4 4 if (cd == csum) {