Condition Coverage

lib/Loctools/Markdown/Parser.pm
Criterion Covered Total %
condition 23 24 95.8


and 3 conditions

line !l l&&!r l&&r condition
84 36 76 11 $kind eq 'p' and $text =~ /^<.*>$/s
113 30 368 26 $self->{'mode'} ne 'pre' and $line =~ /^([ \t]+)\S/
116 0 10 16 $self->{'context'} and $self->{'context'}{'prefix'} ne ''
120 9 8 9 $spaces_len > 0 and $spaces_len <= 3
193 233 11 4 $self->{'mode'} eq 'pre' and $line eq $self->{'context'}{'text'}
198 228 9 7 $self->{'mode'} eq 'blockquote' and $mode eq 'p'
213 7 222 15 $mode ne 'hr' and $line =~ /^([\-\*]\s)/
224 87 125 32 $mode eq 'p' and $self->{'mode'} =~ /(pre|li)/