Condition Coverage

blib/lib/App/MonM/Message.pm
Criterion Covered Total %
condition 0 41 0.0


and 3 conditions

line !l l&&!r l&&r condition
213 0 0 0 $args{$h} and $args{$h} =~ /\@/
216 0 0 0 $headers and is_hash($headers)
0 0 0 $headers and is_hash($headers) and keys %$headers
250 0 0 0 $path and -e $path

or 2 conditions

line l !l condition
203 0 0 $args{'headers'} || {}
205 0 0 $args{'recipient'} || $to || 'anonymous'
224 0 0 $args{'contenttype'} // "text/plain"
225 0 0 $args{'charset'} // "utf-8"
226 0 0 $args{'encoding'} // "8bit"
229 0 0 $args{'body'} // ""
252 0 0 (lvalue($inatt, 'content_type') || lvalue($inatt, 'type')) // "application/octet-stream"
0 0 lvalue($inatt, "encoding") // "base64"
0 0 lvalue($inatt, "disposition") // "attachment"
380 0 0 $email->header('X-Recipient') || $to || 'anonymous'

or 3 conditions

line l !l&&r !l&&!r condition
204 0 0 0 $args{'to'} || TO_DEFAULT()
247 0 0 0 lvalue($inatt, 'filename') || lvalue($inatt, 'file')
252 0 0 0 lvalue($inatt, 'content_type') || lvalue($inatt, 'type')