blib/lib/Markdown/Compiler/Source.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 16 | 87.5 |
line | true | false | branch |
---|---|---|---|
53 | 65 | 2 | unless ($self->has_metadata) |
87 | 2 | 10 | if ($is_first_line) |
88 | 0 | 2 | if ($line =~ /^---\s+(\S+)\s?$/) |
97 | 6 | 4 | if ($is_metadata_section) |
98 | 2 | 4 | if ($line =~ /^---\s*$/) |
121 | 0 | 67 | unless $marker |
122 | 15 | 52 | unless length $marker == 3 |
123 | 50 | 2 | unless $marker eq "---" |