Branch Coverage

blib/lib/Text/WikiCreole.pm
Criterion Covered Total %
branch 37 66 56.0


line true false branch
530 432 173 if ($ch)
531 279 153 if ($$tref =~ /$chunks{$ch}{'delim'}/g) { }
540 260 172 if ($chunks{$ch}{'filter'})
544 165 267 if ($t and $chunks{$ch}{'contains'}) { }
552 173 432 if ($pos and $pos == length $$tref) { }
559 382 56 if ($$tref =~ /$chunks{$_}{'curpatcmp'}/)
563 50 382 unless ($ch)
566 50 794 if ($$tref =~ /$chunks{$_}{'curpatcmp'}/)
570 0 50 unless $ch
580 56 320 if (ref $chunks{$_[0]}{'stops'}) { }
583 280 360 if ($chunks{$_}{'fwpat'}) { }
598 0 8 if $initialized
606 624 136 unless $is_special{chr $_}
611 384 8 if ($chunks{$c}{'curpat'})
614 376 16 if ($chunks{$c}{'stops'})
617 224 168 if ($chunks{$c}{'contains'})
628 0 8 unless defined $_[0] and length $_[0] > 0
636 0 1 unless defined $_[0]
641 0 1 unless defined $_[0]
652 0 0 if ($link_function)
660 0 0 unless defined $_[0]
668 0 0 if ($barelink_function)
680 0 0 if ($img_function)
688 0 0 unless defined $_[0]
694 0 1 if (not $tag) { }
698 0 0 unless $o and $o =~ /
699 0 0 if $o
0 0 unless $o
700 0 0 if $c
0 0 unless $c
704 0 1 unless $type eq 'open' or $type eq 'close'
705 0 1 unless $chunks{$tag}
706 1 0 $text ? :