SlideShare a Scribd company logo
1 of 22
G Sreenivasulu
M.Tech(Ph.D)
Assistant Professor
Dept. of CSE
STM Text Book:Boris Beizer
Introduction to Testing
Purpose of Testing:
What is testing?
Testing is the process of exercise or verify a system by manual or automated
that satisfies specified requirements.
Purpose of Testing:
The purpose of testing is to find the error that led to the program's failure.
Productivity and Quality in Software:
Phases in a tester's mental life:
tester's mental life can be categorized into the following 5 phases
Phases in a tester's mental life
• Phase 0: (Until 1956: Debugging Oriented) There is no difference
between testing and debugging.
• Phase 1: (1957-1978: Demonstration Oriented) the purpose of
testing here is to show that software works. Highlighted during the late
1970s.
• Phase 2: (1979-1982: Destruction Oriented) the purpose of testing is
to show that software doesn’t work.
• Phase 3: (1983-1987: Evaluation Oriented) the purpose of testing is
not to prove anything but to reduce the risk of not working
• Phase 4: (1988-2000: Prevention Oriented) it is the process to
reduce the labor of testing. By dividing testable and non- testable
code.
Test Design/Testing Process:
Tests should be properly designed and tested before applying it to
the actual code.
Testing isn’t everything:
There are approaches other than testing to create better software.
Methods other than testing include
Inspection Methods: Methods like walkthroughs,formal inspections
Design Style: While designing the software itself, adopting stylistic
objectives
Static Analysis Methods: Includes formal analysis of source code
during compilation
Languages: The source language can help reduce certain kinds of bugs
Development Methodologies and Development Environment:
Dichotomies:(contrast between two things)
• Testing Versus Debugging:
Testing starts with known conditions Debugging starts from unknown conditions
Testing can and should be planned Debugging can and should not be planned
testing can be done without design knowledge Debugging is impossible without design knowledge
Testing can often be done by an outsider Debugging must be done by an insider
Test execution and design can be automated. Automated debugging is still a dream
Function versus Structure:
Functional testing basically concern about only results but not processing
Structural testing basically concern about only results but processing
Designer versus Tester:
Designer is the person who designs the tests
Tester is the one actually tests the code
Modularity versus Efficiency:
A module is a discrete, well-defined, small component of a system
Smaller the modules, difficult to integrate; larger the modules, difficult to understand
Small versus Large:
Programming in large means constructing programs that consists of many
components written by many different programmers
Programming in the small is what we do for ourselves in the privacy of our own
offices
Builder versus Buyer:
Builder: Who designs the system and is accountable to the buyer.
Buyer: Who pays for the system for profits from providing services.
User: Ultimate beneficiary or victim of the system.
Tester: Who is dedicated to the builder's destruction.
Operator: Who has to live with the builders mistakes, the buyers
unclear specifications, testers' oversights and the users' complaints.
Model for Testing:
• Environment :
A Program's environment is the hardware and software required to make it
run
• Program:
Most programs are too complicated to understand in detail.
The concept of the program is to be simplified in order to test it
• Tests:
Tests are formal procedures, Inputs must be prepared, Outcomes should be
predict
tests should be documented, commands need to be executed, and results are to
be observed.
• Bugs:
An unexpected test result may lead us to change the code
Three distinct kinds of testing on a typical software system
Levels of Testing:
Unit / Component Testing:
A Unit is the smallest testable piece of software that can be compiled,
assembled, linked, loaded etc.
Integration Testing:
Integration is the process by which components are aggregated to
create larger components
System Testing:
A System is a big component. System Testing is aimed at revealing
bugs that cannot be attributed to components
Limitations of Testing:
• You cannot test a program completely(total testing is impossible)
• You cannot test every statement of the program
• You cannot test every path
• You cannot test every true and false condition
• You cannot test every condition of a decision node
• You cannot test every valid input
• You cannot test every invalid input
• You can only test against system requirements
• It requires more time and resources to accomplish quality in testing
CONSEQUENCES OF BUGS
Importance of bugs: The importance of bugs depends on
frequency, correction cost, installation cost, and consequences.
• Frequency: How often does that kind of bug occur? Pay more attention
to the more frequent bug types.
• Correction Cost: What does it cost to correct the bug after it is found?
The cost is the sum of 2 factors: (1) the cost of discovery (2) the cost of
correction
• Installation Cost: Installation cost depends on the number of
installations
• Consequences:(Impact/Effect) Consequences of the bug can range
from mild to catastrophic.
Importance($) = Frequency * (Correction cost + Installation cost +
Consequential cost)
The consequences of a bug can be measure in terms of human rather than
machine. Some consequences of a bug on a scale of one to ten are
1. Mild: The effect of this kind of bug is gently (misspelled output )
2. Moderate: The effect of this kind of bug impacts the system's
performance. (Outputs are misleading )
3. Annoying: The effect of this kind of bug impacts system's behavior
(Names are truncated/cutting)
4. Disturbing: The effect of this kind of bug refuses transactions (ATM
won’t give you money or credit card is declared invalid)
5. Serious: The effect of this kind of bug loses its transactions
(Accountability is lost)
6. Very Serious: The effect of this kind of bug causes the system to do
the wrong transactions(system credits it to another account)
7. Extreme: The effect of this kind of bug problems aren't limited to a
few users or to few transaction types
8. Intolerable: The effect of this kind of bug Long term unrecoverable
(corruption of the database occurs)
9. Catastrophic: The effect of this kind of bug decision to shut down is
taken out of our hands because the system fails.
10. Infectious: The effect of this kind of bug What can be worse than a
failed system? One that corrupt other systems
TAXONOMY or TYPE OF BUGS:
The major categories are
(1) Requirements, Features and Functionality Bugs
(2) Structural Bugs
(3) Data Bugs
(4) Coding Bugs
(5) Interface, Integration and System Bugs
(6) Test and Test Design Bugs.
Software Testing Models
MITS – R18 ST
V-Model
V-Shaped SDLC Model
• A variant of the Waterfall
emphasizes the verification and
validation of the product.
• Testing of the product is planned
in parallel with a corresponding
phase of development
V-Shaped Steps
• Project and Requirements Planning – allocate resources
• Product Requirements and Specification Analysis – complete specification of
the software system
• Architecture or High-Level Design – defines how software functions fulfil
the design
• Detailed Design – develop algorithms for each architectural component
• Production, operation and maintenance – provide for enhancement and
corrections
• System and acceptance testing – check the entire software system in its
environment
• Integration and Testing – check that modules interconnect correctly
• Unit testing – check that each module acts as expected
• Coding – transform algorithms into software
• Emphasize planning for verification and validation of the
product in the early stages of product development
• Each deliverable must be testable
• Project management can track progress by milestones
• Easy to use
V-Shaped Strengths
V-Shaped Weaknesses
• Does not easily handle concurrent events
• Does not handle iterations or phases
• Does not easily handle dynamic changes in requirements
• Does not contain risk analysis activities

