Branch Coverage

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


line true false branch
60 13860 643 for (int32_t method_index = 0; method_index < basic_type_methods_length; method_index++) {
64 6024 7836 if (method_has_precompile_flag) {
71 17 626 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 241771 6026 while (index < string_buffer->length) {
108 13138 228633 if (string_buffer->string[index] == ':') {
147 4229 1797 if (object_vars_width > 0) {
155 254 5772 if (ref_vars_width > 0) {
163 744 5282 if (double_vars_width > 0) {
171 652 5374 if (float_vars_width > 0) {
179 727 5299 if (long_vars_width > 0) {
187 6026 0 if (int_vars_width > 0) {
203 6026 0 if (method_mortal_stack_length > 0) {
212 605 5421 if (short_vars_width > 0) {
220 688 5338 if (byte_vars_width > 0) {
329 262987 6026 while (opcode_index < opcodes_length) {
391 0 952 assert(field);
410 0 1169 assert(field);
457 14855 248132 if (id_set) {
458 14855 0 if (basic_type_id >= 0) {
463 7285 7570 if (!found_basic_type) {
485 923 13932 if (class_var) {
486 0 923 assert(basic_type_id >= 0);
493 522 401 if (!found) {
515 2121 12734 if (field) {
516 0 2121 assert(basic_type_id >= 0);
524 1804 317 if (!found) {
546 9845 5010 if (method) {
547 0 9845 assert(basic_type_id >= 0);
554 6250 3595 if (!found) {
581 262987 6026 while (opcode_index < opcodes_length) {
662 86 38 for (int32_t case_index = 0; case_index < case_infos_length; case_index++) {
692 10425 0 if (method_mortal_stack_length > 0) {
1951 43060 3170 for (int32_t i = 0; i < constant_string_length; i++) {
2800 94 0 if (class_dir) {
5050 454 5572 if (method_return_type_is_object) {
5265 12889 14855 if (name2) {
5270 12889 14855 if (name2) {
5280 12889 14855 if (name2) {
5297 2292432 128799 while (string[offset] != '\0') {
5298 106756 2185676 if (string[offset] == ':') {