Condition Coverage

blib/lib/JavaScript/Packer.pm
Criterion Covered Total %
condition 29 33 87.8


and 3 conditions

line !l l&&!r l&&r condition
179 80 0 46 defined $value and not ref $value
357 0 9 33 ref $_[0] and ref $_[0] eq "JavaScript::Packer"
412 5 36 1 not $self->no_compress_comment and ${$javascript;} =~ /$PACKER_COMMENT/
470 2969 0 151 exists $words->{$word}{'encoded'} and $words->{$word}{'encoded'} eq $word

or 2 conditions

line l !l condition
651 400 132 $prefix ||= ""
652 400 132 $blocktype ||= ""
653 400 132 $args ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
217 146 17 0 $self->{'_compress'} ||= $DEFAULT_COMPRESS
344 31 31 155 $reggrp eq "data_store" or $reggrp eq "concat_store"
457 2 5 34 $self->compress eq "obfuscate" or $self->compress eq "best"
612 2 3 2 $self->compress eq "obfuscate" or $packed_length <= length ${$javascript;}
627 4 2 34 $self->copyright || $self->_copyright_comment