Code review. informal formal ad hoc reviewpair programmingwalk throughinspection/review.

Slides:



Advertisements
Similar presentations
Configuration Management
Advertisements

Ensuring that building products meet code requirements ICC Evaluation Service, Inc. The ICC-ES Evaluation Committee conducts open public hearings on proposed.
MODELING THE TESTING PROCESS Formal Testing (1.0) Requirements Software Design Risk Data Approved, Debugged, Eng. Tested Code Automated Test Tools Tested.
Software Quality Assurance Plan
Chapter 7: Key Process Areas for Level 2: Repeatable - Arvind Kabir Yateesh.
More CMM Part Two : Details.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Static Technique. Static Technique - Review  A way of testing software work products  Program code, requirement spec., design spec.  Test plan, test.
Testing Without Executing the Code Pavlina Koleva Junior QA Engineer WinCore Telerik QA Academy Telerik QA Academy.
1 MANUFACTURING AND PRODUCTION OF BIOLOGICAL PRODUCTS (ERT 455) HAZARD ANALYSIS AND CRITICAL CONTROL POINT (HACCP) SYSTEM Munira Mohamed Nazari School.
Code Inspections CSSE 376, Software Quality Assurance Rose-Hulman Institute of Technology March 22, 2007.
Overview Lesson 10,11 - Software Quality Assurance
Chapter 15 Design, Coding, and Testing. Copyright © 2005 Pearson Addison-Wesley. All rights reserved Design Document The next step in the Software.
Week 7: Requirements validation Structured walkthroughs Why have walkthroughs When to have walkthroughs Who participates What procedures are helpful Thoughtless.
Chapter 5: Project Scope Management
Research Proposal and Dissertation Daing Nasir Ibrahim.
SE 555 Software Requirements & Specification Requirements Validation.
University of Sunderland CIFM03Lecture 1 1 Quality Management of IT CIFM03 Introduction.
Chapter 5: Project Scope Management
 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.
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.
KENDA ALBERTSON Formal Peer Review Processes for Software and Documents.
OHT 4.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software Quality assurance (SQA) SWE 333 Dr Khalid Alnafjan
Huzairy Hassan School of Bioprocess Engineering UniMAP.
COMPGZ07 Project Management Presentations Graham Collins, UCL
Introduction to Software Quality Assurance (SQA)
Software Inspections and Walkthroughs By. Adnan khan.
S oftware Q uality A ssurance Part One Reviews and Inspections.
Lecture #9 Project Quality Management Quality Processes- Quality Assurance and Quality Control Ghazala Amin.
ISO 9001: 2000 Certified Audit Process What to do.
FAO/WHO Codex Training Package Module 3.2 FAO/WHO CODEX TRAINING PACKAGE SECTION THREE – BASICS OF NATIONAL CODEX ACTIVITIES 3.2 How to develop national.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Product Design Finalization; Inspections.
Stakeholder consultations Kyiv May 13, Why stakeholder consultations? To help improve project design and implementation To inform people about changes.
Fun, fun, fun. But first … the code review Preparation Process.
普 华 永 道 Phase 1: Project Preparation Phase 1: Project Preparation Phase Overview Phase Overview.
University of Palestine software engineering department Testing of Software Systems Program Inspections, Walkthroughs, and Reviews instructor: Tasneem.
© 2012 IBM Corporation Rational Insight | Back to Basis Series Chao Zhang Code Review.
A proposal for an APNIC document editorial policy (prop-002-v001) Address Policy SIG APNIC 16, Seoul, Korea 21 August 2003.
Develop Project Charter
Reviews and Inspections. Types of Evaluations Formal Design Reviews conducted by senior personnel or outside experts uncover potential problems Inspections.
STEP 4 Manage Delivery. Role of Project Manager At this stage, you as a project manager should clearly understand why you are doing this project. Also.
Applied Software Project Management Andrew Stellman & Jennifer Greene Applied Software Project Management Applied Software.
Project quality management. Introduction Project quality management includes the process required to ensure that the project satisfies the needs for which.
Code Reviews James Walden Northern Kentucky University.
Requirements Management with Use Cases Module 10: Requirements Across the Product Lifecycle Requirements Management with Use Cases Module 10: Requirements.
Project management Topic 1 Project management principles.
15 The Research Report.
Reviews mae, fall 11. Review What: – Have skilled people assess your work –Requires that you have work product that is reviewable Why: – Find problems.
© Michael Crosby and Charles Sacker, 2001 Systematic Software Reviews Software reviews are a “quality improvement process for written material”.
1 Software Testing and Quality Assurance Lecture 17 - Test Analysis & Design Models (Chapter 4, A Practical Guide to Testing Object-Oriented Software)
Reviews Chapter 5 Applied Software Project Management, Stellman & Greene See also:
Management of Software Project CSM Review By:Nafas.
Peer Review Overview Meeting [Date] [Product name]
More SQA Reviews and Inspections. Types of Evaluations  Verification Unit Test, Integration Test, Usability Test, etc  Formal Reviews  aka "formal.
Pertemuan 14 Matakuliah: A0214/Audit Sistem Informasi Tahun: 2007.
ITIL Project Change Management Workshop 7 February 2007
SOFTWARE TESTING LECTURE 9. OBSERVATIONS ABOUT TESTING “ Testing is the process of executing a program with the intention of finding errors. ” – Myers.
Software Reviews Ashima Wadhwa.
Change Request Management
Club Meetings 101.
Software Quality Control and Quality Assurance: Introduction
Software Configuration Management (SCM)
Stakeholder consultations
Peer Review and Testing
Prepared by Rand E Winters, Jr. ASR Senior Auditor October 2014
Setting Actuarial Standards
Peer Reviews 11/21/2018.
QA Reviews Lecture # 6.
CUSC Amendment Panel Recommendation
Presentation transcript:

