Branch Coverage

lib/SPVM/Builder/src/spvm_vm.c
Criterion Covered Total %
branch 46 48 95.8


line true false branch
115 133861 1323774 if (numeric_vars_size % 8 != 0) {
128 0 1457635 if (call_stack == NULL) {
201 219327 276284 if (int_vars[0] == 0) {
208 926384 72341 if (int_vars[0] != 0) {
215 608 343 if (__builtin_expect(error_id, 0)) {
226 538 3194906 if (__builtin_expect(error_id, 0)) {
242 547 3 if (case_infos_length > 0) {
251 501 46 if (int_vars[opcode->operand0] >= min && int_vars[opcode->operand0] <= max) {
120 381 if (int_vars[opcode->operand0] >= min && int_vars[opcode->operand0] <= max) {
257 77 305 if (current_max_pos < current_min_pos) {
265 173 132 if (int_vars[opcode->operand0] > current_half) {
268 89 43 else if (int_vars[opcode->operand0] < current_half) {
720 125 120 SPVM_IMPLEMENT_CMP_INT(int_vars[0], int_vars[opcode->operand1], int_vars[opcode->operand2]);
115 10 SPVM_IMPLEMENT_CMP_INT(int_vars[0], int_vars[opcode->operand1], int_vars[opcode->operand2]);
724 37 37 SPVM_IMPLEMENT_CMP_LONG(int_vars[0], long_vars[opcode->operand1], long_vars[opcode->operand2]);
34 3 SPVM_IMPLEMENT_CMP_LONG(int_vars[0], long_vars[opcode->operand1], long_vars[opcode->operand2]);
728 38 38 SPVM_IMPLEMENT_CMP_FLOAT(int_vars[0], float_vars[opcode->operand1], float_vars[opcode->operand2]);
35 3 SPVM_IMPLEMENT_CMP_FLOAT(int_vars[0], float_vars[opcode->operand1], float_vars[opcode->operand2]);
732 38 36 SPVM_IMPLEMENT_CMP_DOUBLE(int_vars[0], double_vars[opcode->operand1], double_vars[opcode->operand2]);
33 3 SPVM_IMPLEMENT_CMP_DOUBLE(int_vars[0], double_vars[opcode->operand1], double_vars[opcode->operand2]);
1408 10 0 if (class_dir) {
2406 1457097 538 if (error_id == 0) {
2411 88331 1368766 if (method_return_type_is_object) {
2412 87923 408 if (*(void**)&stack[0] != NULL) {