Branch Coverage

blib/lib/Email/ExactTarget/SubscriberOperations.pm
Criterion Covered Total %
branch 0 112 0.0


line true false branch
70 0 0 unless defined $exact_target and $exact_target->isa('Email::ExactTarget')
210 0 0 unless defined $email
213 0 0 unless Data::Validate::Type::is_arrayref($email)
216 0 0 if scalar @$email == 0
222 0 0 if scalar @$email == 1
266 0 0 if defined $soap_response->fault
269 0 0 unless defined $soap_success and $soap_success eq 'OK'
277 0 0 unless defined $$soap_object{'Attributes'}
280 0 0 unless defined $$soap_object{'ID'}
335 0 0 if scalar keys %args != 0
339 0 0 unless Data::Validate::Type::is_arrayref($subscribers)
341 0 0 if scalar @$subscribers == 0
343 0 0 if (defined $list_ids)
345 0 0 unless Data::Validate::Type::is_arrayref($list_ids)
347 0 0 if scalar @$list_ids == 0
357 0 0 scalar @emails == 1 ? :
0 0 scalar @emails == 1 ? :
375 0 0 if (defined $list_ids)
377 0 0 scalar @$list_ids == 1 ? :
0 0 scalar @$list_ids == 1 ? :
396 0 0 if (defined $list_id_filter) { }
448 0 0 if defined $soap_response->fault
451 0 0 unless defined $soap_success and $soap_success eq 'OK'
513 0 0 unless defined $subscribers
515 0 0 unless Data::Validate::Type::is_arrayref($subscribers)
517 0 0 if scalar @$subscribers == 0
568 0 0 if defined $soap_response->fault
571 0 0 unless defined $soap_success and $soap_success eq 'OK'
594 0 0 if ($$deletion_result{'StatusCode'} ne 'OK')
603 0 0 unless ($subscriber->flag_as_deleted_permanently)
645 0 0 unless defined $subscribers
647 0 0 unless Data::Validate::Type::is_arrayref($subscribers)
649 0 0 if scalar @$subscribers == 0
659 0 0 unless $subscriber->is_deleted_permanently
661 0 0 $verbose ? :
667 0 0 if (defined $args{'options'})
676 0 0 if ($args{'soap_action'} eq 'Create') { }
750 0 0 if defined $soap_response->fault
753 0 0 defined $soap_success && $soap_success eq 'OK' ? :
765 0 0 $args{'soap_action'} eq 'Create' ? :
773 0 0 if ($$update_details{'StatusCode'} ne 'OK')
780 0 0 if (defined $$update_details{'Object'}{'ID'})
782 0 0 if (defined $subscriber->id) { }
784 0 0 if $subscriber->id != $$update_details{'Object'}{'ID'}
795 0 0 if (defined $$update_details{'Object'}{'Attributes'})
797 0 0 Data::Validate::Type::is_arrayref($$update_details{'Object'}{'Attributes'}) ? :
807 0 0 if (defined $$update_details{'Object'}{'Lists'})
809 0 0 Data::Validate::Type::is_arrayref($$update_details{'Object'}{'Lists'}) ? :
824 0 0 if (scalar keys %$attributes_remaining != 0)
829 0 0 if (scalar keys %$lists_remaining != 0)
860 0 0 unless defined $status_current
863 0 0 unless defined $status_staged
869 0 0 defined $$status_current{$list_id} ? :
905 0 0 unless defined $attributes
908 0 0 if ($self->exact_target->unaccent)
912 0 0 unless defined $$attributes{$attribute}