Condition Coverage

blib/lib/Mail/Builder/Attachment.pm
Criterion Covered Total %
condition 5 8 62.5


and 3 conditions

line !l l&&!r l&&r condition
58 2 0 4 defined $filename and lc($filename->basename) =~ /\.([0-9a-z]{1,4})$/
85 1 0 0 defined $name and not $name =~ /^\s*$/

or 2 conditions

line l !l condition
70 4 2 $filetype ||= 'application/octet-stream'