Skip to main content

Advances, Systems and Applications

Table 2 Types of bugs which cause programs failed on all the given test cases in the test suite

From: Fault localization by analyzing failure propagation with samples in cloud computing environment

ID

Defect type

Number

Description

1

output error

118

output format error, missing or redundant output statements

2

input error

21

input format error, missing or redundant input statements

3

logical expression error

36

error logical expressions

4

variable-related errors

30

variable initialization missing or errors in assignments, missing variables and corresponding processing statements

5

larger conceptual deficiencies

28

missing key statements or conceptual errors

6

control structure error

26

loop or branch decision control flow error or missing

7

function error

22

missing function calls or function definitions, errors in parameters and arguments

8

array subscript error

17

increase or decrease array access expressions, array sizes

9

statement order error

10

errors in statement order lead to errors in calculation results

10

arithmetic expression error

7

incorrect arithmetic expression

11

other incorrect uses

4

add semicolons before for loop body, string terminator errors, struct −> and. misuse