SlideShare a Scribd company logo
UNIT I – INTRODUCTION
-
OriginsofDefects–Costofdefects
UNIT I – INTRODUCTION
-
OriginsofDefects–Costofdefects
1 of 9
IT8076 - SOFTWARE TESTING
2 February 2020
DEFECT CLASSES
• Defect can be classified in many ways.
• Defects are assigned to four major classes reflecting their
point of origin in the software life cycle.
• These classes are:-
– Requirements / Specification Defect Classes
– Design Defect Classes
– Code Defect Classes
– Testing Defect Classes
• Defect can be classified in many ways.
• Defects are assigned to four major classes reflecting their
point of origin in the software life cycle.
• These classes are:-
– Requirements / Specification Defect Classes
– Design Defect Classes
– Code Defect Classes
– Testing Defect Classes
2 February 2020 IT8076 - SOFTWARE TESTING 2 of 9
2 February 2020 IT8076 - SOFTWARE TESTING 3 of 9
Requirements and Specification
Defects
• Functional Description Defects: The overall description of
what the product does, and how it should behave.
• Feature Defects: Features may be described as distinguishing
characteristics of a software component or system.
– Features refers to functional aspects of software that map to
functional requirement described by the user and the client, it also
maps quality such as performance and reliability.
– Feature defects are mainly due to features description that are
missing, incorrect, incomplete.
• Functional Description Defects: The overall description of
what the product does, and how it should behave.
• Feature Defects: Features may be described as distinguishing
characteristics of a software component or system.
– Features refers to functional aspects of software that map to
functional requirement described by the user and the client, it also
maps quality such as performance and reliability.
– Feature defects are mainly due to features description that are
missing, incorrect, incomplete.
2 February 2020 IT8076 - SOFTWARE TESTING 4 of 9
3.Feature Interaction Defects:
These are due to an incorrect description of how the
features should interact. For example, suppose one feature of
a software system supports adding a new customer to a
customer database.
4.Interface Description Defects
These are defects that occur in the description of how the
target software is to interface with external software,
hardware, and users. For detecting many functional description
defects, black box testing techniques, which are based on
functional specifications of the software, offer the best
approach.
Requirements and Specification
Defects
3.Feature Interaction Defects:
These are due to an incorrect description of how the
features should interact. For example, suppose one feature of
a software system supports adding a new customer to a
customer database.
4.Interface Description Defects
These are defects that occur in the description of how the
target software is to interface with external software,
hardware, and users. For detecting many functional description
defects, black box testing techniques, which are based on
functional specifications of the software, offer the best
approach.
2 February 2020 IT8076 - SOFTWARE TESTING 5 of 9
– Design defects occur when system components, interactions between
system components, interactions between the components and outside
software/hardware, or users are incorrectly designed. This covers
defects in the design of algorithms, control, logic, data elements,
module interface descriptions, and external software/hardware/user
interface descriptions.
– When describing these defects we assume that the detailed design
description for the software modules is at the pseudo code level with
processing steps, data structures, input/output parameters, and major
control structures defined. If module design is not described in such
detail then many of the defects types described here may be moved into
the coding defects class.
Design Defects
– Design defects occur when system components, interactions between
system components, interactions between the components and outside
software/hardware, or users are incorrectly designed. This covers
defects in the design of algorithms, control, logic, data elements,
module interface descriptions, and external software/hardware/user
interface descriptions.
– When describing these defects we assume that the detailed design
description for the software modules is at the pseudo code level with
processing steps, data structures, input/output parameters, and major
control structures defined. If module design is not described in such
detail then many of the defects types described here may be moved into
the coding defects class.
2 February 2020 IT8076 - SOFTWARE TESTING 6 of 9
1.Algorithmic and Processing Defects
These occur when the processing steps in the algorithm as
described by the pseudo code are incorrect. For example, the pseudo code
may contain a calculation that is incorrectly specified, or the processing
steps in the algorithm written in the pseudo code language may not be in
the correct order. In the latter case a step may be missing or a step may be
duplicated. Another example of a defect in this subclass is the omission of
error condition checks such as division by zero. In the case of algorithm
reuse, a designer may have selected an inappropriate algorithm for this
problem.
Design Defects
1.Algorithmic and Processing Defects
These occur when the processing steps in the algorithm as
described by the pseudo code are incorrect. For example, the pseudo code
may contain a calculation that is incorrectly specified, or the processing
steps in the algorithm written in the pseudo code language may not be in
the correct order. In the latter case a step may be missing or a step may be
duplicated. Another example of a defect in this subclass is the omission of
error condition checks such as division by zero. In the case of algorithm
reuse, a designer may have selected an inappropriate algorithm for this
problem.
2 February 2020 7 of 9
IT8076 - SOFTWARE TESTING
2.Control, Logic, and Sequence Defects
Control defects occur when logic flow in the pseudo code is not correct. For
example, branching to soon, branching to late, or use of an incorrect branching
condition. Other examples in this subclass are unreachable pseudo code
elements, improper nesting, improper procedure or function calls. Logic
defects usually relate to incorrect use of logic operators, such as less than ( ),
greater than ( ), etc. These may be used incorrectly in a Boolean expression
controlling a branching instruction.
3.Data Defects
These are associated with incorrect design of data structures. For exam- ple, a
record may be lacking a field, an incorrect type is assigned to a variable or a
field in a record, an array may not have the proper number of elements
assigned, or storage space may be allocated incorrectly. Software reviews and
use of a data dictionary work well to reveal these types of defects.
Design Defects
2.Control, Logic, and Sequence Defects
Control defects occur when logic flow in the pseudo code is not correct. For
example, branching to soon, branching to late, or use of an incorrect branching
condition. Other examples in this subclass are unreachable pseudo code
elements, improper nesting, improper procedure or function calls. Logic
defects usually relate to incorrect use of logic operators, such as less than ( ),
greater than ( ), etc. These may be used incorrectly in a Boolean expression
controlling a branching instruction.
3.Data Defects
These are associated with incorrect design of data structures. For exam- ple, a
record may be lacking a field, an incorrect type is assigned to a variable or a
field in a record, an array may not have the proper number of elements
assigned, or storage space may be allocated incorrectly. Software reviews and
use of a data dictionary work well to reveal these types of defects.
2 February 2020 8 of 9
IT8076 - SOFTWARE TESTING
4.Module Interface Description Defects
These are defects derived from, for example, using incorrect, and/or in-
consistent parameter types, an incorrect number of parameters, or an incorrect
ordering of parameters.
5.Functional Description Defects
The defects in this category include incorrect, missing, and/or unclear design
elements. For example, the design may not properly describe the correct
functionality of a module. These defects are best detected during a design
review.
6.External Interface Description Defects
These are derived from incorrect design descriptions for interfaces with COTS
components, external software systems, databases, and hardware devices (e.g.,
I/O devices). Other examples are user interface description defects where there
are missing or improper commands, improper sequences of commands, lack of
proper messages, and/or lack of feedback messages for the user.
Design Defects
4.Module Interface Description Defects
These are defects derived from, for example, using incorrect, and/or in-
consistent parameter types, an incorrect number of parameters, or an incorrect
ordering of parameters.
5.Functional Description Defects
The defects in this category include incorrect, missing, and/or unclear design
elements. For example, the design may not properly describe the correct
functionality of a module. These defects are best detected during a design
review.
6.External Interface Description Defects
These are derived from incorrect design descriptions for interfaces with COTS
components, external software systems, databases, and hardware devices (e.g.,
I/O devices). Other examples are user interface description defects where there
are missing or improper commands, improper sequences of commands, lack of
proper messages, and/or lack of feedback messages for the user.
2 February 2020 9 of 9
IT8076 - SOFTWARE TESTING
Ad

