Branch Coverage

lib/SPVM/Builder/src/spvm_precompile.c
Criterion Covered Total %
branch 71 80 88.7


line true false branch
60 13061 636 for (int32_t method_index = 0; method_index < basic_type_methods_length; method_index++) {
64 5775 7286 if (method_has_precompile_flag) {
71 17 619 if (basic_type_anon_basic_types_length > 0) {
72 123 17 for (int32_t anon_basic_type_index = 0; anon_basic_type_index < basic_type_anon_basic_types_length; anon_basic_type_index++) {
107 231266 5777 while (index < string_buffer->length) {
108 12740 218526 if (string_buffer->string[index] == ':') {
147 4042 1735 if (object_vars_width > 0) {
155 242 5535 if (ref_vars_width > 0) {
163 711 5066 if (double_vars_width > 0) {
171 623 5154 if (float_vars_width > 0) {
179 698 5079 if (long_vars_width > 0) {
187 5777 0 if (int_vars_width > 0) {
203 5777 0 if (method_mortal_stack_length > 0) {
212 579 5198 if (short_vars_width > 0) {
220 662 5115 if (byte_vars_width > 0) {
328 256948 5777 while (opcode_index < opcodes_length) {
390 0 902 assert(field);
409 0 1097 assert(field);
456 14254 242694 if (id_set) {
457 14254 0 if (basic_type_id >= 0) {
462 6870 7384 if (!found_basic_type) {
484 872 13382 if (class_var) {
485 0 872 assert(basic_type_id >= 0);
492 489 383 if (!found) {
514 1999 12255 if (field) {
515 0 1999 assert(basic_type_id >= 0);
523 1686 313 if (!found) {
545 9441 4813 if (method) {
546 0 9441 assert(basic_type_id >= 0);
553 5885 3556 if (!found) {
580 256948 5777 while (opcode_index < opcodes_length) {
661 86 38 for (int32_t case_index = 0; case_index < case_infos_length; case_index++) {
691 10137 0 if (method_mortal_stack_length > 0) {
1950 43595 3168 for (int32_t i = 0; i < constant_string_length; i++) {
5037 437 5340 if (method_return_type_is_object) {
5252 12312 14254 if (name2) {
5257 12312 14254 if (name2) {
5267 12312 14254 if (name2) {
5284 2160393 122102 while (string[offset] != '\0') {
5285 100050 2060343 if (string[offset] == ':') {