Branch Coverage

pl_module.c
Criterion Covered Total %
branch 4 8 50.0


line true false branch
10 0 24 if (!duk_get_global_string(ctx, func_name)) {
14 0 24 if (!duk_is_c_function(ctx, -1)) {
18 0 24 if (!duk_get_prop_lstring(ctx, -1, PL_SLOT_GENERIC_CALLBACK, sizeof(PL_SLOT_GENERIC_CALLBACK) - 1)) {
23 0 24 if (!func) {