More Related Content

Similar to unit 1 various software testing description (20)

Manual testing
Manual testingManual testing
Manual testing
Ajit Jain
 
Bug, Defect, Error, Fault in Software Quality Engineering .pptx
Bug, Defect, Error, Fault in Software Quality Engineering .pptxBug, Defect, Error, Fault in Software Quality Engineering .pptx
Bug, Defect, Error, Fault in Software Quality Engineering .pptx
Jamiluddin39
 
Lecture 04
Lecture 04Lecture 04
Lecture 04
Rana Ali
 
Ieee829mtp
Ieee829mtpIeee829mtp
Ieee829mtp
sephalika
 
Testing overview
Testing overviewTesting overview
Testing overview
Anandhababu Msj
 
White box testing
White box testingWhite box testing
White box testing
Abdul Basit
 
Static white box testing lecture 12
Static white box testing lecture 12Static white box testing lecture 12
Static white box testing lecture 12
Abdul Basit
 
Software Bugs A Software Architect Point Of View
Software Bugs    A Software Architect Point Of ViewSoftware Bugs    A Software Architect Point Of View
Software Bugs A Software Architect Point Of View
Shahzad
 
cheatsheet.pdf
cheatsheet.pdfcheatsheet.pdf
cheatsheet.pdf
BdBangladesh
 
