Branch Coverage

blib/lib/Net/SolarWinds/REST.pm
Criterion Covered Total %
branch 3 74 4.0


line true false branch
149 0 15 if exists $args{$key}
174 0 0 if (defined $data)
206 0 0 unless defined $start
207 0 0 unless defined $end
208 0 0 unless defined $state
257 0 0 if ($response->is_success) { }
258 0 0 if ($content =~ /^\s*[\[\{]/s) { }
260 0 0 if ($@) { }
321 0 0 unless ($result)
352 0 0 if ($caption =~ s/\s\\x\{b7\}.*$//s > 0) { }
412 0 0 if ($data) { }
440 1 0 defined $_ ? :
470 0 1 unless $self->can($constant)
491 0 0 unless $result
519 0 0 if ($data) { }
548 0 0 if (ref $sql and ref $sql eq 'HASH') { }
664 0 0 unless ($result)
769 0 0 unless (exists $args{'IPAddress'})
776 0 0 unless exists $args{'IPAddressGUID'}
777 0 0 unless exists $args{'Caption'}
799 0 0 unless ($result)
805 0 0 unless ($#{$result->get_data->{'results'};} > -1)
843 0 0 if (my $result = $self->getNodeUri($node_id)) { }
885 0 0 unless defined $cred_id
893 0 0 unless ($result)
899 0 0 if ($result->get_data == -1)
923 0 0 unless ($result)
946 0 0 if (scalar keys %args == 0) { }
995 0 0 unless ($result)
1060 0 0 unless ($result)
1109 0 0 unless $result
1125 0 0 unless ($result)
1135 0 0 $#{$list;} > -1 ? :
1172 0 0 unless defined $type
1177 0 0 unless ($result)
1187 0 0 unless $result
1205 0 0 if (scalar keys %args == 0) { }