Branch Coverage

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)
88 2 10 if ($is_first_line)
89 0 2 if ($line =~ /^---\s+(\S+)\s?$/)
98 6 4 if ($is_metadata_section)
99 2 4 if ($line =~ /^---\s*$/)
122 0 67 unless $marker
123 15 52 unless length $marker == 3
124 50 2 unless $marker eq "---"