Condition Coverage

blib/lib/Catalyst/View/Email.pm
Criterion Covered Total %
condition 12 37 32.4


and 3 conditions

line !l l&&!r l&&r condition
239 0 0 2 $self->content_type and not $email->{'content_type'}
267 2 0 0 $parts and ref $parts eq 'ARRAY'
276 0 0 2 $mime{'attributes'} and not $mime{'attributes'}{'charset'}
0 2 0 $mime{'attributes'} and not $mime{'attributes'}{'charset'} and $self->{'default'}{'charset'}
314 0 0 2 exists $attrs->{'content_type'} and defined $attrs->{'content_type'}
0 0 2 exists $attrs->{'content_type'} and defined $attrs->{'content_type'} and $attrs->{'content_type'} ne ''
0 0 0 defined $default_content_type and $default_content_type ne ''
331 2 0 0 exists $attrs->{'charset'} and defined $attrs->{'charset'}
2 0 0 exists $attrs->{'charset'} and defined $attrs->{'charset'} and $attrs->{'charset'} ne ''
2 0 0 defined $default_charset and $default_charset ne ''

or 2 conditions

line l !l condition
216 0 2 $self->sender->{'mailer_args'} || {}
243 0 2 $email->{'header'} || []

or 3 conditions

line l !l&&r !l&&!r condition
261 0 2 0 $parts or $body