Branch Coverage

blib/lib/Text/Wikispaces2Markdown.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
22 0 1 if $_[0] eq 'Text::Wikispaces2Markdown'
43 4 29 if ($lines[$i] =~ /^[*0-9]/ and $i > 0 and not $lines[$i - 1] =~ /^\s*$|^\s*[*0-9]/)
47 10 55 if ($lines[$i] =~ s/^(=+)(.+?)=*$/'#' x length($1) . ' ' . $2;/me)
49 3 7 if $i > 0 and not $lines[$i - 1] =~ /^\s*$/
60 1 0 $text =~ /(\n+)\z/ ? :