| lib/JavaScript/Duktape.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 36 | 72.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 281 | 0 | 0 | 68 | $self->{'pid'} and $self->{'pid'} == $$ |
| 372 | 3 | 19 | 1 | $v and $stash->{$v} |
| line | l | !l | condition |
|---|---|---|---|
| 136 | 6 | 65 | $options{'max_memory'} || 0 |
| 137 | 2 | 69 | $options{'timeout'} || 0 |
| 336 | 52 | 147022 | shift() || {} |
| 433 | 1246 | 11064 | shift() || {} |
| 548 | 13 | 256 | shift() || -1 |
| 585 | 270 | 2 | shift() || -1 |
| 650 | 2 | 0 | shift() || 0 |
| 685 | 2 | 2 | shift() || 'Duktape' |
| 686 | 0 | 4 | shift() || \*STDOUT |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 845 | 379 | 0 | 143 | $type == 6 or $type == 7 |
| 876 | 384 | 0 | 0 | shift() || $heapptr |
| 922 | 205 | 0 | 310 | $type == 6 or $type == 7 |
| 945 | 0 | 239 | 0 | $options->{'constructor'} || $heapptr |