Branch Coverage

blib/lib/MT/Import/Base.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
112 0 0 unless ($self->init(@_))
123 0 0 if (UNIVERSAL::isa($opts, 'Config::Simple')) { }
134 0 0 if ($@)
146 0 0 unless (-d $root)
153 0 0 if (not $blog_id =~ /^\d+$/ or $blog_id < 1)
160 0 0 if (not $blog_owner =~ /^\d+$/ or $blog_owner < 1)
185 0 0 if ($@)
195 0 0 unless ($app)
253 0 0 if (defined $bool)
257 0 0 if ($bool)
295 0 0 unless ($id)
296 0 0 wantarray ? :
299 0 0 if (grep /^$id$/, @{$$self{'__imported'};})
360 0 0 if ($next = $entry->next)
366 0 0 if ($prev = $entry->previous)
378 0 0 unless ($ok)
416 0 0 unless ($cat)
423 0 0 unless ($cat->save)
456 0 0 unless ($author)
465 0 0 unless ($author->save)
473 0 0 unless ($pe)
507 0 0 if ($pl)
518 0 0 unless ($pl->save)
562 0 0 unless ($bytes)
636 0 0 unless ($to_ping)
647 0 0 unless ($tb)
663 0 0 unless ($ping->save)
674 0 0 unless ($blog->save)
685 0 0 unless (grep /^$ping_url$/, @pinged)