Branch Coverage

blib/lib/Mail/Message/Part.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
29 0 61 unless exists $args->{'container'}
32 31 30 if $self->{'MMP_container'} = $args->{'container'}
40 35 31 if ($thing->isa($class))
45 18 13 if $thing->isa("Mail::Message::Body")
50 0 13 $thing->isa('Mail::Box::Message') ? :
64 0 0 if (ref $_[0]) { }
80 13 74 unless @_
87 0 0 unless my $body = (shift())->container
88 0 0 unless my $msg = $body->message
96 0 11 unless my $body = $self->container