SlideShare a Scribd company logo
1 of 13
Download to read offline
Improving Quality Through
  Software Inspections
            Paunescu Dorin - Nicolae
Improving Quality Through Software
                   Inspections

●   Benefits of Inspections
●   Inspections, Walkthroughs, and Reviews
●   Guiding Principles
●   Inspecting for Usability
●   Keeping Records
●   Making Inspections Work for You
Improving Quality Through Software
Inspections

● Benefits of Inspections
   ○ The cost of fixing a defect rises dramatically the later
     it is found in the development lifecycle of the
     program
   ○ In fact, the greatest leverage from the time spent on
     software inspections comes from examining
     requirements documents, since correcting a bug this
     early in the game will save you the most money
   ○ Inspections tend to reveal different kinds of errors
     than do testing activities.
   ○ Incorporating inspections into your software
     engineering process is not free. They can consume
     between 5 and 15% of the total project budget
Improving Quality Through Software
                      Inspections

● Inspections, Walkthroughs, and Reviews (1)
   ○ An inspection team consists of 3-8 members and
     includes these roles:
      ■ Moderator - leads the inspection, schedules meetings, controls
           the meetings, reports inspection results, and follows up on rework
           issues
       ■   Author - created or maintains the work product being inspected.
           The author may answer questions asked about the product during
           the inspection, and he also looks for defects.
       ■   Reader - describes the sections of the work product to the team
           as they proceed through the inspection
       ■   Recorder - classifies and records defects and issues raised
           during the inspection
       ■   Inspector - attempts to find errors in the product
Improving Quality Through Software
                       Inspections
● Inspections, Walkthroughs, and Reviews (2)
   ○ A formal inspection consists of several activities:
     ■ Planning - The moderator selects the inspection team, obtains materials to be
             inspected from the author, and distributes them and any other relevant documents to
             the inspection team in advance
        ■    Overview meeting - This meeting gives the author an opportunity to describe the
             important features of the product to the inspection team
        ■    Preparation - Each participant is responsible for examining the work artifacts prior to
             the actual inspection meeting, noting any defects found or issues to be raised
        ■    Inspection meeting - During this session, the team convenes and is led through the
             work product by the moderator and reader
        ■    Causal analysis - An important long-term benefit of an inspection program is the
             insight it can provide into the kinds of defects being created and process changes you
             can make to prevent them
        ■    Rework - The author is responsible for resolving all issues raised during the inspection
        ■    Follow-up - To verify that the necessary rework has been performed properly, the
             moderator is responsible for following up with the author
Improving Quality Through Software
                   Inspections

● Guiding Principles
   ○ Every inspection or review process should follow
     some basic guiding principles:
     ■ Critique the products, not the producers
     ■ Find problems during the review; don't try to fix
        them
     ■ Limit inspection meetings to a maximum of two
        hours
     ■ Avoid style issues unless they impact
        performance or understandability
     ■ Inspect early and often, formally and informally
Improving Quality Through Software
                   Inspections

● Inspecting for Usability
   ○ The usability inspection process differs somewhat
     from that of other software artifacts. Participants are
     not expected to prepare for the inspection by
     examining the materials in advance. The best
     inspection results are obtained by making two
     passes through the user interface:
      ■ In the first pass, the interface is "executed" by
        walking through various usage scenarios
      ■ In the second pass, each of the interface
        components is examined individually and in
        detail, independently of how that component fits
        into a specific usage scenario
Improving Quality Through Software
                   Inspections

● Keeping Records (1)
   ○ Recordkeeping is a major distinction between
     informal and formal review activities. There are three
     aspects to this task: recording defects during the
     inspection meeting; collecting data from multiple
     inspections; and analyzing the defect trends to
     assess inspection effectiveness and identify ways to
     improve your software development process to
     prevent common types of defects.
   ○ Each error found is described in enough detail that
     the author can refer to this list during the rework step
     and understand the point that was raised
Improving Quality Through Software
                   Inspections

● Keeping Records (2)
   ○ The defect list from a single inspection should be
     distilled down to a summary report with a count of
     the defects in each category you are using for
     classification
   ○ This summary can be entered into an inspection
     database, if you are maintaining one
   ○ An effective, ongoing inspection process permits an
     organization to combine data from multiple
     inspections to gain insight into the quality of both the
     review process and the products being reviewed
Improving Quality Through Software
                  Inspections

● Making Inspections Work for You (1)
  ○ Keep these tips in mind:
      ■ Provide inspection training for all moderators,
        and for as many of the other participants as you
        can afford. Software managers should receive
        inspection training also, so they can appreciate
        the value of the process and understand the
        importance of allocating time in the schedules for
        people to participate in inspections of other
        developers' work products.
Improving Quality Through Software
                     Inspections

