Branch Coverage

lib/Faster/Maths.xs
Criterion Covered Total %
branch 72 126 57.1


line true false branch
39 1056005 1 sv_setnv(accum, SvNV_nomg(PAD_SV(aux[auxi].pad_offset)));
44 1055999 2 sv_setnv(accum, SvNV_nomg(aux[auxi].sv));
49 9504020 0 croak("ARGH: initial prog instruction");
2112003 7392017 croak("ARGH: initial prog instruction");
2112003 0 croak("ARGH: initial prog instruction");
52 9504020 2112007 while(*prog) {
81 2112006 0 sv_setnv(accum, SvNV_nomg(accum) + SvNV_nomg(rhs));
2112004 2 sv_setnv(accum, SvNV_nomg(accum) + SvNV_nomg(rhs));
84 1056003 0 sv_setnv(accum, SvNV_nomg(accum) - SvNV_nomg(rhs));
1056003 0 sv_setnv(accum, SvNV_nomg(accum) - SvNV_nomg(rhs));
87 4224008 0 sv_setnv(accum, SvNV_nomg(accum) * SvNV_nomg(rhs));
4224008 0 sv_setnv(accum, SvNV_nomg(accum) * SvNV_nomg(rhs));
90 0 0 sv_setnv(accum, SvNV_nomg(accum) / SvNV_nomg(rhs));
0 0 sv_setnv(accum, SvNV_nomg(accum) / SvNV_nomg(rhs));
111 2112003 0 sv_setnv(accum, SvNV_nomg(val));
120 0 2112007 EXTEND(SP, 1);
137 57 0 for(o = start; o; o = o->op_next) {
138 57 0 switch(o->op_type) {
33 24 switch(o->op_type) {
33 0 switch(o->op_type) {
153 23 34 if(height > maxheight)
156 48 9 if(o == final)
174 57 0 for(o = start; o; o = o->op_next) {
177 0 2 if(lastarg != ')')
184 14 17 if(lastarg != ')')
208 14 10 if(tmpi <= ntmps)
217 48 9 if(o == final)
221 0 9 if(SvPVX(prog)[0] != '(')
240 445 2 if(!o)
249 9176 445 while(o) {
250 1266 7910 if(o->op_type == OP_NEXTSTATE) {
252 1266 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
29 1237 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
29 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 29 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 29 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 29 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
29 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
29 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 29 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
29 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
0 0 enabled = sv && sv != &PL_sv_placeholder && SvTRUE(sv);
255 114 7796 if(!enabled)
261 46 68 switch(o->op_type) {
278 176 0 for(scout = o; scout; scout = scout->op_next) {
279 155 21 switch(scout->op_type) {
125 30 switch(scout->op_type) {
100 25 switch(scout->op_type) {
291 30 0 if(height < 2)
301 19 11 if(height == 1) {
308 9 37 if(!final)
324 9 0 if(final_opcount < 2)
333 9 0 if(prevo)