line |
true |
false |
branch |
30
|
0 |
53 |
unless my $heading = $anchors->{$anchor}
|
87
|
0 |
143 |
unless defined $content
|
89
|
143 |
0 |
if (my($char, $class) = $content =~ /(\w)(\w+)/)
|
91
|
91 |
52 |
if exists $characters{$class}
|
96
|
26 |
26 |
if $args{'encode'} =~ /^(index_|id$)/
|
114
|
1 |
40 |
if $self->add_body_tags
|
125
|
39 |
8 |
unless $kid->type eq 'header'
|
126
|
3 |
5 |
if $kid->exclude_from_toc($args{'max_depth'})
|
152
|
5 |
0 |
if (&blessed($heading)) { }
|
211
|
40 |
74 |
$id_node ? :
|
214
|
40 |
74 |
$id_node ? :
|
223
|
0 |
3140 |
unless defined $content
|
231
|
1212 |
1954 |
if (my $encode = $args{'encode'})
|
255
|
0 |
2032 |
unless (defined $text)
|
302
|
13 |
0 |
if (my $title = $self->title) { }
|
332
|
41 |
0 |
$marker ? :
|
340
|
0 |
145 |
unless @$kids
|
343
|
39 |
106 |
unless @$kids
|
369
|
186 |
273 |
if $args{'encode'} =~ /^(index_|id$)/
|
414
|
2 |
54 |
if exists $env->{$tag}
|
433
|
0 |
481 |
unless $has_visible_text
|
435
|
26 |
455 |
@kids && $kids[0]->type =~ /^(?:anchor|index)$/ ? :
|
449
|
0 |
26 |
if ($type eq 'anchor') { }
|
|
26 |
0 |
elsif ($type eq 'index') { }
|
484
|
28 |
55 |
$self->title ? :
|
487
|
2 |
81 |
if (my $environment = $self->emit_environments->{$target}) { }
|
|
55 |
26 |
elsif (my $meth = $self->can('emit_' . $target)) { }
|
520
|
56 |
28 |
unless defined $title and length $title
|
528
|
156 |
40 |
if $self->type eq 'index'
|
545
|
13 |
0 |
$self->title ? :
|
548
|
13 |
0 |
if $title
|
588
|
13 |
0 |
defined $anchor ? :
|
592
|
13 |
0 |
if $anchor
|
594
|
13 |
0 |
if $caption
|