line |
true |
false |
branch |
61
|
11 |
13 |
$args{$_} ? : |
64
|
0 |
4 |
if ($args{'allow_entity_reference'} ne '' and $args{'allow_entity_reference'} == 0) { } |
82
|
2 |
2 |
if ($args{'allow_tags'}) |
85
|
2 |
0 |
ref $args{'allow_tags'} eq 'ARRAY' ? : |
117
|
0 |
10 |
if ($tag eq 'script' or $tag eq 'style') |
133
|
0 |
2 |
if ($tag eq 'script' or $tag eq 'style') |
146
|
1 |
0 |
if $$self{'allow_script'} |
147
|
1 |
0 |
if $$self{'allow_style'} |
156
|
0 |
52 |
if ($tag eq 'script' or $tag eq 'style') { } |
162
|
37 |
15 |
exists $$self{'_allow_tags'}{$tag} ? : |
164
|
37 |
15 |
$flag ? : |
192
|
0 |
2 |
ref $_[0] eq 'GLOB' || ref \$_[0] eq 'GLOB' ? : |
203
|
1 |
1 |
if (-e $_[0] or ref $_[0] eq 'GLOB' or ref \$_[0] eq 'GLOB') { } |
|
1 |
0 |
elsif ($_[0] ne '') { } |
216
|
1 |
1 |
if ($_[1]) { } |
244
|
5 |
6 |
if scalar @{$$self{'_content'};} |
250
|
1 |
6 |
if scalar @{$$self{'processes'};} |
295
|
0 |
0 |
$$self{'allow_declaration'} ? : |
303
|
1 |
2 |
if ($$self{'collection_process'}) |
309
|
3 |
0 |
$$self{'allow_process'} ? : |
317
|
18 |
7 |
if ($self->is_allow_tags($tagname)) { } |
319
|
0 |
18 |
unless ($self->allow_script) |
324
|
0 |
0 |
if (exists $JS_EVENT{$event} and not $JS_EVENT{$event}) |
332
|
0 |
0 |
if (not $JS_EVENT{'cite'} and $$attr{'href'} =~ /^(java|vb)script:/i) |
353
|
7 |
18 |
unless $self->is_allow_tags($tagname) |
361
|
0 |
0 |
$$self{'allow_comment'} ? : |
368
|
39 |
0 |
if $$self{'allow_entity_reference'} |
369
|
0 |
0 |
if $is_cdata and $$self{'_current_tag'} eq 'script' and $$self{'allow_script'} |
373
|
0 |
0 |
if $is_cdata and $$self{'_current_tag'} eq 'style' and $$self{'allow_style'} |