Branch Coverage

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


line true false branch
29 0 49 unless exists $args->{'container'}
32 22 27 if $self->{'MMP_container'} = $args->{'container'}
40 32 28 if ($thing->isa($class))
45 18 10 if $thing->isa("Mail::Message::Body")
50 0 10 $thing->isa('Mail::Box::Message') ? :
64 0 0 if (ref $_[0]) { }
80 9 65 unless @_
87 0 0 unless my $body = (shift())->container
88 0 0 unless my $msg = $body->message
96 0 7 unless my $body = $self->container