Branch Coverage

blib/lib/Mail/Bulkmail/Dynamic.pm
Criterion Covered Total %
branch 0 118 0.0


line true false branch
833 0 0 if (ref $data eq 'HASH') { }
836 0 0 if ($$data{'BULK_EMAIL'}) { }
869 0 0 if (ref $data eq 'HASH')
872 0 0 if ($$data{'BULK_SENDER'})
900 0 0 if (ref $data eq 'HASH')
903 0 0 if ($$data{'BULK_REPLYTO'})
944 0 0 if (ref $data eq 'HASH' and $$data{'BULK_DYNAMIC_HEADERS'})
950 0 0 unless defined $val and $val =~ /\S/
952 0 0 if $$set{$key}++
960 0 0 unless ($$set{'From'})
961 0 0 if (my $from = $self->From) { }
969 0 0 if not $$set{'Subject'} and defined $self->Subject and $self->Subject =~ /\S/
971 0 0 unless ($$set{'To'})
972 0 0 if (my $to_hash = $self->extractEmail($data)) { }
982 0 0 if (not $$set{'Sender'} and defined $sender_hash)
987 0 0 if (not $$set{'ReplyTo'} and defined $reply_to_hash)
992 0 0 unless $$set{'Precedence'}
995 0 0 unless ($$self{'Content-type'})
996 0 0 if ($self->_headers->{'Content-type'}) { }
1000 0 0 if ($self->HTML) { }
1011 0 0 if $key eq 'Content-type'
1014 0 0 unless defined $val and $val =~ /\S/
1016 0 0 if $$set{$key}++
1022 0 0 if ($self->global_merge)
1029 0 0 $self->quotemeta ? :
1035 0 0 if (ref $data eq 'HASH')
1040 0 0 if ref $$data{$key}
1042 0 0 $self->quotemeta ? :
1084 0 0 if (ref $data eq 'HASH' and $$data{'BULK_DYNAMIC_MESSAGE'})
1090 0 0 $self->quotemeta ? :
1096 0 0 if ($self->global_merge)
1103 0 0 $self->quotemeta ? :
1109 0 0 if ($self->merge_keys or ref $data eq 'HASH')
1114 0 0 if ref $$data{$key}
1116 0 0 $self->quotemeta ? :
1131 0 0 unless $message =~ /\015\012$/
1157 0 0 if ($self->merge_keys)
1160 0 0 if ref $original ne 'HASH'
1164 0 0 if (ref $data eq 'HASH' and $self->dynamic_message_data)
1170 0 0 if (ref $data eq 'HASH' and $self->dynamic_header_data)
1203 0 0 if (ref $data eq 'HASH') { }
0 0 elsif (ref $data eq 'SCALAR') { }
0 0 elsif (ref $data eq 'ARRAY') { }
1215 0 0 unless @values == @{$self->merge_keys;}
1229 0 0 unless @$data == @{$self->merge_keys;}
1274 0 0 if (ref $data eq 'HASH') { }
0 0 elsif (ref $data eq 'SCALAR') { }
0 0 elsif (ref $data eq 'ARRAY') { }
1295 0 0 unless exists $self->dynamic_message_data->{$key}
1311 0 0 if (ref $pair) { }
1356 0 0 if (ref $data eq 'HASH') { }
0 0 elsif (ref $data eq 'SCALAR') { }
0 0 elsif (ref $data eq 'ARRAY') { }
1377 0 0 unless exists $self->dynamic_header_data->{$key}
1393 0 0 if (ref $pair) { }
1432 0 0 if ($self->log_all_data) { }
1433 0 0 ref $value eq 'HASH' ? :
1434 0 0 ref $v2 eq 'SCALAR' ? :
1437 0 0 ref $value eq 'HASH' ? :