Condition Coverage

blib/lib/JavaScript/Squish.pm
Criterion Covered Total %
condition 31 54 57.4


and 3 conditions

line !l l&&!r l&&r condition
497 1320 6 6 $c eq '/' and not $lastnws =~ /[\)\.a-zA-Z0-9_\$\\]/
572 468 0 72 $c eq $quoteChar and not $escaped
468 0 0 $c eq '\\' and not $escaped
613 0 0 2 $$this{'_strings_extracted'} and $$this{'_comments_extracted'}
645 0 0 2 $$this{'_strings_extracted'} and $$this{'_comments_extracted'}
676 0 0 2 $$this{'_strings_extracted'} and $$this{'_comments_extracted'}
709 0 0 2 $$this{'_strings_extracted'} and $$this{'_comments_extracted'}
720 2 46 0 defined $last_eol and $last_eol =~ /[a-zA-Z0-9\\\$_}\])+\-"']/ || ord $last_eol > 126
36 10 0 defined $last_eol and $last_eol =~ /[a-zA-Z0-9\\\$_}\])+\-"']/ || ord $last_eol > 126 and $first_char =~ /[a-zA-Z0-9\\\$_{[(+\-]/ || ord $first_char > 126
756 0 0 2 $$this{'_strings_extracted'} and $$this{'_comments_extracted'}
780 0 2 1 ref $opts{'exceptions'} eq 'Regexp' || !ref($opts{'exceptions'}) and $opts{'exceptions'}
790 0 1 2 $$this{'_strings_extracted'} and $$this{'_comments_extracted'}

or 3 conditions

line l !l&&r !l&&!r condition
338 0 2 0 ref $proto || $proto
497 33 33 1332 $c eq '"' or $c eq q[']
66 0 1332 $c eq '"' or $c eq q['] or $c eq '/' and not $lastnws =~ /[\)\.a-zA-Z0-9_\$\\]/
720 10 0 36 $last_eol =~ /[a-zA-Z0-9\\\$_}\])+\-"']/ || ord $last_eol > 126
6 0 4 $first_char =~ /[a-zA-Z0-9\\\$_{[(+\-]/ || ord $first_char > 126
780 1 2 0 ref $opts{'exceptions'} eq 'Regexp' || !ref($opts{'exceptions'})