Branch Coverage

LUHN_XS.xs
Criterion Covered Total %
branch 49 50 98.0


line true false branch
33 2816 11 for (i=0;i<256;++i) {
38 434 11 for (i = 0; i < num_keys; i++) {
42 434 0 _al_vc[(SvPV(sv_key,PL_na))[0]]=atoi(SvPV(sv_val,PL_na)); /* #uncoverable statment */
332 102 _al_vc[(SvPV(sv_key,PL_na))[0]]=atoi(SvPV(sv_val,PL_na)); /* #uncoverable statment */
49 2 17 if (len < 1) {
56 149 12 for (i = len; i >=0; --i) {
59 145 4 if (j > 9 || j < 0) {return -1;}
1 144 if (j > 9 || j < 0) {return -1;}
61 75 69 if (flip ^= 1) {
72 2 68 if (len < 1) {
82 640 60 for (i = len - 1; i >= 0; --i) {
84 8 632 if (num == -1) {
93 326 306 if (!(twoup = !twoup)) {
96 776 632 while (num) {
106 2 13 if (len < 1) {
110 3 10 if (rv == -1) {
119 3 21 if (len < 2) {
133 1 20 if (c < 48) {
137 10 10 if (cd == c) {
154 3 21 if (len < 2) {
162 1 20 if (c < 48) {
165 10 10 if (cd == c) {
182 3 10 if (len < 2) {
190 2 8 if (csum < 48) {
193 4 4 if (cd == csum) {