Difference between Bug/Defect/Error/Mistake/Fault/Failure
Software
testing also helps to identify errors, gaps or missing requirements in contrary
to the actual requirements.
A human action that produces an incorrect result
Bugs
Failure
Failure is a deviation of the component or system from it's expected delivery, service or result
Error:- An error is a programming mistake,
generated due to incorrect loops or wrong syntax. Thus the birth of an error takes
place at the time of coding itself. Its chief causes are an inadequate
understanding of the internal structure of code, neglect on the part of memory
management, etc.
Types of Errors:
• Calculation
errors due to incorrect approximations or formula .
• Error
in handling of data such as overwriting of same files.
• Errors
due to configuration such as inadequate storage area for memory.
Causes
of Errors:
- Oversight
- Lack of time
- Communication gap
- Inadequate inputs
- Lack of skill
- Inadequate training
- Inadequate review of inputs
Defect , Fault and Bug are same
Bugs
A bug is a programming error found in an application
before it goes into production. It may cause the program to perform
irrationally, come up with incorrect responses and then crash all together.
1. An incorrect statements
2. Data definition
Types of Bugs
• Algorithmic
bugs such as division by zero.
• Logic
bugs such as Infinite loops (a loop having no termination point).
• Resource
bugs due to the use of uninitialized variables.
Defect
In the simplest of terms, defect is
the difference observed between expected behaviour and the actual results which
are noted post the event of testing a software. Essentially it marks the
deviation of the product's performance from the customer's requirements. It
differs from a bug in the fact that a defect is found out after the product
goes into production.
• Missing
Defects: Occur due to client requirements not being met.
• Wrong
Defects: Occur due to incorrect implementation of requirements. A
wrong defect marks the deviation from the mentioned specification.
Failure
Example :
Radiation , magnetism , electronic fields and pollution can damage hardware or firmware , or simply change the conditions of the hardware or firmware temporarily in a way that cause the software to fail.
0 Comments