Branch Coverage

blib/lib/Net/SolarWinds/REST/Batch.pm
Criterion Covered Total %
branch 0 170 0.0


line true false branch
127 0 0 unless defined $allow_failure
134 0 0 unless ($result)
144 0 0 if (exists $info->{'interfaces'})
146 0 0 unless ($result)
150 0 0 unless $allow_failure
156 0 0 if (exists $info->{'custom_properties'})
158 0 0 unless ($result)
162 0 0 unless $allow_failure
167 0 0 if (exists $info->{'node_pollers'})
169 0 0 unless ($result)
173 0 0 unless $allow_failure
178 0 0 if (exists $info->{'volumes'})
180 0 0 unless ($result)
184 0 0 unless $allow_failure
189 0 0 if (exists $info->{'templates'})
191 0 0 unless ($result)
195 0 0 unless $allow_failure
222 0 0 if ($id =~ /^\d+$/) { }
0 0 elsif ($id =~ /\d\.\d/) { }
233 0 0 unless ($result)
240 0 0 if ($#{$list;} == -1)
261 0 0 unless defined $state
264 0 0 unless $result
285 0 0 unless $result
295 0 0 unless $result
302 0 0 unless $result
308 0 0 $res ? :
314 0 0 unless defined $value
318 0 0 $res ? :
329 0 0 unless $result
334 0 0 $res ? :
344 0 0 unless $result
350 0 0 unless defined $value
354 0 0 unless $result
389 0 0 unless defined $type
393 0 0 unless ($result)
405 0 0 if defined $type and $type ne $poller->{'NetObjectType'}
426 0 0 unless ($result)
436 0 0 unless exists $hash->{$id}
487 0 0 unless ($result)
499 0 0 if (exists $map->{$id}{$poller})
504 0 0 unless ($result)
547 0 0 unless ($result)
556 0 0 unless ($result)
568 0 0 unless ref $vol and ref $vol eq 'HASH'
572 0 0 if (exists $vol_map->{$path}) { }
589 0 0 unless ($result)
602 0 0 if (exists $vol->{'pollers'} and ref $vol->{'pollers'} eq 'ARRAY')
606 0 0 if ($result) { }
640 0 0 if (@templates)
642 0 0 unless $result
650 0 0 unless $result
700 0 0 unless ($result)
718 0 0 if (ref $obj eq 'HASH') { }
720 0 0 unless (exists $map->{$int})
728 0 0 if exists $obj->{'custom_props'} and ref $obj->{'custom_props'} eq 'HASH' and keys %{$$obj{'custom_props'};} != 0
729 0 0 if (exists $obj->{'pollers'} and ref $obj->{'pollers'} eq 'ARRAY') { }
0 0 elsif ($ref->{'InterfaceID'} != 0) { }
731 0 0 if ($#{$$obj{'pollers'};} != -1) { }
735 0 0 if ($ref->{'InterfaceID'} != 0)
743 0 0 if ($ref->{'InterfaceID'} != 0)
756 0 0 unless (exists $map->{$int})
761 0 0 if $ref->{'InterfaceID'} != 0
767 0 0 if ($#{$add_poller;} > -1)
769 0 0 unless $result
777 0 0 if ($#{$no_add_poller;} > -1)
779 0 0 unless $result
786 0 0 unless exists $map->{$int}
790 0 0 unless $result
796 0 0 unless exists $map->{$int}
798 0 0 unless $result
850 0 0 unless exists $args{'IPAddress'}
853 0 0 if ($result)
856 0 0 if ($DeleteIfExists) { }
859 0 0 unless ($result)
868 0 0 unless ($result)
877 0 0 if $key eq 'Status'
881 0 0 if (exists $existing->{$key} and defined $existing->{$key}) { }
889 0 0 if ($cmp ne $current)
901 0 0 if ($update)
903 0 0 unless ($result)
912 0 0 unless ($nodeID)
915 0 0 unless $result
936 0 0 unless $result
944 0 0 unless $result