line |
true |
false |
branch |
26
|
7 |
68 |
if ($line =~ /^(#{1,6}) (\S.*)/) |
35
|
6 |
62 |
if ($line =~ /\A(\d+)([.\)])( {1,4}|\t)(\S.*)/) |
37
|
2 |
4 |
unless ($self->{'tag'}) |
42
|
6 |
0 |
if ($self->{'tag'} eq 'numbered-list') |
57
|
12 |
50 |
if ($line =~ /\A([\*-])( {1,4}|\t)(\S.*)/) |
59
|
8 |
4 |
unless ($self->{'tag'}) |
70
|
4 |
0 |
if ($self->{'tag'} eq 'list') |
71
|
2 |
2 |
if ($self->{'list'}{'type'} ne 'bulleted' or $self->{'list'}{'bullet'} ne $bullet or $self->{'list'}{'space'} ne $space) |
85
|
4 |
46 |
if ($line =~ /\A ! \[([^\]]*)\] \(([^\)]+)\) \s* \Z/x) |
96
|
1 |
3 |
if ($@) |
107
|
9 |
37 |
if ($line =~ /\S/) |
113
|
37 |
0 |
if ($line =~ /^\s*$/) |
130
|
2 |
42 |
if ($self->{'tag'} and $self->{'tag'} eq 'numbered-list') |
147
|
8 |
34 |
if ($self->{'tag'} and $self->{'tag'} eq 'list') |
148
|
6 |
2 |
if ($self->{'list'}{'ok'}) |
168
|
9 |
27 |
if ($self->{'tag'}) |