line |
true |
false |
branch |
98
|
0 |
1 |
unless $INC{$file} |
99
|
0 |
1 |
if ($class ne 'YAPE::HTML') |
118
|
0 |
45 |
if not defined $content or length $content == 0 |
121
|
0 |
45 |
if $strict and $strict eq -'NO_STRICT' |
155
|
40 |
320 |
unless (length $$self{'CONTENT'}) |
156
|
2 |
38 |
if (@{$$self{'TAG_STACK'};}) |
157
|
1 |
1 |
if ($$self{'STRICT'}) { } |
160
|
0 |
1 |
if exists $YAPE::HTML::OPEN{$tag} |
170
|
0 |
1 |
if exists $YAPE::HTML::EMPTY{$tag} |
180
|
0 |
320 |
if (@{$$self{'TAG_STACK'};} and $$self{'TAG_STACK'}[-1] eq 'script') |
181
|
0 |
0 |
if ($$self{'CONTENT'} =~ s/^$pat{'end_script'}//) |
189
|
0 |
0 |
if ($$self{'CONTENT'} =~ s/^$pat{'in_script'}//) |
199
|
0 |
320 |
if (@{$$self{'TAG_STACK'};} and $$self{'TAG_STACK'}[-1] eq 'xmp') |
200
|
0 |
0 |
if ($$self{'CONTENT'} =~ s/^$pat{'end_xmp'}//) |
208
|
0 |
0 |
if ($$self{'CONTENT'} =~ s/^$pat{'in_xmp'}//) |
218
|
1 |
319 |
if ($$self{'CONTENT'} =~ s/^$pat{'DTD'}//) |
225
|
1 |
0 |
if ($$self{'CONTENT'} =~ s/^(\s*>)//) |
236
|
0 |
319 |
if ($$self{'CONTENT'} =~ s/^$pat{'PI'}//) |
241
|
0 |
0 |
if defined $val and $val =~ s/^["']// |
245
|
0 |
0 |
if ($$self{'CONTENT'} =~ s/^(\s*\?>)//) |
256
|
4 |
315 |
if ($$self{'CONTENT'} =~ s/^$pat{'SSI'}//) |
259
|
0 |
4 |
unless (length $com) |
265
|
1 |
3 |
unless ($YAPE::HTML::SSI{$com}) |
275
|
1 |
2 |
unless ($YAPE::HTML::SSI{$com}{$1}) |
280
|
2 |
0 |
if defined $val and $val =~ s/^["']// |
284
|
2 |
0 |
if ($$self{'CONTENT'} =~ s/^\s*--\s*>//) |
295
|
87 |
228 |
if ($$self{'CONTENT'} =~ s/^$pat{'open_start'}//) |
300
|
30 |
57 |
if (@{$$self{'TAG_STACK'};}) |
301
|
0 |
30 |
if ($$self{'TAG_STACK'}[-1] eq $element and exists $YAPE::HTML::OPEN{$element}) |
309
|
28 |
0 |
if defined $val and $val =~ s/^["']// |
313
|
87 |
0 |
if ($$self{'CONTENT'} =~ s/^$pat{'open_end'}//) |
316
|
79 |
6 |
unless ($1 or exists $YAPE::HTML::EMPTY{$element}) |
329
|
73 |
155 |
if ($$self{'CONTENT'} =~ s/^$pat{'close'}//) |
332
|
5 |
68 |
if ($$self{'STRICT'}) { } |
346
|
2 |
71 |
if ($last ne $tag) |
357
|
19 |
136 |
if ($$self{'CONTENT'} =~ /^ |