Branch Coverage

blib/lib/Text/Markdown/Slidy.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
15 0 8 @_ == 1 ? :
23 8 8 unless (ref $self)
24 8 0 if ($self ne 'Text::Markdown::Slidy') { }
36 4 4 wantarray ? :
51 4 4 if ($raw_header eq '') { }
2 2 elsif ($body2) { }
58 2 6 if (not $body) { }
64 0 6 if ($@)
65 0 0 if ($strict_frontmatter)
104 14 52 if (my($delim) = $line =~ /^\s*([- ]+?|=+)\s*$/ and @slide_lines)
105 4 10 if ($delim =~ / / or not $slide_lines[$#slide_lines])
115 8 2 if @slide_lines
120 8 0 if @slide_lines