Branch Coverage

duk_console.c
Criterion Covered Total %
branch 15 24 62.5


line true false branch
32 35 0 if (console_config.handler) {
55 47 23 for (i = 0; i < n; i++) {
56 16 31 if (duk_check_type_mask(ctx, i, DUK_TYPE_MASK_OBJECT)) {
71 7 16 if (error_name) {
84 1 1 if (duk_to_boolean(ctx, 0)) {
131 0 269 if ((flags & DUK_CONSOLE_TO_STDOUT) &&
0 0 if ((flags & DUK_CONSOLE_TO_STDOUT) &&
157 269 0 if (!(flags & DUK_CONSOLE_TO_STDOUT) &&
269 0 if (!(flags & DUK_CONSOLE_TO_STDOUT) &&
169 269 0 if (!(flags & DUK_CONSOLE_TO_STDOUT) &&
269 0 if (!(flags & DUK_CONSOLE_TO_STDOUT) &&
187 269 0 if (flags & DUK_CONSOLE_PROXY_WRAPPER) {