line |
!l |
l&&!r |
l&&r |
condition |
66
|
40 |
0 |
3 |
not $agent and $operator |
144
|
43 |
0 |
0 |
$host =~ m[^(http|https)(://)?] and not $protocol |
152
|
43 |
0 |
0 |
defined $self->{'host'} and $self->{'host'} ne $host |
|
43 |
0 |
0 |
defined $self->{'path'} and $self->{'path'} ne $path |
|
43 |
0 |
0 |
defined $self->{'protocol'} and $self->{'protocol'} ne $protocol |
226
|
0 |
0 |
0 |
$self->{'debug'} > 1 and not $sul_success |
282
|
0 |
0 |
0 |
defined $res->{'login'}{'lgusername'} && defined $res->{'login'}{'result'} && $res->{'login'}{'lgusername'} eq $self->{'username'} && $res->{'login'}{'result'} eq 'Success' |
323
|
0 |
0 |
0 |
$debug > 1 and not $success |
397
|
1 |
0 |
0 |
defined $captcha_id and not defined $captcha_solution |
|
1 |
0 |
0 |
defined $captcha_solution and not defined $captcha_id |
432
|
0 |
0 |
0 |
$res->{'edit'}{'result'} and $res->{'edit'}{'result'} eq 'Failure' |
592
|
4 |
0 |
0 |
length $revisions < 150 and $revisions =~ /\#REDIRECT\s\[\[([^\[\]]+)\]\]/ |
617
|
0 |
2 |
0 |
defined $v and $v =~ /\#REDIRECT\s\[\[([^\[\]]+)\]\]/ |
817
|
0 |
0 |
2 |
defined $filter and $filter =~ /(all|redirects|nonredirects)/ |
854
|
0 |
0 |
2 |
defined $filter and $filter =~ /(all|redirects|nonredirects)/ |
970
|
1 |
0 |
1 |
defined $options and $options->{'max'} == '0' |
1084
|
2 |
0 |
1 |
defined $filter and $filter =~ /(all|redirects|nonredirects)/ |
1127
|
3 |
0 |
0 |
$cont and $self->{'debug'} > 1 |
1266
|
0 |
3 |
1 |
exists $options->{'max'} and $options->{'max'} == 0 |
1448
|
0 |
2 |
0 |
exists $opts->{'max'} and $opts->{'max'} == 0 |
1555
|
1 |
0 |
0 |
defined $filter and $filter =~ /(all|redirects|nonredirects)/ |
1559
|
0 |
0 |
1 |
not defined $ns and $prefix =~ /:/ |
1815
|
0 |
0 |
0 |
$self->{'error'}{'details'} and $self->{'error'}{'details'} =~ /^(?:permissiondenied|badtoken)/ |
1922
|
0 |
0 |
0 |
not defined $data and defined $args->{'file'} |
2045
|
0 |
0 |
0 |
defined $error && ref $error eq 'HASH' && exists $error->{'code'} && exists $error->{'details'} |
2109
|
0 |
0 |
0 |
$has_bot and not $is_sysop |
line |
l |
!l |
condition |
85
|
0 |
43 |
$debug || 0 |
138
|
0 |
43 |
$self->{'protocol'} || 'https' |
139
|
0 |
1 |
$self->{'host'} || 'en.wikipedia.org' |
140
|
0 |
42 |
$self->{'path'} || 'w' |
186
|
0 |
1 |
$_[0]{'do_sul'} || 0 |
476
|
2 |
0 |
shift() || 'max' |
706
|
2 |
1 |
$user || '' |
726
|
1 |
0 |
shift() || 'max' |
784
|
2 |
1 |
shift() || 0 |
785
|
2 |
1 |
shift() || 50 |
1256
|
2 |
2 |
shift() || 'max' |
1345
|
1 |
0 |
shift() || 'max' |
1437
|
2 |
0 |
shift() || 'max' |
1469
|
3 |
3 |
$self->{'sitematrix'}{$w} || undef |
1477
|
0 |
0 |
$self->{'sitematrix'}{$wiki} || undef |
1496
|
3 |
3 |
$self->{'sitematrix'}{$w} || undef |
1503
|
0 |
0 |
$self->{'sitematrix'}{$wiki} || undef |
1592
|
0 |
2 |
shift() || 0 |
1941
|
0 |
0 |
$self->{'api'}->edit({'action', 'upload', 'filename', $filename, 'comment', $args->{'summary'}, 'file', [undef, $filename, 'Content', $data]}) || (return $self->_handle_api_error) |
1966
|
0 |
0 |
$self->{'api'}->edit({'action', 'upload', 'filename', $filename, 'comment', $args->{'summary'}, 'url', $url, 'ignorewarnings', 1}) || (return $self->_handle_api_error) |
2012
|
1 |
0 |
shift() || 'Main Page' |
2013
|
0 |
1 |
shift() || 'csrf' |
2053
|
0 |
0 |
$self->_whoami || (return $self->_handle_api_error) |
line |
l |
!l&&r |
!l&&!r |
condition |
66
|
40 |
3 |
0 |
$agent || $operator |
152
|
0 |
0 |
43 |
defined $self->{'host'} and $self->{'host'} ne $host or defined $self->{'path'} and $self->{'path'} ne $path |
|
0 |
0 |
43 |
defined $self->{'host'} and $self->{'host'} ne $host or defined $self->{'path'} and $self->{'path'} ne $path or defined $self->{'protocol'} and $self->{'protocol'} ne $protocol |
270
|
0 |
1 |
0 |
-w $cookies or -w '.' |
397
|
0 |
0 |
1 |
defined $captcha_id and not defined $captcha_solution or defined $captcha_solution and not defined $captcha_id |
612
|
2 |
0 |
0 |
$$expand{$pieces[0]} || $pieces[0] |
648
|
0 |
0 |
0 |
@{$$pageref{'imageinfo'};}[0]->{'thumburl'} || @{$$pageref{'imageinfo'};}[0]->{'url'} |
661
|
0 |
0 |
0 |
shift() || "Reverting to old revision $revid" |
677
|
0 |
0 |
0 |
shift() || croak('No revid given') |
678
|
0 |
0 |
0 |
shift() || "Reverting revision #$revid" |
1815
|
0 |
0 |
0 |
not $res or $self->{'error'}{'details'} and $self->{'error'}{'details'} =~ /^(?:permissiondenied|badtoken)/ |
1930
|
0 |
0 |
0 |
defined $args->{'file'} or defined $args->{'title'} |
1936
|
0 |
0 |
0 |
$args->{'title'} || do {
require File::Basename;
File::Basename::basename($args->{'file'})
} |
1958
|
0 |
0 |
0 |
$args->{'title'} || do {
require File::Basename;
File::Basename::basename($url)
} |
2133
|
30 |
0 |
61 |
exists $special->{'private'} or exists $special->{'fishbowl'} |