line |
true |
false |
branch |
59
|
0 |
6 |
if ($self->verify_hostname == 0) |
63
|
0 |
6 |
if ($self->ssl_opts) |
85
|
1 |
6 |
unless ($response->{'_rc'} =~ /2\d\d/) |
92
|
0 |
6 |
unless my $content = &decode_json($response->{'_content'}) |
94
|
1 |
5 |
if ($content->{'error'}) |
109
|
6 |
7 |
if ($method) |
113
|
3 |
3 |
if (scalar @args == 1) { } |
121
|
9 |
4 |
unless ($self->{'zabbix_method'} eq 'apiinfo.version') |
122
|
1 |
8 |
unless $self->auth |
124
|
0 |
13 |
unless ($self->zabbix_method) |
133
|
9 |
4 |
unless ($self->{'zabbix_method'} eq 'apiinfo.version') |
136
|
0 |
13 |
unless $self->{'json_prepared'} = &encode_json(scalar $self->request) |
146
|
1 |
6 |
if ($self->post_response->{'_content'} eq '') |
159
|
5 |
2 |
if ($method) |
163
|
1 |
5 |
if ($self->{'last_response'}{'error'}) { } |
165
|
1 |
0 |
if (not $self->{'redo'} and $error eq 'Session terminated, re-login, please.') { } |
178
|
1 |
4 |
if $self->redo |
191
|
2 |
5 |
unless $ua |