Branch Coverage

blib/lib/Data/JPack.pm
Criterion Covered Total %
branch 7 52 13.4


line true false branch
67 1 0 if (/\.html$/u) { }
0 0 elsif (-d $_ or not -x $_) { }
90 0 0 if (/deflate/iu) { }
107 0 0 if ($$self[0]{'embedded'})
111 0 0 $$self[0]{'src'} ? :
128 0 0 if $$self[1]
135 0 0 if ($$self[0]{'embedded'})
145 0 0 if ($$self['1']) { }
156 0 0 if ($multiple)
184 0 0 unless open my $file, "<", $path
186 0 0 if (not $options->{'no_minify_js'} and $path =~ /\.js$/u) { }
0 0 elsif ($options->{'no_minify_css'} or not $path =~ /\.css$/u) { }
204 0 0 if ($out_path) { }
207 0 0 unless open my $fh, ">", $out_path
233 0 0 unless open my $file, "<", $path
236 0 0 if ($out_path) { }
260 0 0 if (/compression/u)
269 0 0 if (/deflate/u) { }
271 0 0 unless rawinflate(\$decoded, \$output)
288 0 0 unless open my $file, "<", $path
303 0 2 $$self[6] ? :
306 1 1 if (defined $force and $force) { }
315 1 0 unless (@list)
339 0 2 if (defined $path) { }
341 0 0 if ($seen{$p}) { }
357 2 0 unless (@list)