| lib/JavaScript/Duktape.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 36 | 72.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 281 | 0 | 0 | 71 | $self->{'pid'} and $self->{'pid'} == $$ |
| 380 | 5 | 23 | 1 | $v and $stash->{$v} |
| line | l | !l | condition |
|---|---|---|---|
| 136 | 6 | 68 | $options{'max_memory'} || 0 |
| 137 | 2 | 72 | $options{'timeout'} || 0 |
| 344 | 58 | 198311 | shift() || {} |
| 449 | 1246 | 11095 | shift() || {} |
| 564 | 12 | 259 | shift() || -1 |
| 601 | 272 | 2 | shift() || -1 |
| 666 | 2 | 0 | shift() || 0 |
| 701 | 2 | 1 | shift() || 'Duktape' |
| 702 | 0 | 3 | shift() || \*STDOUT |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 864 | 379 | 0 | 143 | $type == 6 or $type == 7 |
| 895 | 384 | 0 | 0 | shift() || $heapptr |
| 941 | 205 | 0 | 310 | $type == 6 or $type == 7 |
| 964 | 0 | 239 | 0 | $options->{'constructor'} || $heapptr |