Peer Review and Testing

Slides:



Advertisements
Similar presentations
Object Oriented Analysis And Design-IT0207 iiI Semester
Advertisements

Configuration Management
Requirements Specification and Management
Damian Gordon.  Static Testing is the testing of a component or system at a specification or implementation level without execution of the software.
More CMM Part Two : Details.
Static Technique. Static Technique - Review  A way of testing software work products  Program code, requirement spec., design spec.  Test plan, test.
ISHIKAWA DIAGRAM – Tool for quality management Marit Laos IS Project Management
Testing Without Executing the Code Pavlina Koleva Junior QA Engineer WinCore Telerik QA Academy Telerik QA Academy.
 Every stage from phase DESIGN in Software Development Process will have “design document” especially in analysis and design phases.  “Design document”
Stepan Potiyenko ISS Sr.SW Developer.
SE 450 Software Processes & Product Metrics 1 Defect Removal.
SE 555 Software Requirements & Specification Requirements Validation.
Validating and Improving Test-Case Effectiveness Author: Yuri Chernak Presenter: Lam, Man Tat.
SOFTWARE PROJECT MANAGEMENT Project Quality Management Dr. Ahmet TÜMAY, PMP.
Stoimen Stoimenov QA Engineer QA Engineer SitefinityLeads,SitefinityTeam6 Telerik QA Academy Telerik QA Academy.
Design Reviews Peer Reviews. Agenda Peer Reviews Participants of Peer Review Preparation for a Peer Review Session The Peer Review Session Post-peer Review.
SystematicSystematic process that translates quality policy into measurable objectives and requirements, and lays down a sequence of steps for realizing.
OHT 4.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software Quality assurance (SQA) SWE 333 Dr Khalid Alnafjan
Software Quality Chapter Software Quality  How can you tell if software has high quality?  How can we measure the quality of software?  How.
1 Software Quality Engineering CS410 Class 5 Seven Basic Quality Tools.
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.
N By: Md Rezaul Huda Reza n
Software Quality Assurance Activities
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.
Unit 8 Syllabus Quality Management : Quality concepts, Software quality assurance, Software Reviews, Formal technical reviews, Statistical Software quality.
© Mahindra Satyam 2009 Defect Management and Prevention QMS Training.
Phil Cronin Anne Hill Allen Schones CIS841 Summer on Campus 1998 IN-PROCESS INSPECTIONS FOR OBJECT ORIENTED DESIGNS.
Lecture #9 Project Quality Management Quality Processes- Quality Assurance and Quality Control Ghazala Amin.
S Q A.
CHAPTER 9 INSPECTIONS AS AN UP-FRONT QUALITY TECHNIQUE
Search Engine Optimization © HiTech Institute. All rights reserved. Slide 1 What is Solution Assessment & Validation?
Project quality management. Introduction Project quality management includes the process required to ensure that the project satisfies the needs for which.
Requirements Management with Use Cases Module 10: Requirements Across the Product Lifecycle Requirements Management with Use Cases Module 10: Requirements.
The Software Development Process
Unit III Static Testing. static testing Testing of a component or system at requirements or implementation level without execution of any software, e.g.,
Software Quality Assurance SOFTWARE DEFECT. Defect Repair Defect Repair is a process of repairing the defective part or replacing it, as needed. For example,
1 Project Management C53PM Session 3 Russell Taylor Staff Work-base – 1 st Floor
© Michael Crosby and Charles Sacker, 2001 Systematic Software Reviews Software reviews are a “quality improvement process for written material”.
Advances In Software Inspection
Mahindra Satyam Confidential Quality Management System Software Defect Prevention.
Peer Review Presented by : Basker George. Peer ( 同等的人 ) Review( 回顾 ) During the development of software, defects are inevitably ( 不可避免 ) injected. Defect.
Project Management Methodology Project Closing. Project closing stage Must be performed for all projects, successfully completed or shut off by management.
Verification vs. Validation Verification: "Are we building the product right?" The software should conform to its specification.The software should conform.
Software Reviews Ashima Wadhwa.
Six Sigma Greenbelt Training
Configuration Management
SOFTWARE TESTING Date: 29-Dec-2016 By: Ram Karthick.
Software Project Configuration Management
Software Quality Control and Quality Assurance: Introduction
Project Management PTM721S
Causal Analysis & Resolution (CAR) Support Category
Regression Testing with its types
Software Configuration Management (SCM)
School of Business Administration
Software Quality Assurance
Problem Solving Sheet Guidelines
Software and Systems Integration
Configuration Management
Chapter 21 Software Quality Assurance
Chapter 5: Project Scope Management
CMMI – Staged Representation
Chapter 21 Software Quality Assurance
Engineering Processes
Peer Reviews 11/21/2018.
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.
Baisc Of Software Testing
Test Case Test case Describes an input Description and an expected output Description. Test case ID Section 1: Before execution Section 2: After execution.
QA Reviews Lecture # 6.
Software Reviews.
Testing, Inspection, Walkthrough
Presentation transcript:

Peer Review and Testing

Scope What will you know by the end of this training. What are the different reviews and review process? How to choose the review type based on the work product. What are the different types of testing? How to create test cases for different types of testing. How to handle constraints during reviews and testing. How to do causal analysis.

What Is Quality? Producer’s view Meeting customers’ expectations Stated Implied User’s view Fitness for purpose Six sigma definition Customer satisfaction

What Is the Goal of a Software Project? Detect and eliminate defects Early Effectively Before delivering the products to the customer

What Is a Defect? Deviation from specifications Deviation from expectations

Defect Detection Methods Reviews (static) Testing (dynamic)

Cost of Quality Cost of prevention Cost of detection Cost of rework

