Branch Coverage

lib/Future/AsyncAwait/Hooks.xs
Criterion Covered Total %
branch 22 32 68.7


line true false branch
25 0 14 PUSHMARK(SP);
34 5 0 if(!svp)
41 0 19 for(i = 0; i <= AvFILL(hooklist); i += 2) {
14 5 for(i = 0; i <= AvFILL(hooklist); i += 2) {
42 14 0 int type = SvIV(svp[i]);
43 7 7 if(type == HOOK_SUSPEND)
51 5 0 if(!svp)
58 0 5 for(i = AvFILL(hooklist)-1; i >= 0; i -= 2) {
14 5 for(i = AvFILL(hooklist)-1; i >= 0; i -= 2) {
59 14 0 int type = SvIV(svp[i]);
60 7 7 if(type == HOOK_RESUME)
81 0 42 while(av_count(av) > avl->len)
28 14 while(av_count(av) > avl->len)
92 0 14 avl->len = av_count(av);
103 0 14 if(!modhookdata)
108 10 4 if(svp)