WALKTHROUGH and INSPECTION

Slides:



Advertisements
Similar presentations
Slide 6.1 © The McGraw-Hill Companies, 2007 Object-Oriented and Classical Software Engineering Seventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach.
Advertisements

Software Project Management Lecture # 11. Outline Quality Management ( chapter 26 - Pressman )  Software reviews  Formal Inspections & Technical Reviews.
©Ian Sommerville 2000Software Engineering. Chapter 22Slide 1 Chapter 22 Verification and Validation.
Testing Without Executing the Code Pavlina Koleva Junior QA Engineer WinCore Telerik QA Academy Telerik QA Academy.
1 Software Testing and Quality Assurance Lecture 2 Software Verification & Validation.
Testing Xiaojun Qi.
Slide 13.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
CSC 395 – Software Engineering Lecture 9: Testing -or- How I Stopped Worrying and Learned to Love the Bug.
 QUALITY ASSURANCE:  QA is defined as a procedure or set of procedures intended to ensure that a product or service under development (before work is.
Verification and Validation
1 Software Inspections and Walkthroughs Author: A. Frank Ackerman Presented by Cynthia Johnson EEL6883.
Design Reviews Peer Reviews. Agenda Peer Reviews Participants of Peer Review Preparation for a Peer Review Session The Peer Review Session Post-peer Review.
Slide 6.1 Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill,
1CMSC 345, Version 4/04 Verification and Validation Reference: Software Engineering, Ian Sommerville, 6th edition, Chapter 19.
Active Design Reviews Doug Paida Roy Mammen Sharan Mudgal Jerry Cheng.
Software Quality Chapter Software Quality  How can you tell if software has high quality?  How can we measure the quality of software?  How.
Software Inspections and Walkthroughs By. Adnan khan.
Slide 6.1 CHAPTER 6 TESTING. Slide 6.2 Overview l Quality issues l Nonexecution-based testing l Execution-based testing l What should be tested? l Testing.
Software Quality Assurance Lecture #4 By: Faraz Ahmed.
Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach.
Software Inspection A basic tool for defect removal A basic tool for defect removal Urgent need for QA and removal can be supported by inspection Urgent.
Software Testing Sudipto Ghosh CS 406 Fall 99(Also used later) November 2, 1999.
Slide 10.1 Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. Object-Oriented and Classical Software Engineering Eighth Edition,
Slide 6.1 © The McGraw-Hill Companies, 2002 Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
... there is no particular reason why your friend and colleague cannot also be your sternest critic. --Jerry Weinberg --Jerry Weinberg.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Software Verification, Validation and Testing.
CHAPTER 9 INSPECTIONS AS AN UP-FRONT QUALITY TECHNIQUE
Software Testing and Maintenance 1 Code Review  Introduction  How to Conduct Code Review  Practical Tips  Tool Support  Summary.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 19Slide 1 Chapter 19 Verification and Validation.
These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman.1.
Chapter 12: Software Inspection Omar Meqdadi SE 3860 Lecture 12 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
KUFA UNIVERSITY Department of Computer Science 06/12/2015.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Slide 6.1 CHAPTER 6 TESTING. Slide 6.2 Overview l Quality issues l Nonexecution-based testing l Execution-based testing l What should be tested? l Testing.
© Michael Crosby and Charles Sacker, 2001 Systematic Software Reviews Software reviews are a “quality improvement process for written material”.
These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman.1.
Workflows Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 19Slide 1 Software inspections l Involve people examining the source representation with.
Software Project Management Lecture # 12. Outline Quality Management ( chapter 26 - Pressman )  SQA  Who does it?  SQA Activities  Software reviews.
Verification vs. Validation Verification: "Are we building the product right?" The software should conform to its specification.The software should conform.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 19Slide 1 Verification and Validation l Assuring that a software system meets a user's.
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini XVII. Verification and Validation.
Slide 10.1 CHAPTER 10 OVERVIEW OF THE PREVIOUS CHAPTERS.
© Mahindra Satyam 2009 Inspections and Reviews QMS Training.
Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen R
Review Techniques SEII-Lecture 16
Software Quality Control and Quality Assurance: Introduction
Software Configuration Management (SCM)
Components of software quality assurance system overview
CSC 480 Software Engineering
Verification and Validation
Chapter 21 Software Quality Assurance
Verification and Validation
Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach
Verification and Validation
Software Quality Engineering
Software Inspections and Testing
Chapter 21 Software Quality Assurance
Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach.
Peer Reviews 11/21/2018.
G&W Chapter 20: Technical Reviews Software Specification Lecture 27
Inspection and Review The main objective of an Inspection or a Review is to detect defects. (Not for Giving Alternative Solutions) This activity and procedure.
Applied Software Project Management
Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
Dr. Rob Hasker SE 3800 Note 9 Reviews.
QA Reviews Lecture # 6.
Software Reviews.
Testing, Inspection, Walkthrough
Presentation transcript:

WALKTHROUGH and INSPECTION

Source: Chapter 6 Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach

Non-Execution-Based Testing Testing software without running test cases Reviewing software, carefully reading through it Analyzing software mathematically Underlying principles We should not review our own work Other people should do the review. We cannot see our own mistakes. Group synergy Review using a team of software professionals with a brad range of skills

Experienced Senior technical Staff members 1. Walkthroughs A walkthrough team consists of from four to six members It includes representatives of The team responsible for the current workflow The team responsible for the next workflow The SQA group The client representative The walkthrough is preceded by preparation Lists of items Items not understood Items that appear to be incorrect Experienced Senior technical Staff members

Managing Walkthroughs The walkthrough team is chaired by the SQA representative In a walkthrough we detect faults, not correct them A correction produced by a committee is likely to be of low quality The cost of a committee correction is too high Not all items flagged are actually incorrect A walkthrough should not last longer than 2 hours There is no time to correct faults as well

Managing Walkthroughs (contd) Walkthrough can be Participant driven : reviewers present their lists Document Driven : person/team responsible from the document walks through it A walkthrough must be document-driven, rather than participant-driven Walkthrough leader elicits questions and facilitates discussion Verbalization leads to fault finding A walkthrough should never be used for performance appraisal

2. Inspections An inspection has five formal steps Overview : Given by a person responsible from producing the document Document distributed at the end of the session Preparation Understand the document in detail Use statistics of fault types Inspection One participant walks through the document Every item must be covered Every branch must be taken at least once Fault finding begins Within 1 day moderator (team leader) produces a written report Rework Person responsible resolves all faults and problems in the written document Follow-up Moderator ensures that all issues mentioned in the report are resolved List faults that were fixed. Clarify incorrectly flagged items

An inspection has five formal steps Moderator ensures that all issues mentioned in the report are resolved List faults that were fixed. Clarify incorrectly flagged items Follow-up Person responsible resolves all faults and problems in the written document Rework One participant walks through the document Every item must be covered Every branch must be taken at least once Fault finding begins Within 1 day moderator (team leader) produces a written report Inspection Understand the document in detail Use statistics of fault types Preparation Given by a person responsible from producing the document Document distributed at the end of the session Overview :

Inspections (contd) An inspection team has four members Moderator A member of the team performing the current workflow A member of the team performing the next workflow A member of the SQA group Special roles are played by the Reader Recorder

A fault that causes termination of the program Fault Statistics A fault that causes termination of the program Faults are recorded by severity Example: Major or minor Faults are recorded by fault type Examples of design faults: Not all specification items have been addressed Actual and formal arguments do not correspond In general interface and logic errors

Fault Statistics (contd) For a given workflow, we compare current fault rates with those of previous products Early warning!!!! If disproportionate number of a certain fault type is discovered in 203 code artifacts Check other artifacts for the same fault type We take action if there are a disproportionate number of faults in an artifact Redesigning from scratch is a good alternative We carry forward fault statistics to the next workflow We may not detect all faults of a particular type in the current inspection

Statistics on Inspections IBM inspections showed up 82% of all detected faults (1976) 70% of all detected faults (1978) 93% of all detected faults (1986) Switching system 90% decrease in the cost of detecting faults (1986) JPL Four major faults, 14 minor faults per 2 hours (1990) Savings of $25,000 per inspection The number of faults decreased exponentially by phase (1992)

Statistics on Inspections (contd) Warning Fault statistics should never be used for performance appraisal “Killing the goose that lays the golden eggs” Another problem:

Comparison of Inspections and Walkthroughs Two-step, informal process Preparation Analysis Inspection Five-step, formal process Overview Rework Follow-up

Strengths and Weaknesses of Reviews Reviews can be effective Faults are detected early in the process Reviews are less effective if the process is inadequate Large-scale software should consist of smaller, largely independent pieces The documentation of the previous workflows has to be complete and available online

Metrics for Inspections Inspection rate (e.g., design pages inspected per hour) Fault density (e.g., faults per KLOC inspected) Fault detection rate (e.g., faults detected per hour) Fault detection efficiency (e.g., number of major, minor faults detected per hour)

Metrics for Inspections (contd) Does a 50% increase in the fault detection rate mean that Quality has decreased? Or The inspection process is more efficient?