Branch Coverage

blib/lib/FigAnim.pm
Criterion Covered Total %
branch 0 196 0.0


line true false branch
99 0 0 unless open IN, "<$filename"
112 0 0 unless $line =~ /^\#FIG (\d(.\d)*)\n$/
136 0 0 if $line =~ /^-6/
141 0 0 if ($object_code eq '0') { }
0 0 elsif ($object_code eq '#') { }
0 0 elsif ($object_code eq '5') { }
0 0 elsif ($object_code eq '6') { }
0 0 elsif ($object_code eq '1') { }
0 0 elsif ($object_code eq '2') { }
0 0 elsif ($object_code eq '3') { }
0 0 elsif ($object_code eq '4') { }
152 0 0 if ($attr[11]) { }
160 0 0 if ($attr[12]) { }
169 0 0 if ($name =~ /^\n*$/ or defined $$self{'objects'}{$name})
180 0 0 if ($name =~ /^\n*$/ or defined $$self{'objects'}{$name})
193 0 0 if ($name =~ /^\n*$/ or defined $$self{'objects'}{$name})
203 0 0 if ($attr[12]) { }
211 0 0 if ($attr[13]) { }
219 0 0 if ($attr[0] == 5) { }
241 0 0 if ($name =~ /^\n*$/ or defined $$self{'objects'}{$name})
252 0 0 if ($attr[10]) { }
260 0 0 if ($attr[11]) { }
292 0 0 if ($name =~ /^\n*$/ or defined $$self{'objects'}{$name})
313 0 0 if ($name =~ /^\n*$/ or defined $$self{'objects'}{$name})
335 0 0 unless open OUT, ">$filename"
355 0 0 if ($$self{'title'} ne '')
404 0 0 unless defined $wait
411 0 0 if $count > $length
420 0 0 if ($f > $firstframe and $f <= $firstframe + $nbframes) { }
0 0 elsif ($f == $firstframe) { }
423 0 0 if ($$self{'animations'}[$i][0] == 1) { }
0 0 elsif ($$self{'animations'}[$i][0] == 2) { }
0 0 elsif ($$self{'animations'}[$i][0] == 11) { }
0 0 elsif ($$self{'animations'}[$i][0] == 12 or $$self{'animations'}[$i][0] == 13) { }
0 0 elsif ($$self{'animations'}[$i][0] == 14) { }
0 0 elsif ($$self{'animations'}[$i][0] == 15) { }
0 0 elsif ($$self{'animations'}[$i][0] == 16) { }
0 0 elsif ($$self{'animations'}[$i][0] == 21) { }
0 0 elsif ($$self{'animations'}[$i][0] == 22 or $$self{'animations'}[$i][0] == 23) { }
0 0 elsif ($$self{'animations'}[$i][0] == 24) { }
0 0 elsif ($$self{'animations'}[$i][0] == 25) { }
0 0 elsif ($$self{'animations'}[$i][0] == 26) { }
0 0 elsif ($$self{'animations'}[$i][0] == 31) { }
0 0 elsif ($$self{'animations'}[$i][0] == 32 or $$self{'animations'}[$i][0] == 33) { }
0 0 elsif ($$self{'animations'}[$i][0] == 34) { }
0 0 elsif ($$self{'animations'}[$i][0] == 35) { }
0 0 elsif ($$self{'animations'}[$i][0] == 36) { }
866 0 0 if ($$self{'animations'}[$i][0] == 0) { }
0 0 elsif ($$self{'animations'}[$i][0] == 1) { }
0 0 elsif ($$self{'animations'}[$i][0] == 2) { }
0 0 elsif ($$self{'animations'}[$i][0] == 11 or $$self{'animations'}[$i][0] == 12 or $$self{'animations'}[$i][0] == 13 or $$self{'animations'}[$i][0] == 14 or $$self{'animations'}[$i][0] == 15 or $$self{'animations'}[$i][0] == 16) { }
0 0 elsif ($$self{'animations'}[$i][0] == 21 or $$self{'animations'}[$i][0] == 22 or $$self{'animations'}[$i][0] == 23 or $$self{'animations'}[$i][0] == 24 or $$self{'animations'}[$i][0] == 25 or $$self{'animations'}[$i][0] == 26) { }
0 0 elsif ($$self{'animations'}[$i][0] == 31) { }
0 0 elsif ($$self{'animations'}[$i][0] == 32 or $$self{'animations'}[$i][0] == 33) { }
0 0 elsif ($$self{'animations'}[$i][0] == 34) { }
0 0 elsif ($$self{'animations'}[$i][0] == 35) { }
0 0 elsif ($$self{'animations'}[$i][0] == 36) { }
903 0 0 if ($unit eq 'in') { }
0 0 elsif ($unit eq 'cm') { }
0 0 elsif ($unit eq 'px') { }
927 0 0 if ($$self{'animations'}[$i][7] eq 'in') { }
0 0 elsif ($$self{'animations'}[$i][7] eq 'cm') { }
0 0 elsif ($$self{'animations'}[$i][7] eq 'px') { }
1147 0 0 if (defined $color)
1149 0 0 if ($$self{'objects'}{$_}{'pen_color'} == $color)
1154 0 0 if ($$self{'objects'}{$_}{'pen_color'} == $color)
1159 0 0 if ($$self{'objects'}{$_}{'pen_color'} == $color)
1164 0 0 if ($$self{'objects'}{$_}{'pen_color'} == $color)
1169 0 0 if ($$self{'objects'}{$_}{'pen_color'} == $color)
1194 0 0 if (defined $color)
1196 0 0 if ($$self{'objects'}{$_}{'fill_color'} == $color)
1201 0 0 if ($$self{'objects'}{$_}{'fill_color'} == $color)
1206 0 0 if ($$self{'objects'}{$_}{'fill_color'} == $color)
1211 0 0 if ($$self{'objects'}{$_}{'fill_color'} == $color)
1239 0 0 if (defined $$self{'objects'}{$_}{$attribute} and $$self{'objects'}{$_}{$attribute} eq $value)
1245 0 0 if (defined $$self{'objects'}{$_}{$attribute} and $$self{'objects'}{$_}{$attribute} eq $value)
1251 0 0 if (defined $$self{'objects'}{$_}{$attribute} and $$self{'objects'}{$_}{$attribute} eq $value)
1257 0 0 if (defined $$self{'objects'}{$_}{$attribute} and $$self{'objects'}{$_}{$attribute} eq $value)
1263 0 0 if (defined $$self{'objects'}{$_}{$attribute} and $$self{'objects'}{$_}{$attribute} eq $value)
1269 0 0 if (defined $$self{'objects'}{$_}{$attribute} and $$self{'objects'}{$_}{$attribute} eq $value)
1296 0 0 unless open OUT, ">$filename"
1325 0 0 if $$self{'title'}
1329 0 0 if ($$self{'title'} ne '')
1352 0 0 if ($$self{'objects'}{$a}{'depth'} < $$self{'objects'}{$b}{'depth'}) { }
0 0 elsif ($$self{'objects'}{$a}{'depth'} == $$self{'objects'}{$b}{'depth'}) { }
1377 0 0 unless open OUT, ">$file"
1394 0 0 if (@$a[2] < @$b[2]) { }
0 0 elsif (@$a[2] == @$b[2]) { }
1407 0 0 if ($$self{'animations'}[$i][0] == 0) { }
0 0 elsif ($$self{'animations'}[$i][0] == 1) { }
0 0 elsif ($$self{'animations'}[$i][0] == 2) { }
0 0 elsif ($$self{'animations'}[$i][0] >= 11 and $$self{'animations'}[$i][0] <= 16) { }
0 0 elsif ($$self{'animations'}[$i][0] >= 21 and $$self{'animations'}[$i][0] <= 26) { }
0 0 elsif ($$self{'animations'}[$i][0] >= 31 and $$self{'animations'}[$i][0] <= 36) { }
1462 0 0 if ($j == -1) { }
1489 0 0 if ($j == -1) { }
1574 0 0 if (eof $fh)
1579 0 0 if $line eq "\n"