More Related Content

Similar to ST UNIT-1.pptx

Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Venkatesh Prasad Ranganath
 
SE Group H.pptx
SE Group H.pptxSE Group H.pptx
SE Group H.pptxStudyvAbhi
 
STM-UNIT-1.pptx
STM-UNIT-1.pptxSTM-UNIT-1.pptx
STM-UNIT-1.pptxnischal55
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTINGacemindia
 
Software testing and introduction to quality
Software testing and introduction to qualitySoftware testing and introduction to quality
Software testing and introduction to qualityDhanashriAmbre
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tacticsPreeti Mishra
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Prof .Pragati Khade
 
Aim (A).pptx
Aim (A).pptxAim (A).pptx
Aim (A).pptx14941
 
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit TestingReading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit TestingArtemisa Yescas Engler
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design Jayant Dalvi
 
Object oriented sad 6
Object oriented sad 6Object oriented sad 6
Object oriented sad 6Bisrat Girma
 
Software testing
Software testingSoftware testing
Software testingEng Ibrahem
 

Similar to ST UNIT-1.pptx (20)

Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)
 
SE Group H.pptx
SE Group H.pptxSE Group H.pptx
SE Group H.pptx
 
STM-UNIT-1.pptx
STM-UNIT-1.pptxSTM-UNIT-1.pptx
STM-UNIT-1.pptx
 
