Branch Coverage

lib/Webservice/OVH/Email/Domain/Domain/MailingList.pm
Criterion Covered Total %
branch 0 148 0.0


line true false branch
58 0 0 unless $params{'module'}
59 0 0 unless $params{'wrapper'}
60 0 0 unless $params{'id'}
61 0 0 unless $params{'domain'}
68 0 0 unless $mailing_list_name
96 0 0 unless $params{'module'}
97 0 0 unless $params{'wrapper'}
98 0 0 unless $params{'domain'}
106 0 0 unless $domain
108 0 0 if (my(@missing_parameters) = grep({not exists $params{$_};} @keys_needed))
118 0 0 $moderator_message eq 'true' || $moderator_message eq 'yes' || $moderator_message eq '1' ? :
119 0 0 $subscribe_by_moderator eq 'true' || $subscribe_by_moderator eq 'yes' || $subscribe_by_moderator eq '1' ? :
120 0 0 $users_post_only eq 'true' || $users_post_only eq 'yes' || $users_post_only eq '1' ? :
128 0 0 if exists $params{'reply_to'}
130 0 0 if $response->error
202 0 0 unless $self->{'_properties'}
203 0 0 unless $self->{'_valid'}
248 0 0 unless $self->{'_valid'}
254 0 0 if $response->error
256 0 0 if ($response->error) { }
287 0 0 unless $self->{'_properties'}
288 0 0 unless $self->{'_valid'}
311 0 0 unless $self->{'_properties'}
312 0 0 unless $self->{'_valid'}
335 0 0 unless $self->{'_properties'}
336 0 0 unless $self->{'_valid'}
359 0 0 unless $self->{'_properties'}
360 0 0 unless $self->{'_valid'}
383 0 0 unless $self->{'_properties'}
384 0 0 unless $self->{'_valid'}
410 0 0 unless $self->{'_properties'}
411 0 0 unless $self->{'_valid'}
434 0 0 unless $self->{'_valid'}
440 0 0 if exists $params{'language'}
441 0 0 if exists $params{'owner_email'}
442 0 0 if exists $params{'reply_to'}
444 0 0 if $response->error
465 0 0 unless $self->{'_valid'}
471 0 0 if $response->error
499 0 0 unless $self->{'_valid'}
503 0 0 if (my(@missing_parameters) = grep({not exists $params{$_};} @keys_needed))
512 0 0 if exists $params{'moderator_message'}
513 0 0 if exists $params{'subscribe_by_moderator'}
514 0 0 if exists $params{'users_post_only'}
516 0 0 if $response->error
544 0 0 unless $self->{'_valid'}
550 0 0 if $response->error
575 0 0 unless $self->{'_valid'}
577 0 0 unless $email
583 0 0 if $response->error
606 0 0 unless $self->{'_valid'}
608 0 0 unless $email
615 0 0 if $response->error
642 0 0 unless $self->{'_valid'}
644 0 0 unless $email
650 0 0 if $response->error
677 0 0 unless $self->{'_valid'}
679 0 0 unless $email
686 0 0 if $response->error
714 0 0 unless $self->{'_valid'}
716 0 0 $email ? :
724 0 0 if $response->error
749 0 0 unless $self->{'_valid'}
751 0 0 unless $email
758 0 0 if $response->error
781 0 0 unless $self->{'_valid'}
783 0 0 unless $email
790 0 0 if $response->error
817 0 0 unless $self->{'_valid'}
819 0 0 unless $email
825 0 0 if $response->error
851 0 0 unless $self->{'_valid'}
858 0 0 if $response->error
862 0 0 unless scalar @$taks