Branch Coverage

blib/lib/Mojo/Zabbix.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
28 0 0 if (ref $args->{$k} and &refaddr($args->{$k}) == &refaddr(\$required))
48 0 0 $args->{'debug'} ? :
0 0 $args->{'trace'} ? :
65 0 0 if @_
74 0 0 unless ($self->{'UserAgent'})
87 0 0 unless (defined $self->{'JSON'})
98 0 0 if @_
107 0 0 if @_
115 0 0 if (not defined $self->{'Auth'}) { }
0 0 elsif ($self->{'Auth'} eq '') { }
127 0 0 if defined $res->{'error'}
137 0 0 unless defined wantarray
148 0 0 if (defined $data->{'params'} and ref $data->{'params'} eq 'HASH' and exists $data->{'params'}{'password'})
158 0 0 if $self->{'Debug'}
161 0 0 if ref $data->{'params'} eq 'HASH' and exists $data->{'params'}{'password'}
169 0 0 if $self->{'Debug'}
201 0 0 if ($self->{'Trace'})
206 0 0 if ($params) { }
208 0 0 if &reftype($params) eq 'HASH' and not defined $params->{'output'} and $object . $op ne 'userlogin'
221 0 0 if $self->{'Debug'}
225 0 0 unless ($res->success)
227 0 0 if $err->{'code'}
232 0 0 if ($self->{'Trace'})
238 0 0 if $self->{'Debug'}