Professional Documents
Culture Documents
Unfortunately, software is too complex to be ‘bug-free’ – no matter how much testing you do.
You simply cannot test for all the different ways your users are interacting with your application.
Therefore, it’s important to understand the differences between errors and exceptions in your
application, and the correct ways to handle them so you can take a proactive approach to
maintaining a healthy application for both your development team and your end users.
Errors
Errors or mistakes in a program are often referred to as bugs. They are almost always the fault of
the programmer. The process of finding and eliminating errors is called debugging. Errors can be
classified into three major groups:
Syntax Error
Runtime Error
Logical Error
Functionality Errors
Communication Errors
Missing command errors
Syntactic Error
Error handling errors
Calculation Errors
Control flow errors
Software rarely works as intended when it is first written. Software engineering research has
long been concerned with assessing why software fails and who is to blame, or why a piece of
software is flawed and how to prevent such faults in the future. Errors are examined in the
context of bugs, elements of source code that produce undesirable, unexpected and unintended
deviations in behavior. Though error is a prevalent, mature topic within software engineering,
error detection and recovery are less well understood.
There are two strategies that can be used to deal with the error problems in project design:
Error Prevention
Error Management
Error Prevention:
Good design reduce the amount of errors made by users
Error Management:
Good design necessarily change the number of errors but decrease the negative consequences or
errors
Human Computer Interaction
Defect identification, categorization, reporting and eventually removal are all part of Quality
Control activities. But, Prevention is better than cure. The very crux of Software Quality
Assurance is to establish monitoring and inspecting processes at each stage of the Software
Development Life Cycle.
We might face different types of errors in our project. And we use the basic strategy of error
prevention. In error prevention, reduce the amount of errors that made by users. In which all the
possible strategies should apply on the project for preventing errors and reduce the errors in
project.