Formal Specification Ian Sommerville 9th Edition
Formal Specification Ian Sommerville 9th EditionFormal Specification Ian Sommerville 9th Edition
Formal Specification Ian Sommerville 9th Edition
RupeshShrestha28
 
Basic interview questions for manual testing
Basic interview questions for manual testingBasic interview questions for manual testing
Basic interview questions for manual testing
JYOTI RANJAN PAL
 
SE UNIT 2.pdf
SE UNIT 2.pdfSE UNIT 2.pdf
SE UNIT 2.pdf
udhayaveenaa
 
CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2
SIMONTHOMAS S
 
CMGT410 v19Business Requirements TemplateCMGT410 v19Page 2.docx
CMGT410 v19Business Requirements TemplateCMGT410 v19Page 2.docxCMGT410 v19Business Requirements TemplateCMGT410 v19Page 2.docx
CMGT410 v19Business Requirements TemplateCMGT410 v19Page 2.docx
mary772
 
Software architect design documentation template
Software architect design documentation templateSoftware architect design documentation template
Software architect design documentation template
Salim M Bhonhariya
 
Types of Software Requirements | software engineering.pptx
Types of Software Requirements | software engineering.pptxTypes of Software Requirements | software engineering.pptx
Types of Software Requirements | software engineering.pptx
KashfUlHuda1
 
Srs
SrsSrs
Srs
Juan Carlos Olivares Rojas
 
Assessment RubricExemplary Accomplished Developing B.docx
Assessment RubricExemplary Accomplished Developing B.docxAssessment RubricExemplary Accomplished Developing B.docx
Assessment RubricExemplary Accomplished Developing B.docx
galerussel59292
 
Abcxyz
AbcxyzAbcxyz
Abcxyz
vacbalolenvadi90
 
CHAPTER 1 Creating a ProgramOBJECTIVES· Analyze some of the i.docx
CHAPTER 1 Creating a ProgramOBJECTIVES· Analyze some of the i.docxCHAPTER 1 Creating a ProgramOBJECTIVES· Analyze some of the i.docx
CHAPTER 1 Creating a ProgramOBJECTIVES· Analyze some of the i.docx
walterl4
 
Manual testing
Manual testingManual testing
Manual testing
Ajit Jain
 
Bug, Defect, Error, Fault in Software Quality Engineering .pptx
Bug, Defect, Error, Fault in Software Quality Engineering .pptxBug, Defect, Error, Fault in Software Quality Engineering .pptx
Bug, Defect, Error, Fault in Software Quality Engineering .pptx
Jamiluddin39
 
Lecture 04
Lecture 04Lecture 04
Lecture 04
Rana Ali
 
White box testing
White box testingWhite box testing
White box testing
Abdul Basit
 
Static white box testing lecture 12
Static white box testing lecture 12Static white box testing lecture 12
Static white box testing lecture 12
Abdul Basit
 
Software Bugs A Software Architect Point Of View
Software Bugs    A Software Architect Point Of ViewSoftware Bugs    A Software Architect Point Of View
Software Bugs A Software Architect Point Of View
Shahzad
 
Formal Specification Ian Sommerville 9th Edition
Formal Specification Ian Sommerville 9th EditionFormal Specification Ian Sommerville 9th Edition
Formal Specification Ian Sommerville 9th Edition
RupeshShrestha28
 
Basic interview questions for manual testing
Basic interview questions for manual testingBasic interview questions for manual testing
Basic interview questions for manual testing
JYOTI RANJAN PAL
 
CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2
SIMONTHOMAS S
 
CMGT410 v19Business Requirements TemplateCMGT410 v19Page 2.docx
CMGT410 v19Business Requirements TemplateCMGT410 v19Page 2.docxCMGT410 v19Business Requirements TemplateCMGT410 v19Page 2.docx
CMGT410 v19Business Requirements TemplateCMGT410 v19Page 2.docx
mary772
 
Software architect design documentation template
Software architect design documentation templateSoftware architect design documentation template
Software architect design documentation template
Salim M Bhonhariya
 
Types of Software Requirements | software engineering.pptx
Types of Software Requirements | software engineering.pptxTypes of Software Requirements | software engineering.pptx
Types of Software Requirements | software engineering.pptx
KashfUlHuda1
 
