lib/SPVM/Builder/src/spvm_api_runtime.c | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 20 | 35.0 |
line | true | false | branch |
---|---|---|---|
145 | 0 | 4039046 | if (basic_type_id < 0) { |
149 | 0 | 4039046 | if (basic_type_id >= runtime->basic_types_length) { |
155 | 0 | 4039046 | assert(basic_type); |
175 | 182 | 0 | if (type_dimension == 0) { |
178 | 50 | 132 | switch (basic_type_category) { |
189 | 0 | 0 | else if (type_dimension >= 1) { |
201 | 0 | 0 | if (dimension > 0) { |
202 | 0 | 0 | if (SPVM_API_TYPE_is_object_type(runtime, basic_type, dimension - 1, flag)) { |
217 | 0 | 132 | if (type_dimension == 1) { |
220 | 0 | 0 | switch (basic_type_category) { |