... there is no particular reason why your friend and colleague cannot also be your sternest critic. --Jerry Weinberg --Jerry Weinberg.

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.
Formal Technical Reviews
These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman.1.
SE382 Software Engineering Lecture 21b
Testing Without Executing the Code Pavlina Koleva Junior QA Engineer WinCore Telerik QA Academy Telerik QA Academy.
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.
Testing Xiaojun Qi.
Week 7: Requirements validation Structured walkthroughs Why have walkthroughs When to have walkthroughs Who participates What procedures are helpful Thoughtless.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
University of Sunderland CIFM03Lecture 1 1 Quality Management of IT CIFM03 Introduction.
CSC 395 – Software Engineering Lecture 9: Testing -or- How I Stopped Worrying and Learned to Love the Bug.
Software Quality Assurance - Outline ä What is Software Quality assurance(SQA)? ä Quality Concepts. ä Software Quality Assurance Activities. ä Software.
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,
Overview Software Quality Software Quality and Quality Assurance
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.
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.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Object-Oriented and Classical Software Engineering Eighth Edition, WCB/McGraw-Hill, 2011 Stephen R. Schach.
Software Inspections. Defect Removal Efficiency The number of defects found prior to releasing a product divided by The number of defects found prior.
Lecture 16 Formal Technical Reviews (FTRs) (also know as inspections) FOR0383 Software Quality Assurance 9/19/20151Dr Andy Brooks Don´t review in your.
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.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Unit 8 Syllabus Quality Management : Quality concepts, Software quality assurance, Software Reviews, Formal technical reviews, Statistical Software quality.
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.
Formal Technical Reviews Matt Graham 18 November 2004 EECS 814 University of Kansas.
Slide 6.1 © The McGraw-Hill Companies, 2002 Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
CHAPTER 9 INSPECTIONS AS AN UP-FRONT QUALITY TECHNIQUE
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.
University of Palestine software engineering department Testing of Software Systems Program Inspections, Walkthroughs, and Reviews instructor: Tasneem.
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.
Reviews and Inspections. Types of Evaluations Formal Design Reviews conducted by senior personnel or outside experts uncover potential problems Inspections.
Chapter 12: Software Inspection Omar Meqdadi SE 3860 Lecture 12 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Inspection and Review The main objective of an Inspection or a Review is to Detect Defects. (Today -there may be some other goals or broader definition.
These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman.1.
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.
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.
Peer Review Presented by : Basker George. Peer ( 同等的人 ) Review( 回顾 ) During the development of software, defects are inevitably ( 不可避免 ) injected. Defect.
More SQA Reviews and Inspections. Types of Evaluations  Verification Unit Test, Integration Test, Usability Test, etc  Formal Reviews  aka "formal.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 26 Quality Management Software Engineering: A Practitioner’s Approach, 6/e Chapter 26 Quality.
Software Project Management Lecture # 12. Outline Quality Management ( chapter 26 - Pressman )  SQA  Who does it?  SQA Activities  Software reviews.
SQA COMPONENTS IN THE PROJECT LIFE CYCLE C HAPTER 8 Dr. Ahmad F. Shubita.
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.
Object-Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen R
Review Techniques SEII-Lecture 16
Software Quality Assurance
For University Use Only
Software Engineering: A Practitioner’s Approach, 6/e 第 12 章 评审技术 copyright © 1996, 2001, 2005 R.S. Pressman & Associates, Inc. For University Use Only.
Chapter 20 Review Techniques
Lecture 12: Chapter 15 Review Techniques
Peer Reviews 11/21/2018.
Reviews & Inspections ... there is no particular reason
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.
Chapter 20 Review Techniques
Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
Review Techniques copyright © 1996, 2001, 2005 R. S
QA Reviews Lecture # 6.
WALKTHROUGH and INSPECTION
Software Engineering: A Practitioner’s Approach, 6/e Chapter 26 Quality Management copyright © 1996, 2001, 2005 R.S. Pressman & Associates, Inc. For.
Software Reviews.
Presentation transcript:

... there is no particular reason why your friend and colleague cannot also be your sternest critic. --Jerry Weinberg --Jerry Weinberg

Reviews and Inspections

 Underlying principles ◦ We should not review our own work ◦ Group synergy

 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

reviewleader producer recorder reviewer standards bearer (SQA) maintenanceoracle user rep

 Select Participants  Schedule meeting  Develop agenda  The walkthrough is preceded by preparation ◦ Evaluate product before walkthrough ◦ Lists of items  Items not understood  Items that appear to be incorrect

be prepared—evaluate product before the review review the product, not the producer keep your tone mild, ask questions instead of making accusations stick to the review agenda raise issues, don't resolve them avoid discussions of style—stick to technical correctness schedule reviews as project tasks record and report all review results

 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

 A walkthrough must be document-driven, rather than participant-driven  Verbalization leads to fault finding  A walkthrough should never be used for performance appraisal

 An inspection has five formal steps ◦ Overview ◦ Preparation, aided by statistics of fault types ◦ Inspection ◦ Rework ◦ Follow-up

 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 ◦ Moderator ◦ Reader ◦ Recorder

 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

 For a given workflow, we compare current fault rates with those of previous products  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

 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)

 Warning  Fault statistics should never be used for performance appraisal ◦ “Killing the goose that lays the golden eggs”

 Walkthrough ◦ Two-step, informal process  Preparation  Analysis  Inspection ◦ Five-step, formal process  Overview  Preparation  Inspection  Rework  Follow-up

 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

Review Options Matrix trained leader agenda established reviewers prepare in advance producer presents product “reader” presents product recorder takes notes checklists used to find errors errors categorized as found issues list created team must sign-off on result IPR—informal peer review WT—Walkthrough IN—Inspection RRR—round robin review (no face to face meeting) IPRWTIN RRR nomaybemaybemaybenomaybenonononoyesyesyesyesnoyesnonoyesyes yesyesyesnoyesyesyesyesyesyesyesyesyesnonoyesnonoyesmaybe * *

 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)

 Does a 50% increase in the fault detection rate mean that ◦ Quality has decreased? Or ◦ The inspection process is more efficient?