Branch Coverage

blib/lib/Catmandu/Importer/MWTemplates.pm
Criterion Covered Total %
branch 10 22 45.4


line true false branch
58 0 1 if ($self->site) { }
60 0 0 if (defined $self->page) { }
64 0 0 if ($res->is_success) { }
93 10 2 if (defined $parameters)
99 46 5 if ($arg =~ /^([^=]*?)\s*=\s*(.*)$/u) { }
107 0 51 if (not $self->wikilinks) { }
0 51 elsif ($self->wikilinks == 2) { }
108 0 0 $2 ? :
112 1 2 $2 ? :
119 12 0 if (not defined $self->template) { }
0 0 elsif ($self->template eq $name) { }