line |
true |
false |
branch |
211
|
21 |
6 |
unless exists $p{'use_metadata'} |
213
|
24 |
3 |
$p{'use_metadata'} ? : |
217
|
27 |
0 |
unless defined $p{'tab_width'} and $p{'tab_width'} =~ /^\d+$/ |
227
|
4 |
23 |
$p{'use_wikilinks'} ? : |
229
|
1 |
26 |
defined $p{'heading_ids'} ? : |
230
|
0 |
27 |
defined $p{'img_ids'} ? : |
252
|
2 |
87 |
unless (ref $self) |
253
|
1 |
1 |
if ($self ne 'Text::MultiMarkdown') { } |
303
|
82 |
5 |
if $$self{'use_metadata'} or $$self{'strip_metadata'} |
316
|
84 |
3 |
unless $$self{'disable_bibliography'} |
317
|
84 |
3 |
unless $$self{'disable_footnotes'} |
324
|
84 |
3 |
unless $$self{'disable_footnotes'} |
325
|
84 |
3 |
unless $$self{'disable_footnotes'} |
326
|
84 |
3 |
unless $$self{'disable_bibliography'} |
331
|
4 |
83 |
if (lc($$self{'document_format'}) =~ /^complete\s*$/) { } |
351
|
13 |
750 |
if ($self->_UseWikiLinks) |
379
|
249 |
0 |
unless $$self{'disable_definition_lists'} |
435
|
2 |
2 |
unless ($term =~ /^\s*$/) |
464
|
24 |
2 |
$$self{'heading_ids'} ? : |
467
|
24 |
2 |
if ($label ne '') |
480
|
3 |
365 |
if ($self->_UseWikiLinks) |
499
|
84 |
3 |
unless $$self{'disable_footnotes'} |
536
|
12 |
33 |
if ($3) |
542
|
4 |
41 |
if ($4) |
560
|
96 |
64 |
if (defined $link_id) |
562
|
8 |
88 |
if (defined $$self{'_crossrefs'}{$label}) |
565
|
11 |
85 |
if (defined $$self{'_titles'}{$label}) |
579
|
6 |
0 |
if (defined $alt_text and length $alt_text) |
582
|
6 |
0 |
$$self{'img_ids'} ? : |
585
|
4 |
2 |
if defined $link_id |
603
|
0 |
1110 |
if $line =~ /^\s*$/ and $inMetaData = 0 and $clean_text .= $line |
604
|
99 |
2974 |
if ($inMetaData) { } |
605
|
2 |
97 |
unless $$self{'use_metadata'} |
606
|
33 |
64 |
if ($line =~ /^([a-zA-Z0-9][0-9a-zA-Z _-]+?):\s*(.*)$/) { } |
609
|
33 |
0 |
defined $2 ? : |
610
|
2 |
31 |
if (lc $currentKey eq 'format') |
613
|
5 |
28 |
if (lc $currentKey eq 'base url') |
616
|
0 |
33 |
if (lc $currentKey eq 'bibliography title') |
622
|
63 |
1 |
if ($currentKey eq '') |
628
|
1 |
0 |
if ($line =~ /^\s*(.+)$/) |
670
|
2 |
5 |
if ($link_id eq '') |
676
|
4 |
3 |
if (defined $$self{'_urls'}{$link_id}) |
744
|
0 |
84 |
unless length $text |
762
|
7 |
0 |
if (defined $$self{'_footnotes'}{$id}) |
764
|
0 |
7 |
if ($$self{'_footnotes'}{$id} =~ /^glossary:/i) { } |
798
|
0 |
7 |
unless defined $footnote_closing_tag |
800
|
0 |
7 |
if ($footnote =~ s/^glossary:\s*//i) { } |
811
|
0 |
0 |
if ($2) |
825
|
4 |
80 |
if ($footnote_counter > 0) { } |
864
|
3 |
12 |
if (lc $key eq 'title') { } |
|
3 |
9 |
elsif (lc $key eq 'css') { } |
|
1 |
8 |
elsif (lc $key eq 'xhtml header') { } |
887
|
2 |
81 |
if $$self{'strip_metadata'} |
894
|
9 |
72 |
if ($result ne '') |
903
|
12 |
1132 |
if $$self{'use_wikilinks'} |
905
|
1115 |
17 |
unless $k |
906
|
17 |
0 |
if $$self{'_metadata'}{$k} |
930
|
13 |
0 |
if ($self->_UseWikiLinks) |
976
|
4 |
142 |
if $$self{'disable_tables'} |
1035
|
2 |
1 |
if ($table =~ s/^$line_start\[\s*(.*?)\s*\](\[\s*(.*?)\s*\])?[ \t]*$//m) |
1036
|
2 |
0 |
if (defined $3) { } |
1054
|
0 |
3 |
if ($table =~ s/\n$line_start\[\s*(.*?)\s*\][ \t]*\n/\n/s) |
1074
|
4 |
4 |
if ($cell =~ /\:$/) { } |
1075
|
2 |
2 |
if ($cell =~ /^\:/) { } |
1085
|
0 |
4 |
if ($cell =~ /^\:/) { } |
1090
|
0 |
4 |
if ($cell =~ /^\./ or $cell =~ /\.$/) { } |
1119
|
1 |
7 |
if ($ending =~ s/^\s*(\|{2,})\s*$/$1/) |
1123
|
3 |
5 |
if ($count == 0) |
1124
|
1 |
2 |
if ($cell =~ /^\s*$/) { } |
1142
|
2 |
11 |
if ($line =~ /^\s*$/) |
1155
|
0 |
27 |
if ($count == 0 and $use_row_header == 1) |
1158
|
6 |
21 |
if ($ending =~ s/^\s*(\|{2,})\s*$/$1/) |
1161
|
14 |
13 |
if (not $alignments[$count] =~ /^\s*$/) { } |
1197
|
6 |
94 |
if (defined $$self{'_attributes'}{$id}) |
1248
|
6 |
0 |
if (defined $$self{'_references'}{$id}) { } |
1254
|
3 |
9 |
if $old_id eq $id |
1257
|
3 |
3 |
unless (defined $count) |
1264
|
5 |
1 |
if ($anchor_text ne '') |
1274
|
0 |
0 |
if ($anchor_text ne '') |
1281
|
1 |
5 |
if ($self->_Header2Label($anchor_text) eq 'notcited') |
1301
|
1 |
83 |
if ($citation_counter > 0) { } |