| line |
true |
false |
branch |
|
62
|
37084 |
656418 |
if $AUTOLOAD eq "DESTROY" |
|
63
|
0 |
656418 |
unless $AUTOLOAD =~ /^get_/u |
|
75
|
24401 |
156092 |
if exists $this->{'forced_line'} |
|
76
|
26494 |
129598 |
if pos $this->{'md'} == length $this->{'md'} |
|
78
|
0 |
129598 |
unless $this->{'md'} =~ /\G([^\n\r]*)($eol_re)?/gu |
|
80
|
1501 |
128097 |
if ($1 =~ /^[ \t]+$/u) { } |
|
81
|
1147 |
354 |
if $this->get_preserve_white_lines |
|
84
|
3785 |
12881 |
$this->get_force_final_new_line ? : |
|
101
|
7883 |
14245 |
if defined $last_pos |
|
112
|
0 |
9610 |
unless exists $this->{'last_pos'} |
|
140
|
4235 |
13328 |
if $this->get_parse_file_metadata eq "yaml" |
|
162
|
87821 |
37740 |
if (@{$this->{'paragraph'};} or $force_loose_test) |
|
163
|
5889 |
81932 |
if ($this->{'last_line_was_blank'}) |
|
164
|
133 |
5756 |
if (@{$this->{'blocks_stack'};} and $this->{'blocks_stack'}[-1]{'block'}{'type'} eq "list_item") |
|
170
|
70987 |
54574 |
unless @{$this->{'paragraph'};} |
|
180
|
9946 |
25835 |
unless @{$this->{'blocks'};} |
|
190
|
16915 |
20187 |
if ($block->{'type'} eq 'list_item') { } |
|
193
|
2560 |
14355 |
if ($this->_list_match($block)) { } |
|
221
|
28260 |
2564 |
if (defined $forced_next_line) |
|
252
|
6469 |
23640 |
unless @{$this->{'paragraph'};} |
|
256
|
23640 |
0 |
@{$this->{'paragraph'};} ? : |
|
265
|
12866 |
10774 |
if (@{$tester->{'paragraph'};}) |
|
278
|
18948 |
19953 |
if defined $r and $r > 0 |
|
279
|
19800 |
19101 |
unless $r |
|
330
|
124561 |
24401 |
if (not $this->{'skip_next_block_matching'}) { } |
|
332
|
18145 |
106416 |
if (@{$this->{'blocks_stack'};} > $matched_block) |
|
347
|
15205 |
133757 |
if ($this->{'last_line_is_blank'}) |
|
348
|
562 |
14643 |
if (@{$this->{'blocks_stack'};} and $this->{'blocks_stack'}[-1]{'block'}{'type'} eq "list_item") |
|
356
|
0 |
107546 |
unless _do_atx_heading($this) or $this->get_use_setext_headings and _do_setext_heading($this) or _do_thematic_break($this) or _do_indented_code_block($this) or $this->get_use_fenced_code_blocks and _do_fenced_code_block($this) or _do_html_block($this) or _do_block_quotes($this) or _do_list_item($this) or _do_directive_block($this) or _do_link_reference_definition($this) or $this->get_use_table_blocks and _do_table_block($this) or _do_paragraph($this) |
|
376
|
0 |
1 |
unless (eval "require $module_name; 1") |
|
386
|
8 |
1 |
if ($parser eq 'YAML::Tiny') { } |
|
|
1 |
0 |
elsif ($parser eq 'YAML::PP' or $parser eq 'YAML::PP::LibYAML') { } |
|
399
|
2 |
4233 |
$this->get_yaml_file_metadata_allows_empty_lines ? : |
|
400
|
9 |
4226 |
if ($this->{'md'} =~ / ^ ---\n (? (?: $line_re )+? ) (?: --- | \.\.\. ) \n /cgux) |
|
402
|
2 |
7 |
if ($Markdown::Perl::BlockParser::EVAL_ERROR) |
|
404
|
2 |
0 |
if $this->get_warn_for_unused_input |
|
407
|
5 |
2 |
if (exists $this->{'pmarkdown'}{'hooks'}{'yaml_metadata'}) |
|
417
|
590 |
148372 |
if ($l =~ /^ \ {0,3} (\#{1,6}) (?:[ \t]+(.+?))?? (?:[ \t]+\#+)? [ \t]* $/ux) |
|
434
|
102055 |
1587 |
unless $l =~ /^ {0,3}(-+|=+)[ \t]*$/u |
|
435
|
262 |
522 |
if (not @{$this->{'paragraph'};} or indent_size($this->{'paragraph'}[0]) >= 4 or $this->{'is_lazy_continuation'}) |
|
444
|
1 |
521 |
if ($m eq 'single_line' and @{$p;} > 1) { } |
|
|
1 |
520 |
elsif ($m eq 'break' and $l =~ /$thematic_break_re/u) { } |
|
|
1 |
519 |
elsif ($m eq 'ignore') { } |
|
458
|
29 |
491 |
$c eq '=' ? : |
|
470
|
147558 |
292 |
unless ($l =~ /$thematic_break_re/u) |
|
481
|
146419 |
1139 |
if (@{$this->{'paragraph'};} or not $l =~ /$indented_code_re/u) |
|
485
|
239 |
900 |
if $convert_tabs |
|
491
|
994 |
245 |
if ($this->_all_blocks_match(\$nl)) { } |
|
493
|
49 |
945 |
if ($nl =~ /$indented_code_re/u) { } |
|
|
244 |
701 |
elsif ($nl eq '') { } |
|
496
|
1 |
48 |
if $convert_tabs |
|
517
|
99686 |
10123 |
unless $l =~ /^ (?\ {0,3}) (?`{3,}|~{3,}) [ \t]* (?.*?) [ \t]* $/ux |
|
519
|
1588 |
8535 |
if ($f eq "`" and index($+{'info'}, "`") != -1) |
|
535
|
21372 |
795 |
if ($this->_all_blocks_match(\$nl)) { } |
|
536
|
404 |
20968 |
if ($nl =~ /^ {0,3}${f}{$fl,}[ \t]*$/u) { } |
|
547
|
139 |
656 |
unless $this->get_fenced_code_blocks_must_be_closed |
|
552
|
3496 |
5039 |
if (not $end_fence_seen and $this->get_fenced_code_blocks_must_be_closed) |
|
574
|
16 |
141364 |
if ($l =~ / ^\ {0,3} < (?:pre|script|style|textarea) (?:\ |\t|>|$) /ux) { } |
|
|
10 |
141354 |
elsif ($l =~ /^ {0,3} |