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
537 0 0 if ($data) { }
566 0 0 if (ref $sql and ref $sql eq 'HASH') { }
682 0 0 unless ($result)
787 0 0 unless (exists $args{'IPAddress'})
794 0 0 unless exists $args{'IPAddressGUID'}
795 0 0 unless exists $args{'Caption'}
818 0 0 unless ($result)
824 0 0 unless ($#{$result->get_data->{'results'};} > -1)
862 0 0 if (my $result = $self->getNodeUri($node_id)) { }
904 0 0 unless defined $cred_id
912 0 0 unless ($result)
918 0 0 if ($result->get_data == -1)
942 0 0 unless ($result)
965 0 0 if (scalar keys %args == 0) { }
1014 0 0 unless ($result)
1079 0 0 unless ($result)
1128 0 0 unless $result
1145 0 0 unless ($result)
1155 0 0 $#{$list;} > -1 ? :
1192 0 0 unless defined $type
1197 0 0 unless ($result)
1207 0 0 unless $result
1225 0 0 if (scalar keys %args == 0) { }