blib/lib/HTML/Packer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 30 | 60.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
242 | 1 | 0 | 2 | !$remove_newlines && $_[0]{'submatches'}[0] =~ /\n/s |
1 | 1 | 1 | !$remove_newlines && $_[0]{'submatches'}[2] =~ /\n/s | |
261 | 8 | 0 | 17 | $opening =~ /$opening_script_re/i and $opening =~ /$js_type_re/i || !($opening =~ /type/i) |
267 | 0 | 0 | 17 | $js_packer and $do_javascript |
278 | 0 | 0 | 2 | $css_packer and $do_stylesheet |
324 | 0 | 0 | 34 | ref $_[0] and $_[0]->isa('HTML::Packer') |
365 | 2 | 31 | 1 | not $self->no_compress_comment and ${$html;} =~ /$PACKER_COMMENT/s |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
236 | 5 | 0 | 0 | $_[0]{'submatches'}[0] =~ /\n/s || $_[0]{'submatches'}[2] =~ /\n/s |
261 | 17 | 0 | 0 | $opening =~ /$js_type_re/i || !($opening =~ /type/i) |
373 | 29 | 1 | 3 | $self->remove_comments || $self->remove_comments_aggressive |