line |
true |
false |
branch |
113
|
100 |
4 |
unless ($self->{'LITERAL'}) |
149
|
99 |
33 |
if ($self->can("_cmd_$method")) { } |
|
33 |
0 |
elsif ($self->can("_start_$method")) { } |
170
|
99 |
33 |
if ($self->can("_cmd_$method")) { } |
|
33 |
0 |
elsif ($self->can("_end_$method")) { } |
178
|
20 |
79 |
if (defined $text) |
179
|
20 |
0 |
if (@{$self->{'PENDING'}} > 1) { } |
221
|
62 |
39 |
if ($self->{'SPACE'}) |
222
|
11 |
51 |
if ($text =~ s/ \A \] \s* \n //msux) |
230
|
62 |
39 |
if ($text =~ s/ \n (\n+) \z /\n/msux) |
247
|
20 |
0 |
if ($self->{'ENCODE'}) |
250
|
0 |
20 |
unless print {$self->{'output_fh'};} $output |
268
|
1 |
4 |
unless @{$self->{'HEADINGS'}} |
291
|
57 |
5 |
unless ($word =~ / _ /msux or $word =~ / \A \\ /msux) |
293
|
55 |
2 |
if ($word ne "and") |
309
|
1 |
5 |
unless @{$self->{'HEADINGS'}} |
326
|
1 |
10 |
if ($length > 0 and $length + length($section) > $NAVBAR_LENGTH) |
333
|
5 |
6 |
if (length $pending != 0) |
347
|
5 |
0 |
if (length $pending > 0) |
367
|
5 |
15 |
if ($self->{'TITLE'}) { } |
375
|
4 |
16 |
if (defined $self->{'SUBHEADING'}) |
380
|
6 |
14 |
if ($self->{'opt_navbar'}) |
383
|
5 |
15 |
if ($self->{'opt_contents'}) |
400
|
1 |
19 |
if ($attrs->{'contentless'}) { } |
428
|
0 |
20 |
if ($layers[-1] and $layers[-1] & 32768) |
460
|
19 |
1 |
unless ($self->{'CONTENTLESS'}) |
480
|
5 |
0 |
if ($anchor) |
488
|
4 |
1 |
if (defined $anchor and defined $headings{$heading}) { } |
502
|
20 |
0 |
if ($self->{'ENCODE'}) |
505
|
0 |
20 |
unless print {$self->{'output_fh'};} $header |
512
|
1 |
19 |
if ($self->any_errata_seen) |
536
|
8 |
25 |
if (@{$self->{'ITEMS'};} > 0) { } |
|
4 |
21 |
elsif ($self->{'IN_NAME'} and $text =~ /$NAME_REGEX/u) { } |
565
|
0 |
4 |
if ($text =~ / \A \s* \z /msux) |
573
|
2 |
2 |
if (@{$self->{'ITEMS'};} > 0) { } |
621
|
18 |
4 |
if (defined $tag) { } |
647
|
4 |
18 |
if ($text eq "NAME" and not defined $self->{'opt_title'}) |
680
|
5 |
14 |
unless ($self->{'ITEM_PENDING'}) |
686
|
3 |
11 |
if ($self->{'ITEM_OPEN'}) |
702
|
1 |
32 |
if ($self->{'ITEM_PENDING'}) |
705
|
11 |
22 |
if ($self->{'ITEM_OPEN'}) |
720
|
2 |
9 |
if ($self->{'ITEM_PENDING'}) |
742
|
4 |
7 |
if (@{$self->{'ITEMS'}} > 0) |
791
|
0 |
12 |
if ($self->{'ITEM_PENDING'}) |
803
|
8 |
4 |
if ($self->{'ITEMS'}[-1] eq '\\desc') { } |
855
|
2 |
9 |
if ($attrs->{'type'} eq 'url') { } |
|
9 |
0 |
elsif ($attrs->{'type'} eq 'pod') { } |
856
|
1 |
1 |
if (not defined $attrs->{'to'} or $attrs->{'to'} eq $text) { } |
864
|
7 |
2 |
if (not defined $page and defined $section) |
867
|
2 |
8 |
if ($self->{'HEADINGS'}[$i] eq $section) |