Branch Coverage

duk_module_node.c
Criterion Covered Total %
branch 11 18 61.1


line true false branch
20 4 9 if (duk_get_prop_string(ctx, -1, id)) {
90 4 9 if (duk__get_cached_module(ctx, id)) {
113 0 8 if (ret != DUK_EXEC_SUCCESS) {
118 8 0 if (duk_is_string(ctx, -1)) {
128 0 8 if (ret != DUK_EXEC_SUCCESS) {
132 0 0 } else if (duk_is_undefined(ctx, -1)) {
173 0 9 if (main) {
223 1 7 duk_push_string(ctx, (src[0] == '#' && src[1] == '!') ? "//" : ""); /* Shebang support. */
1 0 duk_push_string(ctx, (src[0] == '#' && src[1] == '!') ? "//" : ""); /* Shebang support. */