| blib/lib/JavaScript/Packer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 29 | 33 | 87.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 181 | 80 | 0 | 46 | defined $value and not ref $value |
| 361 | 0 | 9 | 33 | ref $_[0] and ref $_[0] eq "JavaScript::Packer" |
| 416 | 5 | 36 | 1 | not $self->no_compress_comment and ${$javascript;} =~ /$PACKER_COMMENT/ |
| 474 | 2971 | 0 | 151 | exists $words->{$word}{'encoded'} and $words->{$word}{'encoded'} eq $word |
| line | l | !l | condition |
|---|---|---|---|
| 655 | 400 | 111 | $prefix ||= "" |
| 656 | 400 | 111 | $blocktype ||= "" |
| 657 | 400 | 111 | $args ||= "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 219 | 146 | 17 | 0 | $self->{'_compress'} ||= $DEFAULT_COMPRESS |
| 348 | 31 | 31 | 155 | $reggrp eq "data_store" or $reggrp eq "concat_store" |
| 461 | 2 | 5 | 34 | $self->compress eq "obfuscate" or $self->compress eq "best" |
| 616 | 2 | 3 | 2 | $self->compress eq "obfuscate" or $packed_length <= length ${$javascript;} |
| 631 | 4 | 2 | 34 | $self->copyright || $self->_copyright_comment |