line |
true |
false |
branch |
40
|
0 |
0 |
PerlIO_printf(PerlIO_stderr(), "duktape fatal error, aborting: %s\n", msg ? msg : "*NONE*"); |
46
|
0 |
263 |
if (duk->inited) { |
52
|
0 |
263 |
if (!duk->ctx) { |
56
|
1 |
262 |
TIMEOUT_RESET(duk); |
76
|
0 |
263 |
if (!duk->inited) { |
94
|
6 |
146 |
if (opt) { |
101
|
6 |
6 |
if (!entry) { |
105
|
6 |
0 |
if (!kstr || klen < 0) { |
|
0 |
6 |
if (!kstr || klen < 0) { |
109
|
0 |
6 |
if (!value) { |
112
|
2 |
4 |
if (memcmp(kstr, DUK_OPT_NAME_GATHER_STATS, klen) == 0) { |
113
|
2 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
2 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
2 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
2 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
2 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
2 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
1 |
1 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
1 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
1 |
1 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_GATHER_STATS : 0; |
116
|
2 |
2 |
if (memcmp(kstr, DUK_OPT_NAME_SAVE_MESSAGES, klen) == 0) { |
117
|
2 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
2 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
2 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
2 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
2 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
2 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
1 |
1 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
1 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
1 |
1 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
|
0 |
0 |
duk->flags |= SvTRUE(value) ? DUK_OPT_FLAG_SAVE_MESSAGES : 0; |
120
|
1 |
1 |
if (memcmp(kstr, DUK_OPT_NAME_MAX_MEMORY_BYTES, klen) == 0) { |
121
|
1 |
0 |
size_t param = SvIV(value); |
125
|
1 |
0 |
if (memcmp(kstr, DUK_OPT_NAME_MAX_TIMEOUT_US, klen) == 0) { |
126
|
1 |
0 |
double param = SvIV(value); |
127
|
0 |
1 |
duk->max_timeout_us = param > MAX_TIMEOUT_MINIMUM ? param : MAX_TIMEOUT_MINIMUM; |
194
|
0 |
1001093 |
TIMEOUT_RESET(duk); |
207
|
0 |
60 |
TIMEOUT_RESET(duk); |
220
|
0 |
20 |
TIMEOUT_RESET(duk); |
233
|
0 |
12 |
TIMEOUT_RESET(duk); |
246
|
0 |
2102 |
TIMEOUT_RESET(duk); |
259
|
0 |
8 |
TIMEOUT_RESET(duk); |
269
|
1 |
2000083 |
TIMEOUT_RESET(duk); |
278
|
0 |
3 |
TIMEOUT_RESET(duk); |
287
|
1 |
0 |
if (!duk->version) { |
298
|
0 |
1 |
TIMEOUT_RESET(duk); |
310
|
0 |
18 |
TIMEOUT_RESET(duk); |