Branch Coverage

blib/lib/Email/Sender/Server/Message.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
43 0 0 'HASH' eq ref $args[0] ? :
0 0 @args % 2 == 1 ? :
45 0 0 if ($args{'message'} and ref $args{'message'})
46 0 0 if (exists $args{'message'}{'message'})
48 0 0 if $_ eq 'message'
49 0 0 if $args{'message'}{$_}
54 0 0 unless $class->can($_)
69 0 0 if (-e $config)
72 0 0 unless 'HASH' eq ref $data
74 0 0 if $data and not $self->config
77 0 0 if $$data{'message'}{'to'} and not $self->to
80 0 0 if $$data{'message'}{'from'} and not $self->from
83 0 0 if $$data{'message'}{'subject'} and not $self->subject
86 0 0 if $$data{'message'}{'message'} and not $self->message
89 0 0 if $$data{'message'}{'type'} and not $self->type
92 0 0 if $$data{'message'}{'cc'} and not $self->cc
95 0 0 if $$data{'message'}{'bcc'} and not $self->bcc
98 0 0 if $$data{'message'}{'reply_to'} and not $self->reply_to
101 0 0 if $$data{'transport'} and not $self->transport
104 0 0 if $$data{'headers'} and not $self->headers
107 0 0 if $$data{'attachments'} and not $self->attachments
110 0 0 if $$data{'tags'} and not $self->tags
128 0 0 if $self->cc
131 0 0 if $self->bcc
134 0 0 if $self->reply_to
137 0 0 if $self->message
140 0 0 if $self->type
143 0 0 if $self->transport
148 0 0 if $self->headers
151 0 0 if $self->attachments
154 0 0 if $self->tags
162 0 0 unless my $mail = $self->to_hash
166 0 0 $$mail{'headers'} ? :
0 0 $$mail{'attachments'} ? :
171 0 0 if keys %$conf
176 0 0 $$mail{'transport'} ? :