Branch Coverage

blib/lib/Mail/Message/Attachment/Stripper.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
52 0 2 unless eval { do { $msg->isa('Mail::Message') } }
58 2 0 unless exists $$self{'_atts'}
64 0 3 unless exists $$self{'_atts'}
65 3 0 $$self{'_atts'} ? :
86 2 0 $mm->isMultipart ? :
87 2 4 if ($self->_is_inline_text($part)) { }
0 4 elsif ($self->_should_recurse($part)) { }
116 1 3 if lc $part->body->mimeType eq 'message/rfc822'
117 0 3 if $part->isMultipart
123 3 3 if ($part->body->mimeType eq 'text/plain')
125 2 1 if $disp and $disp =~ /inline/
126 1 0 if $self->_filename_for($part)