Cost of Detection Cost of reviews Cost of testing Cost of detection increases exponentially as the project progresses Cost of testing will be costlier than cost of review

Reviews

Reviews - Purpose Point out improvements Confirm those parts of a product that do not require improvements Achieve uniform quality in order to make the process more manageable Also used as a supplementary communication mechanism

Reviews - Advantage Can be applied early during development stage Less expensive than tests

Reviews - Disadvantage Static Dynamic behaviors cannot be studied completely

Planning for Reviews Documented plan for reviews should be available Plan should address Objectives Items which need to be reviewed Type of review for each item Schedule Resources

Types of Reviews Informal reviews Walkthroughs Formal inspection Formal offline review (FOR)

Informal Reviews No set way - no formalities Friends look at the work product before strangers Results are not reported Usually used to ready the product for formal reviews Reviewer could act as the reviser along with author No formal role of a peer review leader

Walkthroughs Author guides the progress of the review Usually walks through with a set of user scenarios Step-by-step manipulation of a procedure (or line by line in a code) One (desk walkthrough) or multiple reviewers (structured walkthroughs) at the same time

Walkthroughs Cont… No advance preparation is needed by the reviewers The peer review leader controls the flow of the review process Responsibilities of a PRL is the same as in formal inspection process

Formal Inspection Provides reliable information about technical matters of a work product to the management A written report on the status of the product Active and open participation of everyone in the review group, following some traditions, customs, and written rules for review Full responsibility of all participants for the quality of the review - that is, for the quality of the information in the written report

Formal Offline Review (FOR) Done by a peer Author and reviewer need not be face to face during review No formal role for a PRL Review findings are reported formally

A Typical Peer Review Scene Scenario

Types of Review - Appropriateness Requirements, HLD - formal inspection Prototypes - walkthrough Complex LLD, code - combination of walkthrough and FOR LLD, UTP, code - FOR ITP, STP - formal inspection

Reviews - When to use what You have just written a piece of code implementing a complex algorithm. What type of review would you suggest for this. Project ABC is a development project having 40 modules. The HLD has to be prepared offshore and sent to customer for approval. What type of review would you suggest before sending this to customer?

Usage of Tools like checklist Keeps objectives clear Ensures coverage of scope Reduces bias Record observations

Entry Criteria for reviews Development is complete as per the author Self review is done Points mentioned in the checklist is ensured during self review

Review Process Input Item to be reviewed, Scope of review Input items (e.g for LLD review, HLD will be the input) Supporting items like checklist, standards Review based on the scope of review Order of review to be functionality and then standards Log the defects

Review Process (Contd.) Record review comments/observations to a reasonable granularity For example “improper usage of memory” is an improper review comment Review the defects and rework Verify the rework

Roles and Responsibilities Management Author Reviewer Recorder Leader

Defect Logging Defects to be logged along with. Description of the defect. Priority. Severity. Symptoms. Phase originated in. Phase found in. Date reported.

Defect Resolution/tracking Prioritize Schedule and assign all activities Execute activities to fix defect Analyse check-out Make changes/test changes Review Report/log status

Defect Metrics Product quality metrics / defect density metrics Defects /size of the work product Example Review efficiency Review defects/effort Review effectiveness Review defects/total defects Testing efficiency Testing defects/effort

Review Completion / Stop Track the rate of defects every hour Stop when the rate drops below N QC takes a decision on completion based on defect density

Configuration Control in Reviews and Testing Configurable items to be under configuration management (during review and after approval) Some of the items to be placed under configuration control Test plans Test procedures Test data Test results Components to be tested Test environment should be configuration controlled

Causal analysis - Why ? Identify root causes of ‘undesirable effects’ Initiate corrective action To prevent defects To improve process capability

Causal Analysis - When ? Plan for tackling ‘Suspected / Expected Causes’ right at the start Do a causal analysis after the first few rounds of activities

Causal Analysis - How ? Identify Primary Causes / Defect Types Brainstorm

Causal Analysis - How ? Some of the defect types are Unwanted Functionality Validation incorrect/not done Look and Feel related Boundary values not handled Improper data mapping Incorrect Assignment / Declaration Inefficient code/logic

Causal Analysis - How ? Draw a Pareto Chart Pareto charts are a type of bar chart in which the horizontal axis represents the categories. Ordered in the descending order. A cumulative percentage line helps to judge the added contribution of each category.

Causal Analysis - How ? Identify top n primary causes / defect types (should cover atleast more than 50 % of the defects) Can be derived from the Pareto chart

Tools of Analysis - Pareto Chart • • • • • # Of Occurances • # Of Days

Causal Analysis - How ? Do a root cause analysis - Drill down from the primary cause / defect type Brainstorm

Root Cause Analysis What Is It? Root Cause Analysis Allows The Team To Focus On The ‘Vital Few’ Objectives Of Root Cause Analysis Determine, With Reasonable Confidence, What Is Creating The Problem(s) In a Process Allows Development Of Focussed Permanent Solutions

Causal Analysis - How ? Fishbone diagram. Also known as cause-and-effect, or Ishikawa diagram. Helps to organize brainstorming information about potential causes of a problem. Represents relationships among potential causes.

Cause & Effect Diagrams Measurement Methods Machinery Effect Potential Causes Materials Mother Nature People

Causal Analysis - How ? Identify corrective action for root causes Implement the corrective actions

Post Causal Analysis Track results of corrective action taken Ensure sustenance of corrective action

After a period of time Top causes would have changed Hence, repeat the cycle

Causal Analysis - Some tips Best Done by a group Participation of PM, TL, QC in analysis and review is important Place in perspective while identifying certain causes - ‘Lack of skills’ Word your causes suitably

Case Study

Thank You