Professional Documents
Culture Documents
(SQA)
Lecturer
Hira Faisal
hira.f@scocs.edu.pk
COURSE GRADING POLICY
Assignment = 10%
Quiz = 10%
Presentation = 5%
Class Participation = 5%
Mid-Term = 30%
Week 8: Revision
5
SOFTWARE DEFECTS - I
SOFTWARE DEFECTS - I
Software defects and related issues
What is a software defect?
What is a software defect?
• In June 1994, a royal air force chinook crashed into the Mull of
Kintyre, killing 29 people. An investigation uncovered sufficient
evidence to convince that it may have been caused by a software
bug in the aircraft’s engine control computer.
Effects of software defects - 5
• ERRORS OF COMMISSION
• ERRORS OF OMISSION
• ERRORS OF CLARITY AND AMBIGUITY
• ERRORS OF SPEED OR CAPACITY
Errors of commission
Errors of commission
• Errors in requirements
• Errors in design
• Errors in source code
• Errors in user documentation
• Errors due to “bad fixes”
• Errors in data and tables
• Errors in test cases
Who discover defects?
Defect discovery
• Inspections
• Direct fault detection and removal
• Testing
• Failure observation and fault removal
Inspections - 1
• Requirement inspections
• Design inspections
• Code inspections
• Test plan reviews
• Test-case inspections
• User documentation editing or reviews
Testing defect removal methods
• US averages: 85%
• Best projects in best US companies: 99%
ASSIGNMENT
• For example,
• Severity level 1: total failure of application
• Severity level 2: failure of major function(s)
• Severity level 3: minor problem
• Severity level 4: cosmetic problem
Defect Tracking
Defect tracking
• It is important to use an accurate and automated
defect tracking system