line |
true |
false |
branch |
17
|
0 |
0 |
@_ % 2 ? : |
19
|
0 |
0 |
unless $args{'key'} |
30
|
0 |
0 |
unless my $captcha_id = $self->upload($file_or_content, %params) |
34
|
0 |
0 |
if ($text) |
40
|
0 |
0 |
if ($self->errstr =~ /CAPCHA_NOT_READY/) { } |
51
|
0 |
0 |
if (-e $file_or_content) |
52
|
0 |
0 |
unless open my $fh, '<', $file_or_content |
60
|
0 |
0 |
unless my $res = $self->request('url', 'http://2captcha.com/in.php', '__method', 'POST', 'method', 'base64', 'body', &encode_base64($file_or_content), %params) |
67
|
0 |
0 |
unless ($res =~ /OK/) |
78
|
0 |
0 |
unless my $res = $self->request('action', 'get', 'id', $id) |
79
|
0 |
0 |
unless ($res =~ /OK/) |
90
|
0 |
0 |
unless my $res = $self->request('action', 'get', 'ids', join(',', @ids)) |
91
|
0 |
0 |
wantarray ? : |
121
|
0 |
0 |
unless my $res = $self->request('url', 'http://2captcha.com/in.php', 'method', 'userrecaptcha', 'googlekey', $googlekey, 'pageurl', $pageurl) |
127
|
0 |
0 |
unless ($res =~ /OK/) |
143
|
0 |
0 |
if ($method eq 'POST') { } |
145
|
0 |
0 |
unless ($res->is_success) |
153
|
0 |
0 |
unless ($res->is_success) |