blib/lib/Text/Markdown/Slidy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 17 | 70.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
105 | 64 | 0 | 20 | my($delim) = $line =~ /^([- ]+?|=+)\s*$/ and @slide_lines |
line | l | !l | condition |
---|---|---|---|
42 | 18 | 8 | $self->{'template'} ||= " | \n"
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
64 | 0 | 0 | 8 | $@ or not $meta |
0 | 2 | 6 | $@ or not $meta or ref $meta ne "HASH" | |
78 | 18 | 8 | 0 | $self->{'md'} ||= do { require Text::Markdown; "Text::Markdown"->new } |
106 | 2 | 2 | 16 | $delim =~ / / or not $slide_lines[$#slide_lines] |