Assessment RubricExemplary Accomplished Developing B.docx
Assessment RubricExemplary Accomplished Developing B.docxAssessment RubricExemplary Accomplished Developing B.docx
Assessment RubricExemplary Accomplished Developing B.docx
galerussel59292
 
CHAPTER 1 Creating a ProgramOBJECTIVES· Analyze some of the i.docx
CHAPTER 1 Creating a ProgramOBJECTIVES· Analyze some of the i.docxCHAPTER 1 Creating a ProgramOBJECTIVES· Analyze some of the i.docx
CHAPTER 1 Creating a ProgramOBJECTIVES· Analyze some of the i.docx
walterl4
 

Recently uploaded (20)

Modeling the Influence of Environmental Factors on Concrete Evaporation Rate
Modeling the Influence of Environmental Factors on Concrete Evaporation RateModeling the Influence of Environmental Factors on Concrete Evaporation Rate
Modeling the Influence of Environmental Factors on Concrete Evaporation Rate
Journal of Soft Computing in Civil Engineering
 
Lecture - 7 Canals of the topic of the civil engineering
Lecture - 7  Canals of the topic of the civil engineeringLecture - 7  Canals of the topic of the civil engineering
Lecture - 7 Canals of the topic of the civil engineering
MJawadkhan1
 
Applications of Centroid in Structural Engineering
Applications of Centroid in Structural EngineeringApplications of Centroid in Structural Engineering
Applications of Centroid in Structural Engineering
suvrojyotihalder2006
 
2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt
rakshaiya16
 
ATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ATAL 6 Days Online FDP Scheme Document 2025-26.pdfATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ssuserda39791
 
introduction technology technology tec.pptx
introduction technology technology tec.pptxintroduction technology technology tec.pptx
introduction technology technology tec.pptx
Iftikhar70
 
Using the Artificial Neural Network to Predict the Axial Strength and Strain ...
Using the Artificial Neural Network to Predict the Axial Strength and Strain ...Using the Artificial Neural Network to Predict the Axial Strength and Strain ...
Using the Artificial Neural Network to Predict the Axial Strength and Strain ...
Journal of Soft Computing in Civil Engineering
 
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligenceAgents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
DebdeepMukherjee9
 
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
Jimmy Lai
 
PPT on Sattelite satellite & Radar(1).pptx
PPT on Sattelite satellite & Radar(1).pptxPPT on Sattelite satellite & Radar(1).pptx
PPT on Sattelite satellite & Radar(1).pptx
navneet19791
 
Construction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil EngineeringConstruction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil Engineering
Lavish Kashyap
 
David Boutry - Specializes In AWS, Microservices And Python
David Boutry - Specializes In AWS, Microservices And PythonDavid Boutry - Specializes In AWS, Microservices And Python
David Boutry - Specializes In AWS, Microservices And Python
David Boutry
 
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
PawachMetharattanara
 
AI-Powered Data Management and Governance in Retail
AI-Powered Data Management and Governance in RetailAI-Powered Data Management and Governance in Retail
AI-Powered Data Management and Governance in Retail
IJDKP
 
Machine foundation notes for civil engineering students
Machine foundation notes for civil engineering studentsMachine foundation notes for civil engineering students
Machine foundation notes for civil engineering students
DYPCET
 
Slide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptxSlide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptx
vvsasane
 
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic AlgorithmDesign Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Journal of Soft Computing in Civil Engineering
 
Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025
Antonin Danalet
 
Environment .................................
Environment .................................Environment .................................
Environment .................................
shadyozq9
 
Generative AI & Large Language Models Agents
Generative AI & Large Language Models AgentsGenerative AI & Large Language Models Agents
Generative AI & Large Language Models Agents
aasgharbee22seecs
 
Lecture - 7 Canals of the topic of the civil engineering
Lecture - 7  Canals of the topic of the civil engineeringLecture - 7  Canals of the topic of the civil engineering
Lecture - 7 Canals of the topic of the civil engineering
MJawadkhan1
 
Applications of Centroid in Structural Engineering
Applications of Centroid in Structural EngineeringApplications of Centroid in Structural Engineering
Applications of Centroid in Structural Engineering
suvrojyotihalder2006
 
2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt
rakshaiya16
 
ATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ATAL 6 Days Online FDP Scheme Document 2025-26.pdfATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ssuserda39791
 
introduction technology technology tec.pptx
introduction technology technology tec.pptxintroduction technology technology tec.pptx
introduction technology technology tec.pptx
Iftikhar70
 
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligenceAgents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
DebdeepMukherjee9
 
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
Jimmy Lai
 
