| line |
true |
false |
branch |
|
63
|
0 |
8 |
if ($self->verify_hostname == 0) |
|
67
|
0 |
8 |
if ($self->ssl_opts) |
|
99
|
0 |
6 |
if ($response_content->{'error'}) { } |
|
122
|
1 |
6 |
if ($self->version lt '6.0') { } |
|
139
|
0 |
7 |
unless my $content = &decode_json($response->{'_content'}) |
|
141
|
1 |
6 |
if ($content->{'error'}) |
|
156
|
1 |
13 |
if (not $response->{'_rc'} =~ /2\d\d/) |
|
168
|
6 |
7 |
if ($method) |
|
172
|
3 |
3 |
if (scalar @args == 1) { } |
|
180
|
9 |
4 |
unless ($self->{'zabbix_method'} eq "apiinfo.version") |
|
181
|
1 |
8 |
unless $self->auth |
|
183
|
0 |
13 |
unless ($self->zabbix_method) |
|
192
|
9 |
4 |
unless ($self->{'zabbix_method'} eq "apiinfo.version") |
|
195
|
0 |
13 |
unless $self->{'json_prepared'} = &encode_json(scalar $self->request) |
|
205
|
1 |
6 |
if ($self->post_response->{'_content'} eq "") |
|
218
|
5 |
2 |
if ($method) |
|
222
|
1 |
5 |
if ($self->{'last_response'}{'error'}) { } |
|
224
|
1 |
0 |
if (not $self->{'redo'} and $error eq 'Session terminated, re-login, please.') { } |
|
237
|
1 |
4 |
if $self->redo |
|
250
|
2 |
7 |
unless $ua |