Branch Coverage

blib/lib/Net/AppDynamics/REST.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
636 0 0 if ($result) { }
644 0 0 unless exists $data->{'applications'}{$obj->{'name'}}
651 0 0 unless $state
652 0 0 unless $result
659 0 0 unless exists $sub_obj->{$field}
661 0 0 unless exists $data->{$target}{$name}
668 0 0 if (exists $sub_obj->{'machineId'})
673 0 0 if (exists $sub_obj->{'tierId'})
675 0 0 if exists $sub_obj->{'machineId'}
679 0 0 if ($total == 0)
734 0 0 unless defined $app
736 0 0 if (keys %args == 0)
801 0 0 unless $result
816 0 0 unless $state
817 0 0 unless ($result)
825 0 0 unless exists $resolved->{$entity_id}
829 0 0 if ($type eq 'tiers') { }
0 0 elsif ($type eq 'applications') { }
0 0 elsif ($type eq 'business_transactions') { }
0 0 elsif ($type eq 'nodes') { }
831 0 0 unless exists $target->{'tierId'}
832 0 0 unless $target->{'tierId'} == $tier_id
836 0 0 unless $target->{'applicationId'} == $app_id
840 0 0 unless $target->{'id'} == $id
844 0 0 unless exists $obj->{$key}
845 0 0 unless exists $target->{$key}
846 0 0 unless $obj->{$key} == $target->{$key}
854 0 0 unless --$total == 0
861 0 0 unless exists $obj->{$key}
864 0 0 if (exists $cache->{'id_map'}{$id})
958 0 0 unless $result
966 0 0 if (exists $cache->{$type}) { }
967 0 0 if (exists $cache->{$type}{$name}) { }
973 0 0 if $#{$data;} == -1
1019 0 0 if (not $force and $self->data_cache->{'created_on'} > $max) { }
1027 0 0 unless $result
1068 0 0 if ($count++ == 0) { }
1122 0 0 if ($result) { }
1126 0 0 if $@
1158 0 0 unless $self->use_oauth
1161 0 0 if ($self->token->{'expires'} <= time) { }
1169 0 0 if $self->{'_do_oauth'}