Branch Coverage

blib/lib/Wiki/Toolkit/Formatter/UseMod.pm
Criterion Covered Total %
branch 31 44 70.4


line true false branch
210 0 15 unless $self->_init(@args)
273 3 39 if ($flag eq 'TAG' and not defined $allowed{lc $tag}) { }
284 2 2 if ($open and $close) { }
300 4 2 if (ref $value and ref $value eq 'CODE') { }
301 0 4 if ($self->{'_pass_wiki_to_macros'} and $wiki) { }
405 0 3 if $opts{'extended'}
406 0 3 if $title
409 3 0 if ($self->{'_force_ucfirst_nodes'})
415 0 3 if $self->{'_munge_node_name'}
417 0 3 unless ($link)
423 0 3 if ($wiki and not $wiki->node_exists($link))
427 0 3 if $self->{'_munge_urls'}
430 0 3 unless ($self->{'_escape_url_commas'})
434 0 3 if ($editlink_not_link) { }
484 1 3 if $opts{'extended'}
485 4 0 if ($self->{'_force_ucfirst_nodes'})
489 1 3 if $self->{'_munge_node_name'}
523 1 2 unless $self->{'_munge_urls'}
526 1 1 if $self->{'_force_ucfirst_nodes'}
547 1 0 unless $self->{'_munge_urls'}
663 3 1 if ($args{'title'} eq $args{'url'} or $link_class)
666 2 2 $link_class ? :