| line |
true |
false |
branch |
|
131
|
0 |
0 |
if (my $body_attr = $self->param("body_attr")) |
|
134
|
0 |
0 |
if $body |
|
137
|
0 |
0 |
if ($body) { } |
|
175
|
6 |
6 |
if ($type eq ':text') { } |
|
|
0 |
6 |
elsif ($type eq ':E') { } |
|
182
|
0 |
0 |
if ($escapes{$code}) |
|
193
|
6 |
0 |
unless $c->type eq ":X" |
|
216
|
831 |
110 |
unless defined $p_break |
|
220
|
68 |
873 |
if ($type eq ':paragraph') { } |
|
|
472 |
401 |
elsif ($type eq ':text' or $type eq '#cut' or $type eq ':verbatim') { } |
|
|
51 |
350 |
elsif ($type =~ /^\:(.+)$/) { } |
|
|
283 |
67 |
elsif ($type eq '[ROOT]' or $type =~ /^@/) { } |
|
|
2 |
65 |
elsif ($type eq 'for') { } |
|
240
|
50 |
15 |
if ($body_attr) |
|
244
|
52 |
13 |
if (defined $body and $body ne '') { } |
|
256
|
68 |
871 |
if ($should_para_break) { } |
|
|
51 |
820 |
elsif ($r_delim) { } |
|
262
|
7 |
932 |
if ($self->param("close_element")) |
|
321
|
0 |
3091 |
if (@_) |
|
342
|
10 |
1207 |
if (@_) |
|
361
|
16 |
2360 |
if (@_) |
|
383
|
1 |
5 |
if ($doc and $doc =~ /^.+\:$/) { } |
|
418
|
0 |
0 |
if (ref $pv and eval {
do {
$pv->can('duplicate')
}
}) { } |
|
|
0 |
0 |
elsif (not ref $pv) { } |
|
454
|
0 |
0 |
unless $target_tree |
|
455
|
0 |
0 |
if ($target_tree->insert_before($target, $self)) { } |
|
477
|
0 |
0 |
unless $target_tree |
|
478
|
0 |
0 |
if ($target_tree->insert_after($target, $self)) { } |
|
557
|
462 |
0 |
if ($target_tree->push($target)) { } |
|
602
|
3 |
0 |
if ($target_tree->unshift($target)) { } |
|
650
|
12 |
0 |
if ($self->parent) { } |
|
669
|
477 |
802 |
if (@_) |
|
671
|
0 |
477 |
if (defined $self->{'parent'} and $self->parent->tree->detach($self)) |
|
679
|
465 |
12 |
if defined $self->{'parent'} |
|
721
|
0 |
0 |
if ($p->type =~ /^head[123456]$/) { } |
|
|
0 |
0 |
elsif ($p->type eq 'over') { } |
|
|
0 |
0 |
elsif ($p->type eq 'item') { } |
|
782
|
0 |
5 |
unless $parent |
|
799
|
0 |
8 |
unless $parent |
|
828
|
173 |
89 |
if ($n->type eq $node_type) { } |
|
829
|
10 |
163 |
if (defined $current_start) { } |
|
831
|
10 |
0 |
unless $p_break |
|
838
|
0 |
10 |
unless $n->detach |