Branch Coverage

lib/SPVM/Builder/src/spvm_api_runtime.c
Criterion Covered Total %
branch 7 20 35.0


line true false branch
148 0 4037925 if (basic_type_id < 0) {
152 0 4037925 if (basic_type_id >= runtime->basic_types_length) {
158 0 4037925 assert(basic_type);
178 182 0 if (type_dimension == 0) {
181 50 132 switch (basic_type_category) {
192 0 0 else if (type_dimension >= 1) {
204 0 0 if (dimension > 0) {
205 0 0 if (SPVM_API_TYPE_is_object_type(runtime, basic_type, dimension - 1, flag)) {
220 0 132 if (type_dimension == 1) {
223 0 0 switch (basic_type_category) {