Condition Coverage

blib/lib/MozRepl/RemoteObject.pm
Criterion Covered Total %
condition 11 63 17.4


and 3 conditions

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;}
892 0 0 0 exists $$self{'callbacks'}{$cbid} and my $cb = $$self{'callbacks'}{$cbid}{'callback'}

or 2 conditions

line l !l condition
271 0 0 $$data{'type'} || ''
408 1 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 ||= ''
1167 0 0 $self->__release_action || ''
1546 0 0 $$tied{'__keys'} ||= [$$tied{'impl'}->__keys]
1649 0 0 $from ||= 0

or 3 conditions

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
1517 0 0 0 ref $package || $package
1650 0 0 0 $count ||= $$obj{'length'}