Branch Coverage

blib/lib/MT/Import/Mbox.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
277 0 0 unless ($self->SUPER::init(@_))
328 0 0 if ($entry and not $$self{'cfg'}->param('importer.force'))
354 0 0 if (scalar @parts == 1) { }
0 0 elsif ($self->mk_extension($parts[0]->content_type) =~ /^(txt|html)$/) { }
391 0 0 unless ($entry->save)
403 0 0 unless ($tb)
413 0 0 unless ($tb->save)
423 0 0 unless ($blog->save)
431 0 0 $self->is_personal_address($from) ? :
435 0 0 if (scalar @$categories)
444 0 0 if ($reply)
458 0 0 grep(/^$addr$/, @{$$self{'__personal'};}) ? :
466 0 0 if ($part->body eq 'This is a multi-part message in MIME format.')
475 0 0 unless ($fname)
479 0 0 if ($ext = $self->mk_extension($part->content_type))
493 0 0 unless ($uploaded)
509 0 0 $msg_id ? :
522 0 0 unless (@addrs)
548 0 0 if (my $fmt = $email->format)
563 0 0 if ($type =~ m[text/plain]) { }
0 0 elsif ($type =~ m[text/html]) { }
0 0 elsif ($type =~ m[image/(.*)]) { }
0 0 elsif ($type =~ m[application/(.*)]) { }
603 0 0 if (length $txt > 200) { }
655 0 0 unless ($fmgr->exists($root) or $fmgr->mkpath($root))