Branch Coverage

blib/lib/Markdown/Compiler/Lexer.pm
Criterion Covered Total %
branch 24 32 75.0


line true false branch
86 0 2 if ($content =~ /\`\`\`[ ]*(\S+)[ ]*\n/)
151 1 3 if ($content =~ /!\[(.*)\]\(([^ ]+)\s+"([^"]+)"\s*\)/) { }
1 2 elsif ($content =~ /!\[(.*)\]\(([^ ]+\s*)\)/) { }
2 0 elsif ($content =~ /!($url_match)/) { }
219 1 9 if ($content =~ /\[(.*)\]\(($url_match)\s+"([^"]+)"\s*\)/) { }
7 2 elsif ($content =~ /\[(.*)\]\(($url_match\s*)\)/) { }
0 2 elsif ($content =~ /($url_match)/) { }
2 0 elsif ($content =~ /($Markdown::Compiler::Lexer::Token::Link::RE{'URI'}{'HTTP'}{join $;, '-scheme', 'https?'})/) { }
336 1 0 if ($content =~ /^([\#]+)\s+(.+?)$/)
412 0 26 if ($content =~ /^___/) { }
0 26 elsif ($content =~ /^\*\*\*/) { }
8 18 elsif ($content =~ /^\*\*/) { }
4 14 elsif ($content =~ /^__/) { }
6 8 elsif ($content =~ /^_/) { }
8 0 elsif ($content =~ /^\*/) { }
589 424 10944 if ($str =~ /$match/cg)