PPT on Sattelite satellite & Radar(1).pptx
PPT on Sattelite satellite & Radar(1).pptxPPT on Sattelite satellite & Radar(1).pptx
PPT on Sattelite satellite & Radar(1).pptx
navneet19791
 
Construction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil EngineeringConstruction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil Engineering
Lavish Kashyap
 
David Boutry - Specializes In AWS, Microservices And Python
David Boutry - Specializes In AWS, Microservices And PythonDavid Boutry - Specializes In AWS, Microservices And Python
David Boutry - Specializes In AWS, Microservices And Python
David Boutry
 
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
PawachMetharattanara
 
AI-Powered Data Management and Governance in Retail
AI-Powered Data Management and Governance in RetailAI-Powered Data Management and Governance in Retail
AI-Powered Data Management and Governance in Retail
IJDKP
 
Machine foundation notes for civil engineering students
Machine foundation notes for civil engineering studentsMachine foundation notes for civil engineering students
Machine foundation notes for civil engineering students
DYPCET
 
Slide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptxSlide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptx
vvsasane
 
Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025
Antonin Danalet
 
Environment .................................
Environment .................................Environment .................................
Environment .................................
shadyozq9
 
Generative AI & Large Language Models Agents
Generative AI & Large Language Models AgentsGenerative AI & Large Language Models Agents
Generative AI & Large Language Models Agents
aasgharbee22seecs
 
Ad

