Branch Coverage

blib/lib/SPVM/ExchangeAPI.pm
Criterion Covered Total %
branch 110 116 94.8


line true false branch
14 0 754 if (@_) { }
25 0 377 if (@_) { }
54 12514 14 if ($type_name =~ /^([a-zA-Z_0-9:]+)((\[\])*)$/)
71 2 12384 unless (defined $basic_type_name)
75 2 12382 unless ($type_dimension == 1)
81 8 12374 if ($@)
91 2 18 unless (defined $basic_type_name)
95 2 16 unless ($type_dimension == 1)
101 6 10 if ($@)
127 4 11914 unless (ref $options eq "HASH")
135 11914 0 if (defined $value)
136 2 11912 unless (&blessed($value) and $value->isa("SPVM::BlessedObject"))
153 2 36 unless (defined $basic_type_name)
157 2 34 unless ($type_dimension == 1)
163 8 26 if ($@)
173 2 14 unless (defined $basic_type_name)
177 2 12 unless ($type_dimension == 1)
183 6 6 if ($@)
193 2 26 unless (defined $basic_type_name)
197 2 24 unless ($type_dimension == 1)
202 10 14 if ($@)
212 2 22 unless (defined $basic_type_name)
216 2 20 unless ($type_dimension >= 2 and $type_dimension <= 255)
222 6 14 if ($@)
232 2 14 unless (defined $basic_type_name)
236 2 12 unless ($type_dimension >= 2 and $type_dimension <= 255)
242 4 8 if ($@)
265 4 11986 if ($@)
266 0 21482 if ($@)
267 4 36 if ($@)
268 4 10 if ($@)
269 2 6 if ($@)
270 4 14 if ($@)
271 4 28 if ($@)
272 4 10 if ($@)
273 2 6 if ($@)
274 6 6 if ($@)
275 4 38 if ($@)
276 4 10 if ($@)
277 2 6 if ($@)
278 6 8 if ($@)
279 4 28 if ($@)
280 4 10 if ($@)
281 2 6 if ($@)
282 6 8 if ($@)
283 4 28 if ($@)
284 2 6 if ($@)
285 6 6 if ($@)
286 4 30 if ($@)
287 2 6 if ($@)
288 6 8 if ($@)
289 4 18 if ($@)
290 2 6 if ($@)
291 2 4 if ($@)
292 0 6 if ($@)
293 2 20 if ($@)
294 0 548 if ($@)
295 156 141987 if ($@)