Code review

informal formal ad hoc reviewpair programmingwalk throughinspection/review

CharacteristicWalkthroughReview Leaderauthormoderator Granularityat author’s discretionsmall chunks Recordermaybeyes Documented procedure maybeyes Specific participant roles noyes Defect checklistnoyes Data analyzednoyes Appraisal madenoyes

Effectiveness Studies: –formal review found defects per KLOC vs. 3 per KLOG for walkthrough –formal review found 50% defects than walkthrough

Preparation prepare work products examine work products prepare review package ready for review? read package study work products prepare comments schedule review send out packages AuthorModerator Reviewers Y N

Work products Materials to be reviewed –use cases –class and sequence diagrams –code –test results –complexity risk analysis A proposed structure for the review –table of contents of work products –what will be reviewed and the order –what types of issues will be covered roadmap to code

Preparation prepare work products examine work products prepare review package ready for review? read package study work products prepare comments schedule review send out packages AuthorModerator Reviewers Y N

Preparation prepare work products examine work products prepare review package ready for review? read package study work products prepare comments schedule review send out packages AuthorModerator Reviewers Y N

Review package Intro Agenda Criteria

Review package - Intro Background –What project are we discussing –What do reviewers need to know about it history, key problems, important decisions, etc. –Where can reviewers find more info requirements, designs, analysis Goals for review –specific work products to be reviewed –scope (what is in/out of bounds) –what approval means

Review package - agenda The order materials will be reviewed.

Review - criteria These need to be determined by the author and moderator depending on the situation. For a code review you might consider: Does the UML realize the use cases? Does the code realize the UML? Does the code reflect good and consistent style? Is the code easy to understand? Is it simple but not “clever”? Is it documented as needed? Is the code efficient? Is error handling adequate? Are the underlying algorithm correct and correctly implemented? Do common errors occur? missing cases, off-by-one, etc.

Style Code appearance: indentation, alignment, whitespace, tabs Naming: appropriate choice of names Consistency: same style throughout

Preparation prepare work products examine work products prepare review package ready for review? read package study work products prepare comments schedule review send out packages AuthorModerator Reviewers Y N

Reviewer responsibility Each reviewer should have specific responsibility Review materials relevant to those responsibility Test executable

Review process Moderator –keeps review moving –ensures all voices are heard and key points covered –ensures decisions are made: accepted, major/minor revisions, further review Recorder –takes notes, records all issues raised and decisions reached, all questions, suggestions, and action items –publishes a report of the review

Review process cont. Reviewers –Each member leads on their portion of the code –When not leading, follow along, raise questions, concerns, point out problems Author –Answers questions but is otherwise silent

Review cont. Stick to specified level Avoid re-specifying/designing system Avoid getting sidetracked