Condition Coverage

blib/lib/Mail/Bulkmail/Dynamic.pm
Criterion Covered Total %
condition 0 85 0.0


and 3 conditions

line !l l&&!r l&&r condition
944 0 0 0 ref $data eq 'HASH' and $$data{'BULK_DYNAMIC_HEADERS'}
950 0 0 0 defined $val and $val =~ /\S/
969 0 0 0 not $$set{'Subject'} and defined $self->Subject
0 0 0 not $$set{'Subject'} and defined $self->Subject and $self->Subject =~ /\S/
982 0 0 0 not $$set{'Sender'} and defined $sender_hash
987 0 0 0 not $$set{'ReplyTo'} and defined $reply_to_hash
1014 0 0 0 defined $val and $val =~ /\S/
1084 0 0 0 ref $data eq 'HASH' and $$data{'BULK_DYNAMIC_MESSAGE'}
1164 0 0 0 ref $data eq 'HASH' and $self->dynamic_message_data
1170 0 0 0 ref $data eq 'HASH' and $self->dynamic_header_data

or 2 conditions

line l !l condition
947 0 0 $$data{'BULK_DYNAMIC_HEADERS'}{$key} || '_default'
992 0 0 $self->Precedence || 'list'
1028 0 0 $self->global_merge->{$key} || ''
1041 0 0 $$data{$key} || ''
1080 0 0 $self->Message || (return $self->error('Cannot build message w/o message', 'MBD012'))
1087 0 0 $$data{'BULK_DYNAMIC_MESSAGE'}{$key} || '_default'
1088 0 0 $self->dynamic_message_data->{$key}{$subkey} || ''
1102 0 0 $self->global_merge->{$key} || ''
1115 0 0 $$data{$key} || ''
1154 0 0 $self->SUPER::preprocess($data) || (return undef)
1159 0 0 $self->buildMergeHash($data) || (return undef)
1165 0 0 $self->SUPER::preprocess($$data{'BULK_DYNAMIC_MESSAGE'}) || (return undef)
1166 0 0 $self->buildDynamicMessageHash($$data{'BULK_DYNAMIC_MESSAGE'}) || (return undef)
1171 0 0 $self->SUPER::preprocess($$data{'BULK_DYNAMIC_HEADERS'}) || (return undef)
1172 0 0 $self->buildDynamicHeaderHash($$data{'BULK_DYNAMIC_HEADERS'}) || (return undef)
1210 0 0 CORE::quotemeta $self->merge_delimiter || (return $self->error('Cannot split without a merge_delimiter', 'MBD002'))
1281 0 0 CORE::quotemeta $self->dynamic_message_delimiter || (return $self->error('Cannot split without a dynamic_message_delimiter', 'MBD005'))
1284 0 0 CORE::quotemeta $self->dynamic_message_value_delimiter || (return $self->error('Cannot split without a dynamic_message_value_delimiter', 'MBD006'))
1315 0 0 CORE::quotemeta $self->dynamic_message_value_delimiter || (return $self->error('Cannot split without a dynamic_message_value_delimiter', 'MBD006'))
1352 0 0 shift() || {}
1363 0 0 CORE::quotemeta $self->dynamic_header_delimiter || (return $self->error('Cannot split without a dynamic_header_delimiter', 'MBD008'))
1366 0 0 CORE::quotemeta $self->dynamic_header_value_delimiter || (return $self->error('Cannot split without a dynamic_header_value_delimiter', 'MBD009'))
1397 0 0 CORE::quotemeta $self->dynamic_header_value_delimiter || (return $self->error('Cannot split without a dynamic_header_value_delimiter', 'MBD009'))

or 3 conditions

line l !l&&r !l&&!r condition
1109 0 0 0 $self->merge_keys or ref $data eq 'HASH'
1160 0 0 0 $$data{'BULK_ORIGINAL'} ||= $original
1433 0 0 0 $$value{'BULK_ORIGINAL'} || $value