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 '') { }
4 0 elsif ($body2) { }
58 0 8 if (not $body) { }
64 2 6 if ($@ or not $meta or ref $meta ne "HASH")
65 0 2 if ($strict_frontmatter)
105 20 64 if (my($delim) = $line =~ /^([- ]+?|=+)\s*$/ and @slide_lines)
106 4 16 if ($delim =~ / / or not $slide_lines[$#slide_lines])
116 14 2 if @slide_lines
121 8 0 if @slide_lines