Branch Coverage

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


line true false branch
66 0 1 if (length $clone)
76 0 44 if length ${$string;} < $num
78 25 19 if $decode
85 0 1 if not defined $signature or 'ASEF' ne $signature
92 0 1 if @version != 2
99 0 1 unless defined $blocks
111 0 1 $group ? :
0 1 $label ? :
120 1 0 $group ? :
1 0 $label ? :
156 0 5 unless (defined $model)
159 0 5 unless (exists $$color_table{$model})
183 5 0 $group ? :
0 5 $label ? :
5 0 $model ? :
196 6 0 if (defined $rest) { }
208 0 7 unless defined $type
215 0 7 unless defined $length
216 0 7 if (length ${$string;} < $length)
229 6 1 if ($length > 0)
235 1 6 if ($BLOCK_GROUP_END eq $type)
238 1 5 if ($BLOCK_GROUP_START eq $type)
241 5 0 if ($BLOCK_COLOR eq $type)