Branch Coverage

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


line true false branch
521 0 0 if ($result) { }
529 0 0 unless exists $data->{'applications'}{$obj->{'name'}}
536 0 0 unless $state
537 0 0 unless $result
544 0 0 unless exists $sub_obj->{$field}
546 0 0 unless exists $data->{$target}{$name}
553 0 0 if (exists $sub_obj->{'machineId'})
558 0 0 if (exists $sub_obj->{'tierId'})
560 0 0 if exists $sub_obj->{'machineId'}
564 0 0 if ($total == 0)
619 0 0 unless defined $app
621 0 0 if (keys %args == 0)
686 0 0 unless $result
701 0 0 unless $state
702 0 0 unless ($result)
710 0 0 unless exists $resolved->{$entity_id}
714 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') { }
716 0 0 unless exists $target->{'tierId'}
717 0 0 unless $target->{'tierId'} == $tier_id
721 0 0 unless $target->{'applicationId'} == $app_id
725 0 0 unless $target->{'id'} == $id
729 0 0 unless exists $obj->{$key}
730 0 0 unless exists $target->{$key}
731 0 0 unless $obj->{$key} == $target->{$key}
739 0 0 unless --$total == 0
746 0 0 unless exists $obj->{$key}
749 0 0 if (exists $cache->{'id_map'}{$id})
843 0 0 unless $result
851 0 0 if (exists $cache->{$type}) { }
852 0 0 if (exists $cache->{$type}{$name}) { }
858 0 0 if $#{$data;} == -1
904 0 0 if (not $force and $self->data_cache->{'created_on'} > $max) { }
912 0 0 unless $result
953 0 0 if ($count++ == 0) { }