Branch Coverage

lib/SPVM/Builder/src/spvm_precompile.c
Criterion Covered Total %
branch 72 82 87.8


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) {
329 256948 5777 while (opcode_index < opcodes_length) {
391 0 902 assert(field);
410 0 1097 assert(field);
457 14254 242694 if (id_set) {
458 14254 0 if (basic_type_id >= 0) {
463 6870 7384 if (!found_basic_type) {
485 872 13382 if (class_var) {
486 0 872 assert(basic_type_id >= 0);
493 489 383 if (!found) {
515 1999 12255 if (field) {
516 0 1999 assert(basic_type_id >= 0);
524 1686 313 if (!found) {
546 9441 4813 if (method) {
547 0 9441 assert(basic_type_id >= 0);
554 5885 3556 if (!found) {
581 256948 5777 while (opcode_index < opcodes_length) {
662 86 38 for (int32_t case_index = 0; case_index < case_infos_length; case_index++) {
692 10137 0 if (method_mortal_stack_length > 0) {
1951 43595 3168 for (int32_t i = 0; i < constant_string_length; i++) {
2800 93 0 if (class_dir) {
5050 437 5340 if (method_return_type_is_object) {
5265 12312 14254 if (name2) {
5270 12312 14254 if (name2) {
5280 12312 14254 if (name2) {
5297 2160393 122102 while (string[offset] != '\0') {
5298 100050 2060343 if (string[offset] == ':') {