Branch Coverage

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


line true false branch
560 0 0 if ($result) { }
568 0 0 unless exists $data->{'applications'}{$obj->{'name'}}
575 0 0 unless $state
576 0 0 unless $result
583 0 0 unless exists $sub_obj->{$field}
585 0 0 unless exists $data->{$target}{$name}
592 0 0 if (exists $sub_obj->{'machineId'})
597 0 0 if (exists $sub_obj->{'tierId'})
599 0 0 if exists $sub_obj->{'machineId'}
603 0 0 if ($total == 0)
658 0 0 unless defined $app
660 0 0 if (keys %args == 0)
725 0 0 unless $result
740 0 0 unless $state
741 0 0 unless ($result)
749 0 0 unless exists $resolved->{$entity_id}
753 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') { }
755 0 0 unless exists $target->{'tierId'}
756 0 0 unless $target->{'tierId'} == $tier_id
760 0 0 unless $target->{'applicationId'} == $app_id
764 0 0 unless $target->{'id'} == $id
768 0 0 unless exists $obj->{$key}
769 0 0 unless exists $target->{$key}
770 0 0 unless $obj->{$key} == $target->{$key}
778 0 0 unless --$total == 0
785 0 0 unless exists $obj->{$key}
788 0 0 if (exists $cache->{'id_map'}{$id})
882 0 0 unless $result
890 0 0 if (exists $cache->{$type}) { }
891 0 0 if (exists $cache->{$type}{$name}) { }
897 0 0 if $#{$data;} == -1
943 0 0 if (not $force and $self->data_cache->{'created_on'} > $max) { }
951 0 0 unless $result
992 0 0 if ($count++ == 0) { }
1046 0 0 if ($result) { }
1050 0 0 if $@
1082 0 0 unless $self->use_oauth
1085 0 0 if ($self->token->{'expires'} <= time) { }
1093 0 0 if $self->{'_do_oauth'}