| line |
!l |
l&&!r |
l&&r |
condition |
|
1051
|
0 |
0 |
0 |
$$self{'custom_header_observer'} and @headers |
|
1192
|
0 |
0 |
0 |
@args <= 2 and ref $args[0] eq 'MozRepl::RemoteObject::Instance' |
|
1381
|
0 |
0 |
0 |
ref $events and ref $events eq 'CODE' |
|
1479
|
0 |
0 |
0 |
$scheme and $scheme =~ /^https?/ |
|
|
0 |
0 |
0 |
$scheme and $scheme =~ /^(file|data|about)\b/ |
|
2076
|
0 |
0 |
0 |
defined $self->ct && $self->ct eq 'text/html' |
|
2308
|
0 |
0 |
0 |
$single and exists $opts{'n'} |
|
2612
|
0 |
0 |
0 |
defined wantarray and not wantarray |
|
2638
|
0 |
0 |
0 |
not $zero_allowed and @res == 0 |
|
2643
|
0 |
0 |
0 |
not $two_allowed and @res > 1 |
|
2803
|
0 |
0 |
0 |
@res and $options{'return_first'} |
|
|
0 |
0 |
0 |
@res and $options{'return_first'} and grep {$$_{'resultSize'};} @res |
|
2808
|
0 |
0 |
0 |
$options{'frames'} and not $options{'node'} |
|
2954
|
0 |
0 |
0 |
ref $name and blessed $name |
|
|
0 |
0 |
0 |
ref $name and blessed $name and $name->can('__click') |
|
3502
|
0 |
0 |
0 |
ref $name and blessed $name |
|
|
0 |
0 |
0 |
ref $name and blessed $name and $name->can('__click') |
|
3907
|
0 |
0 |
0 |
$v = $self->is_visible($node) and !$timeout_after || time < $timeout_after |
|
3917
|
0 |
0 |
0 |
$node and time >= $timeout_after |
|
3981
|
0 |
0 |
0 |
not ref $spec || $spec =~ /\D/ and $spec == 1 |
| line |
l |
!l |
condition |
|
232
|
0 |
0 |
$args{'events'} ||= ['DOMContentLoaded', 'load', 'pageshow', 'pagehide', 'error', 'abort', 'stop'] |
|
237
|
0 |
0 |
$args{'on_event'} ||= undef |
|
238
|
0 |
0 |
$args{'pre_value'} ||= ['focus'] |
|
239
|
0 |
0 |
$args{'post_value'} ||= ['change', 'blur'] |
|
241
|
0 |
0 |
$args{'frames'} ||= 1 |
|
251
|
0 |
0 |
$args{'response'} ||= undef |
|
252
|
0 |
0 |
$args{'current_form'} ||= undef |
|
254
|
0 |
0 |
$args{'event_log'} ||= [] |
|
517
|
0 |
0 |
$env ||= {} |
|
914
|
0 |
0 |
$options{'charset'} ||= 'utf-8' |
|
915
|
0 |
0 |
$options{'headers'} ||= {} |
|
916
|
0 |
0 |
$options{'headers'}{'Content-Type'} ||= 'application/x-www-form-urlencoded' |
|
1252
|
0 |
0 |
$$element{'busy'} || 0 |
|
1554
|
0 |
0 |
$bypass_cache ||= 0 |
|
1703
|
0 |
0 |
$options{'format'} ||= 'html' |
|
1706
|
0 |
0 |
delete $options{'format'} || 'html' |
|
2311
|
0 |
0 |
delete $opts{'n'} || 1 |
|
2411
|
0 |
0 |
$opts{'n'} || '' |
|
2654
|
0 |
0 |
$$self{'XpathResultTypes'} ||= {'ANY_TYPE', $self->repl->constant('XPathResult.ANY_TYPE'), 'NUMBER_TYPE', $self->repl->constant('XPathResult.NUMBER_TYPE'), 'STRING_TYPE', $self->repl->constant('XPathResult.STRING_TYPE'), 'BOOLEAN_TYPE', $self->repl->constant('XPathResult.BOOLEAN_TYPE'), 'UNORDERED_NODE_ITERATOR_TYPE', $self->repl->constant('XPathResult.UNORDERED_NODE_ITERATOR_TYPE'), 'ORDERED_NODE_ITERATOR_TYPE', $self->repl->constant('XPathResult.ORDERED_NODE_ITERATOR_TYPE'), 'UNORDERED_NODE_SNAPSHOT_TYPE', $self->repl->constant('XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE'), 'ORDERED_NODE_SNAPSHOT_TYPE', $self->repl->constant('XPathResult.ORDERED_NODE_SNAPSHOT_TYPE'), 'ANY_UNORDERED_TYPE', $self->repl->constant('XPathResult.ANY_UNORDERED_NODE_TYPE'), 'FIRST_ORDERED_NODE_TYPE', $self->repl->constant('XPathResult.FIRST_ORDERED_NODE_TYPE')} |
|
2704
|
0 |
0 |
ref $query || '' |
|
2839
|
0 |
0 |
ref $query || '' |
|
2866
|
0 |
0 |
ref $query || '' |
|
2965
|
0 |
0 |
$options{'name'} || '' |
|
3436
|
0 |
0 |
'HASH' eq ref $value or '' |
|
|
0 |
0 |
'ARRAY' eq ref $value or '' |
|
3654
|
0 |
0 |
delete $options{'fields'} || {} |
|
3895
|
0 |
0 |
delete $options{'sleep'} || 0.3 |
|
3896
|
0 |
0 |
delete $options{'timeout'} || 0 |
|
4060
|
0 |
0 |
$rect ||= {} |
|
4061
|
0 |
0 |
$target_rect ||= {} |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
519
|
0 |
0 |
0 |
$doc ||= $self->document |
|
550
|
0 |
0 |
0 |
$window ||= $self->tab->{'linkedBrowser'}{'contentWindow'} |
|
1030
|
0 |
0 |
0 |
$$self{'custom_header_observer'} ||= $self->_custom_header_observer |
|
1076
|
0 |
0 |
0 |
$options{'tab'} ||= $self->tab |
|
1077
|
0 |
0 |
0 |
$options{'window'} ||= $self->application->getMostRecentWindow |
|
1078
|
0 |
0 |
0 |
$options{'events'} ||= $self->events |
|
1196
|
0 |
0 |
0 |
$$_[1] ||= $self->events |
|
1353
|
0 |
0 |
0 |
$STATE_STOP == $flags or ($flags & ($STATE_STOP | $STATE_IS_DOCUMENT)) == ($STATE_STOP | $STATE_IS_DOCUMENT) |
|
1358
|
0 |
0 |
0 |
$$self{'response'} ||= $request |
|
1587
|
0 |
0 |
0 |
$synchronize ||= @_ != 2 |
|
1611
|
0 |
0 |
0 |
$synchronize ||= @_ != 2 |
|
1705
|
0 |
0 |
0 |
delete $options{'document'} || $self->document |
|
1764
|
0 |
0 |
0 |
$d ||= $self->document |
|
2045
|
0 |
0 |
0 |
$base ||= $self->uri |
|
2179
|
0 |
0 |
0 |
$self->response('headers', 0)->message || sprintf('Got status code %d', $self->status) |
|
2307
|
0 |
0 |
0 |
delete $opts{'one'} || $single |
|
2328
|
0 |
0 |
0 |
$lefthand{$lvalue} || '@' . $lvalue |
|
2603
|
0 |
0 |
0 |
$single || $first || $maybe || $any |
|
2606
|
0 |
0 |
0 |
$single || $first |
|
2607
|
0 |
0 |
0 |
$single || $maybe |
|
2611
|
0 |
0 |
0 |
exists $options{'all'} or $return_first_element |
|
2630
|
0 |
0 |
0 |
$$_{'resultType'} == $$self{'XpathResultTypes'}{'ORDERED_NODE_SNAPSHOT_TYPE'} || $$_{'resultType'} == $$self{'XpathResultTypes'}{'UNORDERED_NODE_SNAPSHOT_TYPE'} || $$_{'resultType'} == $$self{'XpathResultTypes'}{'ORDERED_NODE_ITERATOR_TYPE'} || $$_{'resultType'} == $$self{'XpathResultTypes'}{'UNORDERED_NODE_ITERATOR_TYPE'} |
|
2639
|
0 |
0 |
0 |
$options{'user_info'} ||= $query |
|
2644
|
0 |
0 |
0 |
$options{'user_info'} ||= $query |
|
2709
|
0 |
0 |
0 |
$options{'document'} ||= $options{'node'}{'ownerDocument'} |
|
2712
|
0 |
0 |
0 |
$options{'document'} ||= $self->document |
|
2717
|
0 |
0 |
0 |
$options{'type'} ||= $$self{'XpathResult'}{'ANY_TYPE'} |
|
2719
|
0 |
0 |
0 |
$options{'user_info'} ||= join(' or ', map({"'${_}'";} @$query)) |
|
2793
|
0 |
0 |
0 |
$options{'node'} || $doc |
|
2838
|
0 |
0 |
0 |
$options{'user_info'} ||= "CSS selector '${query}'" |
|
2870
|
0 |
0 |
0 |
$options{'user_info'} ||= 'id ' . join(' or ', map({"'${_}'";} @$query)) . ' found' |
|
3065
|
0 |
0 |
0 |
$node ||= $self->xpath($xpath, 'node', $self->current_form, 'single', 1, 'user_message', $user_message) |
|
3344
|
0 |
0 |
0 |
delete $options{'pre'} || $$self{'pre_value'} |
|
3345
|
0 |
0 |
0 |
delete $options{'post'} || $$self{'post_value'} |
|
3582
|
0 |
0 |
0 |
$dom_form ||= $self->current_form |
|
3804
|
0 |
0 |
0 |
$options{'window'} ||= $self->tab->{'linkedBrowser'}{'contentWindow'} |
|
3907
|
0 |
0 |
0 |
!$timeout_after || time < $timeout_after |
|
3937
|
0 |
0 |
0 |
$rename{$meth} || $meth |
|
3977
|
0 |
0 |
0 |
$spec ||= $$self{'frames'} |
|
3979
|
0 |
0 |
0 |
$document ||= $self->document |
|
3981
|
0 |
0 |
0 |
ref $spec || $spec =~ /\D/ |
|
4059
|
0 |
0 |
0 |
$tab ||= $self->tab |