Condition Coverage

blib/lib/Dancer2/Plugin/Email.pm
Criterion Covered Total %
condition 7 24 29.1


or 2 conditions

line l !l condition
32 1 0 $params ||= {}
34 0 1 delete $params->{'headers'} || {}
41 0 1 $headers{'Type'} ||= 'text/plain'
42 0 1 $headers{'Format'} ||= 'flowed'
71 0 0 $mime{'Encoding'} ||= 'base64'
87 1 0 $plugin->transport->{$transport_name} || {}

or 3 conditions

line l !l&&r !l&&!r condition
43 0 1 0 $headers{'Date'} ||= email_date()
51 1 0 0 $params->{'body'} || $params->{'message'}
66 0 0 0 $mime{'Path'} or $mime{'Data'}
72 0 0 0 $mime{'Type'} ||= 'File::Type'->mime_type($mime{'Path'})