Branch Coverage

pl_sandbox.c
Criterion Covered Total %
branch 26 32 81.2


line true false branch
70 0 54667071 if (size == 0) {
74 9947 54657124 if (duk->max_allocated_bytes > 0 &&
15 9932 if (duk->max_allocated_bytes > 0 &&
81 0 54667056 if (!hdr) {
98 4009448 8046567 if (ptr) {
102 4 4009444 if (size == 0) {
108 35 4009409 if (duk->max_allocated_bytes > 0 &&
0 35 if (duk->max_allocated_bytes > 0 &&
115 0 4009444 if (!t) {
125 6044638 2001929 } else if (size == 0) {
128 6 2001923 if (duk->max_allocated_bytes > 0 &&
0 6 if (duk->max_allocated_bytes > 0 &&
135 0 2001929 if (!hdr) {
151 20156906 56668981 if (!ptr) {
164 2001918 6 if (duk->max_timeout_us <= 0) {
169 5 1 if (elapsed_us <= duk->max_timeout_us) {