stm f.pdf
stm f.pdfstm f.pdf
stm f.pdf
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
T0 numtq0nje=
T0 numtq0nje=T0 numtq0nje=
T0 numtq0nje=
 
Software testing and introduction to quality
Software testing and introduction to qualitySoftware testing and introduction to quality
Software testing and introduction to quality
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
 
Aim (A).pptx
Aim (A).pptxAim (A).pptx
Aim (A).pptx
 
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit TestingReading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing
 
Software testing
Software testingSoftware testing
Software testing
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
Object oriented sad 6
Object oriented sad 6Object oriented sad 6
Object oriented sad 6
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
 
Software testing
Software testingSoftware testing
Software testing
 
Fundamentals of Testing Section 1/6
Fundamentals of Testing   Section 1/6Fundamentals of Testing   Section 1/6
Fundamentals of Testing Section 1/6
 

Recently uploaded

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 

ST UNIT-1.pptx

  • 1. G Sreenivasulu M.Tech(Ph.D) Assistant Professor Dept. of CSE STM Text Book:Boris Beizer
  • 2. Introduction to Testing Purpose of Testing: What is testing? Testing is the process of exercise or verify a system by manual or automated that satisfies specified requirements. Purpose of Testing: The purpose of testing is to find the error that led to the program's failure. Productivity and Quality in Software: Phases in a tester's mental life: tester's mental life can be categorized into the following 5 phases
  • 3. Phases in a tester's mental life • Phase 0: (Until 1956: Debugging Oriented) There is no difference between testing and debugging. • Phase 1: (1957-1978: Demonstration Oriented) the purpose of testing here is to show that software works. Highlighted during the late 1970s. • Phase 2: (1979-1982: Destruction Oriented) the purpose of testing is to show that software doesn’t work. • Phase 3: (1983-1987: Evaluation Oriented) the purpose of testing is not to prove anything but to reduce the risk of not working • Phase 4: (1988-2000: Prevention Oriented) it is the process to reduce the labor of testing. By dividing testable and non- testable code.
  • 4. Test Design/Testing Process: Tests should be properly designed and tested before applying it to the actual code. Testing isn’t everything: There are approaches other than testing to create better software. Methods other than testing include Inspection Methods: Methods like walkthroughs,formal inspections Design Style: While designing the software itself, adopting stylistic objectives Static Analysis Methods: Includes formal analysis of source code during compilation Languages: The source language can help reduce certain kinds of bugs Development Methodologies and Development Environment:
  • 5. Dichotomies:(contrast between two things) • Testing Versus Debugging: Testing starts with known conditions Debugging starts from unknown conditions Testing can and should be planned Debugging can and should not be planned testing can be done without design knowledge Debugging is impossible without design knowledge Testing can often be done by an outsider Debugging must be done by an insider Test execution and design can be automated. Automated debugging is still a dream
  • 6. Function versus Structure: Functional testing basically concern about only results but not processing Structural testing basically concern about only results but processing Designer versus Tester: Designer is the person who designs the tests Tester is the one actually tests the code Modularity versus Efficiency: A module is a discrete, well-defined, small component of a system Smaller the modules, difficult to integrate; larger the modules, difficult to understand Small versus Large: Programming in large means constructing programs that consists of many components written by many different programmers Programming in the small is what we do for ourselves in the privacy of our own offices
  • 7. Builder versus Buyer: Builder: Who designs the system and is accountable to the buyer. Buyer: Who pays for the system for profits from providing services. User: Ultimate beneficiary or victim of the system. Tester: Who is dedicated to the builder's destruction. Operator: Who has to live with the builders mistakes, the buyers unclear specifications, testers' oversights and the users' complaints.
  • 9. • Environment : A Program's environment is the hardware and software required to make it run • Program: Most programs are too complicated to understand in detail. The concept of the program is to be simplified in order to test it • Tests: Tests are formal procedures, Inputs must be prepared, Outcomes should be predict tests should be documented, commands need to be executed, and results are to be observed. • Bugs: An unexpected test result may lead us to change the code
  • 10. Three distinct kinds of testing on a typical software system Levels of Testing: Unit / Component Testing: A Unit is the smallest testable piece of software that can be compiled, assembled, linked, loaded etc. Integration Testing: Integration is the process by which components are aggregated to create larger components System Testing: A System is a big component. System Testing is aimed at revealing bugs that cannot be attributed to components
  • 11. Limitations of Testing: • You cannot test a program completely(total testing is impossible) • You cannot test every statement of the program • You cannot test every path • You cannot test every true and false condition • You cannot test every condition of a decision node • You cannot test every valid input • You cannot test every invalid input • You can only test against system requirements • It requires more time and resources to accomplish quality in testing
  • 12. CONSEQUENCES OF BUGS Importance of bugs: The importance of bugs depends on frequency, correction cost, installation cost, and consequences. • Frequency: How often does that kind of bug occur? Pay more attention to the more frequent bug types. • Correction Cost: What does it cost to correct the bug after it is found? The cost is the sum of 2 factors: (1) the cost of discovery (2) the cost of correction • Installation Cost: Installation cost depends on the number of installations • Consequences:(Impact/Effect) Consequences of the bug can range from mild to catastrophic. Importance($) = Frequency * (Correction cost + Installation cost + Consequential cost)
  • 13. The consequences of a bug can be measure in terms of human rather than machine. Some consequences of a bug on a scale of one to ten are 1. Mild: The effect of this kind of bug is gently (misspelled output ) 2. Moderate: The effect of this kind of bug impacts the system's performance. (Outputs are misleading ) 3. Annoying: The effect of this kind of bug impacts system's behavior (Names are truncated/cutting) 4. Disturbing: The effect of this kind of bug refuses transactions (ATM won’t give you money or credit card is declared invalid) 5. Serious: The effect of this kind of bug loses its transactions (Accountability is lost)
  • 14. 6. Very Serious: The effect of this kind of bug causes the system to do the wrong transactions(system credits it to another account) 7. Extreme: The effect of this kind of bug problems aren't limited to a few users or to few transaction types 8. Intolerable: The effect of this kind of bug Long term unrecoverable (corruption of the database occurs) 9. Catastrophic: The effect of this kind of bug decision to shut down is taken out of our hands because the system fails. 10. Infectious: The effect of this kind of bug What can be worse than a failed system? One that corrupt other systems
  • 15. TAXONOMY or TYPE OF BUGS: The major categories are (1) Requirements, Features and Functionality Bugs (2) Structural Bugs (3) Data Bugs (4) Coding Bugs (5) Interface, Integration and System Bugs (6) Test and Test Design Bugs.
  • 16.
  • 19. V-Shaped SDLC Model • A variant of the Waterfall emphasizes the verification and validation of the product. • Testing of the product is planned in parallel with a corresponding phase of development
  • 20. V-Shaped Steps • Project and Requirements Planning – allocate resources • Product Requirements and Specification Analysis – complete specification of the software system • Architecture or High-Level Design – defines how software functions fulfil the design • Detailed Design – develop algorithms for each architectural component • Production, operation and maintenance – provide for enhancement and corrections • System and acceptance testing – check the entire software system in its environment • Integration and Testing – check that modules interconnect correctly • Unit testing – check that each module acts as expected • Coding – transform algorithms into software
  • 21. • Emphasize planning for verification and validation of the product in the early stages of product development • Each deliverable must be testable • Project management can track progress by milestones • Easy to use V-Shaped Strengths
  • 22. V-Shaped Weaknesses • Does not easily handle concurrent events • Does not handle iterations or phases • Does not easily handle dynamic changes in requirements • Does not contain risk analysis activities