Branch Coverage

blib/lib/WebService/2Captcha.pm
Criterion Covered Total %
branch 0 28 0.0


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
67 0 0 unless ($res =~ /OK/)
79 0 0 unless ($res =~ /OK/)
91 0 0 wantarray ? :
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)