● Making Inspections Work for You (2)
    ■ Build inspections into the project schedule. Don't
          forget to factor in time for the inevitable rework
          that follows a successful inspection.
      ■   Inform the participants and, if appropriate, your
          customers of the benefits of inspection
      ■   Recognize that the time you devote to inspecting
          another person's work product is for the benefit of
          the whole organization, and also that others will
          assist your project efforts in the same way
Improving Quality Through Software
                    Inspections

● Making Inspections Work for You (3)
        ■ Have a local champion who preaches the merits
           of inspection from his own experience, coaches
           others as they get started, and strives to improve
           your inspection processes
    There are three possible sequences, depending on how
experienced you are in performing inspections and how
effective your approach is in finding defects:
           ● code/inspect/compile/link/test
           ● code/compile/inspect/link/test
           ● code/compile/link/test/inspect/retest
bibliography:


http://www.processimpact.com/articles/inspects.html

More Related Content

What's hot (20)

Static Testing
Static TestingStatic Testing
Static Testing
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testing
 
Learn software testing
Learn software testingLearn software testing
Learn software testing
 
Static testing techniques
Static testing techniquesStatic testing techniques
Static testing techniques
 
3.static techniques
3.static techniques3.static techniques
3.static techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control software
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Fagan Inspection
Fagan InspectionFagan Inspection
Fagan Inspection
 
Software testing
Software testingSoftware testing
Software testing
 
Introduction to Software Review
Introduction to Software ReviewIntroduction to Software Review
Introduction to Software Review
 
Chapter Three Static Techniques
Chapter Three Static TechniquesChapter Three Static Techniques
Chapter Three Static Techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3
 
Unit 8
Unit 8Unit 8
Unit 8
 
ISTQB - Software development life cycle
ISTQB - Software development life cycleISTQB - Software development life cycle
ISTQB - Software development life cycle
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
STATIC TECHNIQUES
 
NOSQAA Requirements Inspection
NOSQAA Requirements InspectionNOSQAA Requirements Inspection
NOSQAA Requirements Inspection
 

Viewers also liked

software project management Software inspection
software project management Software inspectionsoftware project management Software inspection
software project management Software inspectionREHMAT ULLAH
 
Software Inspection And Defect Management
Software Inspection And Defect ManagementSoftware Inspection And Defect Management
Software Inspection And Defect ManagementAjay K
 
Workplace Inspection
Workplace InspectionWorkplace Inspection
Workplace Inspectioncflbuilder
 
verification and validation
verification and validationverification and validation
verification and validationDinesh Pasi
 
Reviews checklists
Reviews checklistsReviews checklists
Reviews checklistsOana Feidi
 

Viewers also liked (10)

software project management Software inspection
software project management Software inspectionsoftware project management Software inspection
software project management Software inspection
 
Verification and validation
Verification and validationVerification and validation
Verification and validation
 
Software Verification & Validation
Software Verification & ValidationSoftware Verification & Validation
Software Verification & Validation
 
Validation for different kind of data
Validation for different kind of dataValidation for different kind of data
Validation for different kind of data
 
Software Inspection And Defect Management
Software Inspection And Defect ManagementSoftware Inspection And Defect Management
Software Inspection And Defect Management
 
Validation and verification
Validation and verificationValidation and verification
Validation and verification
 
Workplace Inspection
Workplace InspectionWorkplace Inspection
Workplace Inspection
 
Verification & Validation
Verification & ValidationVerification & Validation
Verification & Validation
 
verification and validation
verification and validationverification and validation
verification and validation
 
Reviews checklists
Reviews checklistsReviews checklists
Reviews checklists
 

Similar to softwareinspections

11. SE_Quality Assurance.pptx
11. SE_Quality Assurance.pptx11. SE_Quality Assurance.pptx
11. SE_Quality Assurance.pptxSaqibHabib11
 
Chapter 8 software quality assurance and configuration audit
Chapter 8 software quality assurance and configuration auditChapter 8 software quality assurance and configuration audit
Chapter 8 software quality assurance and configuration auditCliftone Mullah
 
Quality assurance work throughand inspections(report2)
Quality assurance work throughand inspections(report2)Quality assurance work throughand inspections(report2)
Quality assurance work throughand inspections(report2)kimk2
 
Quality Assurance: An Overview
Quality Assurance: An OverviewQuality Assurance: An Overview
Quality Assurance: An OverviewAnant Corporation
 
Topic: Software Reviews Presentation.pptx
Topic: Software Reviews Presentation.pptxTopic: Software Reviews Presentation.pptx
Topic: Software Reviews Presentation.pptxsyedadamiya
 
Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)ShudipPal
 