unit 1 various software testing description

  • 1. UNIT I – INTRODUCTION - OriginsofDefects–Costofdefects UNIT I – INTRODUCTION - OriginsofDefects–Costofdefects 1 of 9 IT8076 - SOFTWARE TESTING 2 February 2020
  • 2. DEFECT CLASSES • Defect can be classified in many ways. • Defects are assigned to four major classes reflecting their point of origin in the software life cycle. • These classes are:- – Requirements / Specification Defect Classes – Design Defect Classes – Code Defect Classes – Testing Defect Classes • Defect can be classified in many ways. • Defects are assigned to four major classes reflecting their point of origin in the software life cycle. • These classes are:- – Requirements / Specification Defect Classes – Design Defect Classes – Code Defect Classes – Testing Defect Classes 2 February 2020 IT8076 - SOFTWARE TESTING 2 of 9
  • 3. 2 February 2020 IT8076 - SOFTWARE TESTING 3 of 9
  • 4. Requirements and Specification Defects • Functional Description Defects: The overall description of what the product does, and how it should behave. • Feature Defects: Features may be described as distinguishing characteristics of a software component or system. – Features refers to functional aspects of software that map to functional requirement described by the user and the client, it also maps quality such as performance and reliability. – Feature defects are mainly due to features description that are missing, incorrect, incomplete. • Functional Description Defects: The overall description of what the product does, and how it should behave. • Feature Defects: Features may be described as distinguishing characteristics of a software component or system. – Features refers to functional aspects of software that map to functional requirement described by the user and the client, it also maps quality such as performance and reliability. – Feature defects are mainly due to features description that are missing, incorrect, incomplete. 2 February 2020 IT8076 - SOFTWARE TESTING 4 of 9
  • 5. 3.Feature Interaction Defects: These are due to an incorrect description of how the features should interact. For example, suppose one feature of a software system supports adding a new customer to a customer database. 4.Interface Description Defects These are defects that occur in the description of how the target software is to interface with external software, hardware, and users. For detecting many functional description defects, black box testing techniques, which are based on functional specifications of the software, offer the best approach. Requirements and Specification Defects 3.Feature Interaction Defects: These are due to an incorrect description of how the features should interact. For example, suppose one feature of a software system supports adding a new customer to a customer database. 4.Interface Description Defects These are defects that occur in the description of how the target software is to interface with external software, hardware, and users. For detecting many functional description defects, black box testing techniques, which are based on functional specifications of the software, offer the best approach. 2 February 2020 IT8076 - SOFTWARE TESTING 5 of 9
  • 6. – Design defects occur when system components, interactions between system components, interactions between the components and outside software/hardware, or users are incorrectly designed. This covers defects in the design of algorithms, control, logic, data elements, module interface descriptions, and external software/hardware/user interface descriptions. – When describing these defects we assume that the detailed design description for the software modules is at the pseudo code level with processing steps, data structures, input/output parameters, and major control structures defined. If module design is not described in such detail then many of the defects types described here may be moved into the coding defects class. Design Defects – Design defects occur when system components, interactions between system components, interactions between the components and outside software/hardware, or users are incorrectly designed. This covers defects in the design of algorithms, control, logic, data elements, module interface descriptions, and external software/hardware/user interface descriptions. – When describing these defects we assume that the detailed design description for the software modules is at the pseudo code level with processing steps, data structures, input/output parameters, and major control structures defined. If module design is not described in such detail then many of the defects types described here may be moved into the coding defects class. 2 February 2020 IT8076 - SOFTWARE TESTING 6 of 9
  • 7. 1.Algorithmic and Processing Defects These occur when the processing steps in the algorithm as described by the pseudo code are incorrect. For example, the pseudo code may contain a calculation that is incorrectly specified, or the processing steps in the algorithm written in the pseudo code language may not be in the correct order. In the latter case a step may be missing or a step may be duplicated. Another example of a defect in this subclass is the omission of error condition checks such as division by zero. In the case of algorithm reuse, a designer may have selected an inappropriate algorithm for this problem. Design Defects 1.Algorithmic and Processing Defects These occur when the processing steps in the algorithm as described by the pseudo code are incorrect. For example, the pseudo code may contain a calculation that is incorrectly specified, or the processing steps in the algorithm written in the pseudo code language may not be in the correct order. In the latter case a step may be missing or a step may be duplicated. Another example of a defect in this subclass is the omission of error condition checks such as division by zero. In the case of algorithm reuse, a designer may have selected an inappropriate algorithm for this problem. 2 February 2020 7 of 9 IT8076 - SOFTWARE TESTING
  • 8. 2.Control, Logic, and Sequence Defects Control defects occur when logic flow in the pseudo code is not correct. For example, branching to soon, branching to late, or use of an incorrect branching condition. Other examples in this subclass are unreachable pseudo code elements, improper nesting, improper procedure or function calls. Logic defects usually relate to incorrect use of logic operators, such as less than ( ), greater than ( ), etc. These may be used incorrectly in a Boolean expression controlling a branching instruction. 3.Data Defects These are associated with incorrect design of data structures. For exam- ple, a record may be lacking a field, an incorrect type is assigned to a variable or a field in a record, an array may not have the proper number of elements assigned, or storage space may be allocated incorrectly. Software reviews and use of a data dictionary work well to reveal these types of defects. Design Defects 2.Control, Logic, and Sequence Defects Control defects occur when logic flow in the pseudo code is not correct. For example, branching to soon, branching to late, or use of an incorrect branching condition. Other examples in this subclass are unreachable pseudo code elements, improper nesting, improper procedure or function calls. Logic defects usually relate to incorrect use of logic operators, such as less than ( ), greater than ( ), etc. These may be used incorrectly in a Boolean expression controlling a branching instruction. 3.Data Defects These are associated with incorrect design of data structures. For exam- ple, a record may be lacking a field, an incorrect type is assigned to a variable or a field in a record, an array may not have the proper number of elements assigned, or storage space may be allocated incorrectly. Software reviews and use of a data dictionary work well to reveal these types of defects. 2 February 2020 8 of 9 IT8076 - SOFTWARE TESTING
  • 9. 4.Module Interface Description Defects These are defects derived from, for example, using incorrect, and/or in- consistent parameter types, an incorrect number of parameters, or an incorrect ordering of parameters. 5.Functional Description Defects The defects in this category include incorrect, missing, and/or unclear design elements. For example, the design may not properly describe the correct functionality of a module. These defects are best detected during a design review. 6.External Interface Description Defects These are derived from incorrect design descriptions for interfaces with COTS components, external software systems, databases, and hardware devices (e.g., I/O devices). Other examples are user interface description defects where there are missing or improper commands, improper sequences of commands, lack of proper messages, and/or lack of feedback messages for the user. Design Defects 4.Module Interface Description Defects These are defects derived from, for example, using incorrect, and/or in- consistent parameter types, an incorrect number of parameters, or an incorrect ordering of parameters. 5.Functional Description Defects The defects in this category include incorrect, missing, and/or unclear design elements. For example, the design may not properly describe the correct functionality of a module. These defects are best detected during a design review. 6.External Interface Description Defects These are derived from incorrect design descriptions for interfaces with COTS components, external software systems, databases, and hardware devices (e.g., I/O devices). Other examples are user interface description defects where there are missing or improper commands, improper sequences of commands, lack of proper messages, and/or lack of feedback messages for the user. 2 February 2020 9 of 9 IT8076 - SOFTWARE TESTING
  翻译: