Branch Coverage

blib/lib/Color/Swatch/ASE/Reader.pm
Criterion Covered Total %
branch 27 46 58.7


line true false branch
65 0 1 if (length $clone)
75 0 44 if length ${$string;} < $num
77 25 19 if $decode
84 0 1 if not defined $signature or 'ASEF' ne $signature
91 0 1 if @version != 2
98 0 1 unless defined $blocks
110 0 1 $group ? :
0 1 $label ? :
119 1 0 $group ? :
1 0 $label ? :
155 0 5 unless (defined $model)
158 0 5 unless (exists $color_table->{$model})
182 5 0 $group ? :
0 5 $label ? :
5 0 $model ? :
195 6 0 if (defined $rest) { }
207 0 7 unless defined $type
214 0 7 unless defined $length
215 0 7 if (length ${$string;} < $length)
228 6 1 if ($length > 0)
234 1 6 if ($BLOCK_GROUP_END eq $type)
237 1 5 if ($BLOCK_GROUP_START eq $type)
240 5 0 if ($BLOCK_COLOR eq $type)