blib/lib/MozRepl/RemoteObject.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 63 | 15.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
678 | 0 | 0 | 0 | $self->{'use_queue'} and $self->queue |
0 | 0 | 0 | $self->{'use_queue'} and $self->queue and @{$self->queue;} | |
895 | 0 | 0 | 0 | exists $self->{'callbacks'}{$cbid} and my $cb = $self->{'callbacks'}{$cbid}{'callback'} |
line | l | !l | condition |
---|---|---|---|
271 | 0 | 0 | $data->{'type'} || '' |
408 | 0 | 24 | delete $options{'repl_class'} || $ENV{'MOZREPL_CLASS'} || 'MozRepl' |
412 | 0 | 25 | $options{'constants'} ||= {} |
413 | 0 | 25 | $options{'log'} ||= ['error'] |
414 | 0 | 25 | $options{'queue'} ||= [] |
415 | 0 | 25 | $options{'bufsize'} ||= 10240000 |
416 | 6 | 19 | $options{'use_queue'} ||= 0 |
419 | 0 | 25 | $options{'max_queue_size'} ||= 1000 |
421 | 0 | 25 | $options{'command_sep'} ||= "\n--end-remote-input\n" |
503 | 0 | 0 | $options{'js_JSON'} ||= 'native' |
505 | 0 | 0 | $options{'js_JSON'} ||= 'json2; Transport not UTF-8-safe' |
809 | 0 | 0 | $context ||= '' |
1172 | 0 | 0 | $self->__release_action || '' |
1550 | 0 | 0 | $tied->{'__keys'} ||= [$tied->{'impl'}->__keys] |
1653 | 0 | 0 | $from ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
407 | 0 | 0 | 25 | $options{'repl'} ||= $ENV{'MOZREPL'} |
497 | 0 | 0 | 0 | $options{'js_JSON'} ||= "json2; No native JSON object found ($version)" |
499 | 0 | 0 | 0 | lc $have_native eq '"\\u30bd"' or $have_native eq qq["\343\202\275"] |
527 | 0 | 0 | 0 | $options{'json'} ||= 'JSON'->new->allow_nonref->ascii |
554 | 0 | 0 | 0 | $options{'repl'} ||= $self->repl |
556 | 0 | 0 | 0 | $options{'command_sep'} ||= $self->command_sep |
1521 | 0 | 0 | 0 | ref $package || $package |
1654 | 0 | 0 | 0 | $count ||= $obj->{'length'} |