Improving quality through software inspections
Improving quality through software inspectionsImproving quality through software inspections
Improving quality through software inspectionsgeorge_ionita
 
A Definitive Guide To Release Management
 A Definitive Guide To Release Management A Definitive Guide To Release Management
A Definitive Guide To Release ManagementEnov8
 
Agile Software Development with Scrum_ A Complete Guide to The Steps in Agile...
Agile Software Development with Scrum_ A Complete Guide to The Steps in Agile...Agile Software Development with Scrum_ A Complete Guide to The Steps in Agile...
Agile Software Development with Scrum_ A Complete Guide to The Steps in Agile...Fibonalabs
 
software engineering
software engineeringsoftware engineering
software engineeringshreeuva
 
Static techniques
Static techniquesStatic techniques
Static techniqueseva khasana
 
Software Quality Assurance in software engineering
Software Quality Assurance in software engineeringSoftware Quality Assurance in software engineering
Software Quality Assurance in software engineeringMuhammadTalha436
 
Chapter 5 Software Quality Assurance-Finalised_BW.ppt
Chapter 5 Software Quality Assurance-Finalised_BW.pptChapter 5 Software Quality Assurance-Finalised_BW.ppt
Chapter 5 Software Quality Assurance-Finalised_BW.pptBule Hora University
 
Software Quality Assurance - Software Engineering PPT by Devansh Koolwal
Software Quality Assurance - Software Engineering PPT by Devansh KoolwalSoftware Quality Assurance - Software Engineering PPT by Devansh Koolwal
Software Quality Assurance - Software Engineering PPT by Devansh KoolwalDevansh Koolwal
 

Similar to softwareinspections (20)

11. SE_Quality Assurance.pptx
11. SE_Quality Assurance.pptx11. SE_Quality Assurance.pptx
11. SE_Quality Assurance.pptx
 
Chapter 8 software quality assurance and configuration audit
Chapter 8 software quality assurance and configuration auditChapter 8 software quality assurance and configuration audit
Chapter 8 software quality assurance and configuration audit
 
Quality assurance work throughand inspections(report2)
Quality assurance work throughand inspections(report2)Quality assurance work throughand inspections(report2)
Quality assurance work throughand inspections(report2)
 
Quality Assurance: An Overview
Quality Assurance: An OverviewQuality Assurance: An Overview
Quality Assurance: An Overview
 
Topic: Software Reviews Presentation.pptx
Topic: Software Reviews Presentation.pptxTopic: Software Reviews Presentation.pptx
Topic: Software Reviews Presentation.pptx
 
Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)
 
Improving quality through software inspections
Improving quality through software inspectionsImproving quality through software inspections
Improving quality through software inspections
 
A Definitive Guide To Release Management
 A Definitive Guide To Release Management A Definitive Guide To Release Management
A Definitive Guide To Release Management
 
Agile Software Development with Scrum_ A Complete Guide to The Steps in Agile...
Agile Software Development with Scrum_ A Complete Guide to The Steps in Agile...Agile Software Development with Scrum_ A Complete Guide to The Steps in Agile...
Agile Software Development with Scrum_ A Complete Guide to The Steps in Agile...
 
software engineering
software engineeringsoftware engineering
software engineering
 
SQA_Class
SQA_ClassSQA_Class
SQA_Class
 
Software testing introduction
Software testing  introductionSoftware testing  introduction
Software testing introduction
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Software Quality Assurance in software engineering
Software Quality Assurance in software engineeringSoftware Quality Assurance in software engineering
Software Quality Assurance in software engineering
 
Chapter 5 Software Quality Assurance-Finalised_BW.ppt
Chapter 5 Software Quality Assurance-Finalised_BW.pptChapter 5 Software Quality Assurance-Finalised_BW.ppt
Chapter 5 Software Quality Assurance-Finalised_BW.ppt
 
Software Quality Assurance - Software Engineering PPT by Devansh Koolwal
Software Quality Assurance - Software Engineering PPT by Devansh KoolwalSoftware Quality Assurance - Software Engineering PPT by Devansh Koolwal
Software Quality Assurance - Software Engineering PPT by Devansh Koolwal
 
Project Management.pdf
Project Management.pdfProject Management.pdf
Project Management.pdf
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Bab 3
Bab 3Bab 3
Bab 3
 
Software development process
Software development processSoftware development process
Software development process
 

Recently uploaded

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
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
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
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
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
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
 
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
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
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
 

