Branch Coverage

blib/lib/JavaScript/Prepare.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
22 1 6 if defined $args{'strip'}
54 1 18 if $$self{'strip'}
59 18 1 if defined $minified and length $minified
69 0 16 unless $content
73 2 14 if ($control_file) { }
98 4 4 if defined $1
108 0 18 unless my $handle = 'FileHandle'->new($file)
136 0 6 unless opendir my $handle, $directory
142 12 9 if $entry =~ /^\./u
146 6 3 if -f $target
147 3 6 if -d $target