Branch Coverage

lib/CSS/SpriteBuilder.pm
Criterion Covered Total %
branch 7 50 14.0


line true false branch
45 0 3 if (my $config = delete $args{'config'}) { }
54 0 3 $$self{'output_dir'} ? :
83 0 1 if ($filename) { }
84 0 0 if (openhandle $filename) { }
88 0 0 unless open $fh, '>', $filename
93 0 1 unless open $fh, '>', \$str
112 0 1 if ($$image_info{'repeat'} ne 'no')
119 1 0 unless ($$image_info{'is_background'})
131 1 0 unless ($filename)
143 0 0 if $@
163 0 0 if ($filename)
164 0 0 if (openhandle $filename) { }
180 0 0 if ($filename) { }
181 0 0 if (openhandle $filename) { }
185 0 0 unless open $fh, '>', $filename
190 0 0 unless open $fh, '>', \$str
248 0 0 $selector =~ /^#/ ? :
253 0 0 if ($$image_info{'repeat'} eq 'x') { }
0 0 elsif ($$image_info{'repeat'} eq 'y') { }
269 0 0 if ($i == 0)
294 0 0 unless ($filename)
306 0 0 if $@
311 0 0 if (openhandle $filename) { }
0 0 elsif ($filename =~ /^
344 0 0 wantarray ? :