Branch Coverage

Pepper.xs
Criterion Covered Total %
branch 2 138 1.4


line true false branch
34 0 0 if(!callbackData || !callbackData->callback_cv) {
0 0 if(!callbackData || !callbackData->callback_cv) {
41 0 0 PUSHMARK(SP);
44 0 0 mXPUSHi(eEvent);
45 0 0 mXPUSHi(eOption);
48 0 0 if(hInstance != pepInvalidHandle) {
50 0 0 XPUSHs(handle_sv);
52 0 0 XPUSHs(&PL_sv_undef);
55 0 0 if(hOutputOptions != pepInvalidHandle) {
57 0 0 XPUSHs(handle_sv);
59 0 0 XPUSHs(&PL_sv_undef);
62 0 0 if(hInputOptions != pepInvalidHandle) {
64 0 0 XPUSHs(handle_sv);
66 0 0 XPUSHs(&PL_sv_undef);
70 0 0 if(callbackData->userdata) {
71 0 0 XPUSHs(callbackData->userdata);
73 0 0 XPUSHs(&PL_sv_undef);
81 0 0 FREETMPS;
102 0 0 const char* configStr = (SvOK(configStructure) && SvPOK(configStructure)) ? SvPV_nolen(configStructure) : NULL;
0 0 const char* configStr = (SvOK(configStructure) && SvPOK(configStructure)) ? SvPV_nolen(configStructure) : NULL;
103 0 0 const char* licenseStr = (SvOK(licenseStructure) && SvPOK(licenseStructure)) ? SvPV_nolen(licenseStructure) : NULL;
0 0 const char* licenseStr = (SvOK(licenseStructure) && SvPOK(licenseStructure)) ? SvPV_nolen(licenseStructure) : NULL;
107 0 0 EXTEND(SP, 2);
109 0 0 if(terminalTypeOptionList != pepInvalidHandle) {
129 0 0 EXTEND(SP, 9);
156 0 0 EXTEND(SP, 2);
158 0 0 if(instance != pepInvalidHandle) {
186 0 0 if(!SvROK(callback_cv) || SvTYPE(SvRV(callback_cv)) != SVt_PVCV) {
0 0 if(!SvROK(callback_cv) || SvTYPE(SvRV(callback_cv)) != SVt_PVCV) {
192 0 0 if(!callbackData) {
198 0 0 callbackData->userdata = SvOK(userdata_sv) ? SvREFCNT_inc(userdata_sv) : NULL;
205 0 0 EXTEND(SP, 2);
207 0 0 if(outputOptions != pepInvalidHandle) {
231 0 0 EXTEND(SP, 3);
233 0 0 if(operation != pepInvalidHandle) {
238 0 0 if(outputOptions != pepInvalidHandle) {
258 0 0 EXTEND(SP, 3);
260 0 0 if(operation != pepInvalidHandle) {
265 0 0 if(outputOptions != pepInvalidHandle) {
285 0 0 EXTEND(SP, 3);
287 0 0 if(operation != pepInvalidHandle) {
292 0 0 if(outputOptions != pepInvalidHandle) {
312 0 0 EXTEND(SP, 3);
314 0 0 if(operation != pepInvalidHandle) {
319 0 0 if(outputOptions != pepInvalidHandle) {
342 0 0 EXTEND(SP, 2);
362 0 0 EXTEND(SP, 2);
364 0 0 if(outputOptions != pepInvalidHandle) {
383 0 0 EXTEND(SP, 3);
385 0 0 if(operation != pepInvalidHandle) {
390 0 0 if(outputOptions != pepInvalidHandle) {
411 0 0 EXTEND(SP, 2);
413 0 0 if(outputOptions != pepInvalidHandle) {
433 0 0 EXTEND(SP, 2);
435 0 0 if(list != pepInvalidHandle) {
453 0 0 EXTEND(SP, 2);
455 0 0 if(result >= pepFunctionResult_Success && value) {
0 0 if(result >= pepFunctionResult_Success && value) {
473 0 0 EXTEND(SP, 2);
475 0 0 if(result >= pepFunctionResult_Success) {
493 0 0 EXTEND(SP, 2);
495 0 0 if(result >= pepFunctionResult_Success && childHandle != pepInvalidHandle) {
0 0 if(result >= pepFunctionResult_Success && childHandle != pepInvalidHandle) {
530 0 0 EXTEND(SP, 2);
532 0 0 if(result >= pepFunctionResult_Success && elementList) {
0 0 if(result >= pepFunctionResult_Success && elementList) {
547 0 2 RETVAL = (handle != pepInvalidHandle);
555 0 1 RETVAL = (result >= pepFunctionResult_Success);
563 0 0 RETVAL = (result < pepFunctionResult_Success);