Interview Questions, Answers and Tutorials

Error, Bug, and Defect

Error, Bug, and Defect

Error and Bug

1. Error/bug/defect/mistake is the human interaction that produces an incorrect result.

Fault: Fault is a stage of software that is caused by an error/bug/defect/mistake.

Failure: It is a deviation of software from its expected delivery or service. For eg., you are driving a car and you are on the road while driving now there is two way on the roads) left: Mumbai) right: Delhi now you have to go to Delhi it means you have to turn the steering to the right, but by mistake, you turn the steering to the left, from that position that is called as “Error” because human interaction is there. and now Fault is there till you will not reach the Mumbai, but when you reach Mumbai that is a final stage which is called “Failure” because you had to reach Delhi but now you are in Mumbai.

2. Differences in terms

a. Error: the mistakes made by the developer in coding.
b. Bug: Found problem in application By tester.
c. Defect: Found problem in application By customer after release

3. Difference Between Bug, Error, Defect, and Issue

a. Bug: A software bug is an error, flaw, mistake, failure, or fault in a program that prevents it from behaving as intended (e.g., producing an incorrect result). Most bugs arise from mistakes and errors made by people in either a program’s source code or its design, and a few are caused by compilers producing incorrect code.

b. Error: The mistake made by developer in coding.

c. Defect: Defect is something which is in the requirement document and it is not implemented or it is implemented in a wrong way.

d. Issue: Issue is something which is not all above, Some issues are there like site is slow, session related problems, security problems etc.