Branch Coverage

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


line true false branch
14 0 758 if (@_) { }
25 0 379 if (@_) { }
54 12714 14 if ($type_name =~ /^([a-zA-Z_0-9:]+)((\[\])*)$/)
71 2 12584 unless (defined $basic_type_name)
75 2 12582 unless ($type_dimension == 1)
81 8 12574 if ($@)
91 2 18 unless (defined $basic_type_name)
95 2 16 unless ($type_dimension == 1)
101 6 10 if ($@)
127 4 12114 unless (ref $options eq "HASH")
135 12114 0 if (defined $value)
136 2 12112 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 12186 if ($@)
266 0 22198 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 145883 if ($@)