Recently uploaded (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
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
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
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
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
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
 
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
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
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
 

softwareinspections

  • 1. Improving Quality Through Software Inspections Paunescu Dorin - Nicolae
  • 2. Improving Quality Through Software Inspections ● Benefits of Inspections ● Inspections, Walkthroughs, and Reviews ● Guiding Principles ● Inspecting for Usability ● Keeping Records ● Making Inspections Work for You
  • 3. Improving Quality Through Software Inspections ● Benefits of Inspections ○ The cost of fixing a defect rises dramatically the later it is found in the development lifecycle of the program ○ In fact, the greatest leverage from the time spent on software inspections comes from examining requirements documents, since correcting a bug this early in the game will save you the most money ○ Inspections tend to reveal different kinds of errors than do testing activities. ○ Incorporating inspections into your software engineering process is not free. They can consume between 5 and 15% of the total project budget
  • 4. Improving Quality Through Software Inspections ● Inspections, Walkthroughs, and Reviews (1) ○ An inspection team consists of 3-8 members and includes these roles: ■ Moderator - leads the inspection, schedules meetings, controls the meetings, reports inspection results, and follows up on rework issues ■ Author - created or maintains the work product being inspected. The author may answer questions asked about the product during the inspection, and he also looks for defects. ■ Reader - describes the sections of the work product to the team as they proceed through the inspection ■ Recorder - classifies and records defects and issues raised during the inspection ■ Inspector - attempts to find errors in the product
  • 5. Improving Quality Through Software Inspections ● Inspections, Walkthroughs, and Reviews (2) ○ A formal inspection consists of several activities: ■ Planning - The moderator selects the inspection team, obtains materials to be inspected from the author, and distributes them and any other relevant documents to the inspection team in advance ■ Overview meeting - This meeting gives the author an opportunity to describe the important features of the product to the inspection team ■ Preparation - Each participant is responsible for examining the work artifacts prior to the actual inspection meeting, noting any defects found or issues to be raised ■ Inspection meeting - During this session, the team convenes and is led through the work product by the moderator and reader ■ Causal analysis - An important long-term benefit of an inspection program is the insight it can provide into the kinds of defects being created and process changes you can make to prevent them ■ Rework - The author is responsible for resolving all issues raised during the inspection ■ Follow-up - To verify that the necessary rework has been performed properly, the moderator is responsible for following up with the author
  • 6. Improving Quality Through Software Inspections ● Guiding Principles ○ Every inspection or review process should follow some basic guiding principles: ■ Critique the products, not the producers ■ Find problems during the review; don't try to fix them ■ Limit inspection meetings to a maximum of two hours ■ Avoid style issues unless they impact performance or understandability ■ Inspect early and often, formally and informally
  • 7. Improving Quality Through Software Inspections ● Inspecting for Usability ○ The usability inspection process differs somewhat from that of other software artifacts. Participants are not expected to prepare for the inspection by examining the materials in advance. The best inspection results are obtained by making two passes through the user interface: ■ In the first pass, the interface is "executed" by walking through various usage scenarios ■ In the second pass, each of the interface components is examined individually and in detail, independently of how that component fits into a specific usage scenario
  • 8. Improving Quality Through Software Inspections ● Keeping Records (1) ○ Recordkeeping is a major distinction between informal and formal review activities. There are three aspects to this task: recording defects during the inspection meeting; collecting data from multiple inspections; and analyzing the defect trends to assess inspection effectiveness and identify ways to improve your software development process to prevent common types of defects. ○ Each error found is described in enough detail that the author can refer to this list during the rework step and understand the point that was raised
  • 9. Improving Quality Through Software Inspections ● Keeping Records (2) ○ The defect list from a single inspection should be distilled down to a summary report with a count of the defects in each category you are using for classification ○ This summary can be entered into an inspection database, if you are maintaining one ○ An effective, ongoing inspection process permits an organization to combine data from multiple inspections to gain insight into the quality of both the review process and the products being reviewed
  • 10. Improving Quality Through Software Inspections ● Making Inspections Work for You (1) ○ Keep these tips in mind: ■ Provide inspection training for all moderators, and for as many of the other participants as you can afford. Software managers should receive inspection training also, so they can appreciate the value of the process and understand the importance of allocating time in the schedules for people to participate in inspections of other developers' work products.
  • 11. Improving Quality Through Software Inspections ● Making Inspections Work for You (2) ■ Build inspections into the project schedule. Don't forget to factor in time for the inevitable rework that follows a successful inspection. ■ Inform the participants and, if appropriate, your customers of the benefits of inspection ■ Recognize that the time you devote to inspecting another person's work product is for the benefit of the whole organization, and also that others will assist your project efforts in the same way
  • 12. Improving Quality Through Software Inspections ● Making Inspections Work for You (3) ■ Have a local champion who preaches the merits of inspection from his own experience, coaches others as they get started, and strives to improve your inspection processes There are three possible sequences, depending on how experienced you are in performing inspections and how effective your approach is in finding defects: ● code/inspect/compile/link/test ● code/compile/inspect/link/test ● code/compile/link/test/inspect/retest