Branch Coverage

lib/Future/AsyncAwait/Hooks.xs
Criterion Covered Total %
branch 24 36 66.6


line true false branch
25 0 14 OP *start = NUM2PTR(OP *, SvUV(blocksv));
36 0 14 FREETMPS;
39 0 14 if(cxstack_ix != was_cxstack_ix + 1) {
53 5 0 if(!svp)
60 0 19 for(i = 0; i <= AvFILL(hooklist); i += 2) {
14 5 for(i = 0; i <= AvFILL(hooklist); i += 2) {
61 14 0 int type = SvIV(svp[i]);
62 7 7 if(type == HOOK_SUSPEND)
70 5 0 if(!svp)
77 0 5 for(i = AvFILL(hooklist)-1; i >= 0; i -= 2) {
14 5 for(i = AvFILL(hooklist)-1; i >= 0; i -= 2) {
78 14 0 int type = SvIV(svp[i]);
79 7 7 if(type == HOOK_RESUME)
100 0 42 while(av_count(av) > avl->len)
28 14 while(av_count(av) > avl->len)
111 0 14 avl->len = av_count(av);
122 0 14 if(!modhookdata)
127 10 4 if(svp)