Monday, September 24, 2012

Difference between Bug, Defect and Error

Bug, Defect and Error
Bug, defect, and error are terms that are commonly used in software development, but they have slightly different meanings:

Bug:
A bug is a coding error or mistake in software that causes it to behave unexpectedly or not according to its specifications. Bugs can be introduced at any stage of software development, including design, coding, and testing.

Defect:
Defect is a deviation from the requirements or specifications of a software product. It can be caused by a bug, a design flaw, or a misinterpretation of the requirements. A defect is essentially a problem with the software that prevents it from working as intended.

Categories of defects - There are three main category of defects;
Wrong: The requirements have been implement the wrong way. This defect is a variance from the given specification.

Missing: There was a requirement given by the client and it was not done. This is a variance from the specifications, an indication that a specification was not implemented, or a requirement of the customer was not noted correctly.

Bug, Defect and Error
  Extra: A requirement incorporated into the product that was not given by the end   customer. This is always a variance from the specification, but may be an attribute  desired by the user of the product. However, it is considered a defect because it’s  a variance from the existing requirements.

  Error: An error is a human mistake that results in a problem with the software. Errors can occur at any stage of software development, including requirements gathering, design, coding, and testing. An error can cause a bug or a defect.

Fault: A wrong or mistaken step, process or Data definition in a computed program which causes the program to perform in an unintended or unanticipated manner.

In summary, bugs and defects are related to the actual software code, while errors are related to human actions or decisions. Bugs and defects are often used interchangeably, but they have slightly different meanings.

22 comments:

  1. “A mistake in coding is called error ,error found by tester is called defect, defect accepted by development team then it is called bug ,build does not meet the requirements then it Is failure.

    ReplyDelete
  2. I need to learn testing give basic information to develop skill in testing.

    ReplyDelete
  3. I need to learn testing give basic information to develop skill in testing.

    ReplyDelete
  4. Nice rundown about bugs,defects and it's broad categories. Good work.. keep up!!!

    ReplyDelete
  5. Not satisfactory. Still there are some discrepancy in uderstanding

    ReplyDelete
  6. very nice ,,this valuable information and thanks for sharing....

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete

Thanks for your comment..! Keep commenting for more and more updates. To get post updates subscribe Blog or become a follower of this blog. Thanks Again..!