OHT 8.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Continuing… Peer reviews (Inspections and Walkthroughs) Participants.

Slides:



Advertisements
Similar presentations
Damian Gordon.  Static Testing is the testing of a component or system at a specification or implementation level without execution of the software.
Advertisements

More CMM Part Two : Details.
Software Project Management Lecture # 11. Outline Quality Management ( chapter 26 - Pressman )  Software reviews  Formal Inspections & Technical Reviews.
PERTEMUAN - 2 SOFTWARE QUALITY. OBJECTIVES After completing this chapter, you will be able to: ■ Define software, software quality and software quality.
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”
SOFTWARE QUALITY ASSURANCE Maltepe University Faculty of Engineering SE 410.
OHT 10.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The testing process Determining the test methodology phase Planning.
Overview Lesson 10,11 - Software Quality Assurance
OHT 8.1 Galin, SQA from theory to implementation © Pearson Education Limited Review objectives Formal design reviews (FDRs) Participants Preparations.
OHT 8.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Review objectives Formal design reviews (FDRs) Participants Preparations.
OHT 4.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Pre-project components Software project life cycle components Infrastructure.
OHT 22.1 Galin, SQA from theory to implementation © Pearson Education Limited Objectives of cost of software quality metrics 2.The classic model.
OHT 14.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software quality infrastructure components The need for procedures and.
Components of software quality assurance system overview
Chapter 8 Assuring the quality of external participants’ contributions
OHT 17.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Corrective and preventive actions — definitions The corrective and preventive.
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.
OHT 4.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software Quality assurance (SQA) SWE 333 Dr Khalid Alnafjan
OHT 22.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software Quality assurance (SQA) SWE 333 Dr Khalid Alnafjan
Prof. Mohamed Batouche Costs of software quality Introduction  More and more, commercial companies or public organizations are requiring.
SQA Work Procedures.
Even More SQA: Work Procedures
CHAPTER 5 Infrastructure Components PART I. 2 ESGD5125 SEM II 2009/2010 Dr. Samy Abu Naser 2 Learning Objectives: To discuss: The need for SQA procedures.
OHT 16.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The objectives of training and certification The training and certification.
SQA Architecture Software Quality By: MSMZ.
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.
Chapter 4 Components of the Software Quality Assurance System
Page 1 MODEL TEST in the small GENERALIZE PROGRAM PROCESS allocated maintenance changes management documents initial requirement project infrastructure.
Galin, SQA from theory to implementation © Pearson Education Limited 2004 Review objectives Formal design reviews (FDRs) Participants Preparations The.
S oftware Q uality A ssurance Part One Reviews and Inspections.
Software Quality Assurance Activities
Software Inspections. Defect Removal Efficiency The number of defects found prior to releasing a product divided by The number of defects found prior.
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.
Formal and Informal Peer Reviews
Unit 8 Syllabus Quality Management : Quality concepts, Software quality assurance, Software Reviews, Formal technical reviews, Statistical Software quality.
S Q A.
CHAPTER 9 INSPECTIONS AS AN UP-FRONT QUALITY TECHNIQUE
Galin, SQA from theory to implementation © Pearson Education Limited Chapter 8.2 Reviews.
OHT 1.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The uniqueness of software quality assurance The environments for which.
CHAPTER 4 Life-Cycle Components. 2 ESGD5125 SEM II 2009/2010 Dr. Samy Abu Naser 2 Learning Objectives: To discuss: Integrating quality activities in the.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 19Slide 1 Chapter 19 Verification and Validation.
OHT 7.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software development methodologies: - The software development life cycle.
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.
OHT 12.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Introduction Types of external participants Risks and benefits of introducing.
OHT 15.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Templates The contribution of templates to software quality The organizational.
© Michael Crosby and Charles Sacker, 2001 Systematic Software Reviews Software reviews are a “quality improvement process for written material”.
OHT 1.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The uniqueness of software quality assurance The environments for which.
SEN 460 Software Quality Assurance. Bahria University Karachi Campus Waseem Akhtar Mufti B.E(C.S.E) UIT, M.S(S.E) AAU Denmark Assistant Professor Department.
Management of Software Project CSM Review By:Nafas.
Prof. Mohamed Batouche An SQA Architecture Project Development plan and Quality Plan Ch.6 Pre-project SQA components Project Life.
Multitude of source of errors - various style of source of errors will affect the SQA components * The environment in which software development & maintenance.
More SQA Reviews and Inspections. Types of Evaluations  Verification Unit Test, Integration Test, Usability Test, etc  Formal Reviews  aka "formal.
P RE - PROJECT P RE - PROJECT SOFTWARE QUALITY COMPONENTS Dr. Ahmad F. Shubita.
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.
OHT 10.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The testing process Determining the test methodology phase Planning.
OHT 15.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Templates The contribution of templates to software quality The organizational.
Software Quality Assurance
Components of software quality assurance system overview
Software Quality Control and Quality Assurance: Introduction
Components of software quality assurance system overview
Chapter # 4 Development and Quality Plans
QA Reviews Lecture # 6.
Chapter # 3 The Components of SQA
Software Reviews.
3. Software Quality Management
Presentation transcript:

OHT 8.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Continuing… Peer reviews (Inspections and Walkthroughs) Participants Preparations The FDR session Post-review activities Peer review coverage Comparison of peer reviews methods Expert opinions Chapter Reviews

OHT 8.2 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Peer Reviews Will discuss –1. inspections and –2. walkthroughs. Difference between formal design reviews and peer reviews is really in both their participants and authority. DRs: most participants hold superior positions to the project leaders and customer reps; Peer reviews, we have equals –members of his/her department and other units.

OHT 8.3 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Peer Reviews Other major difference is –degree of authority and –objective of each review method. FDRs: authorized to approved design doc –work can now continue in project. Not granted in peer reviews –main objectives lie in detecting errors and deviations from standards.

OHT 8.4 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Review leader The author Specialized professionals: –Designer –Coder or implementer –Tester Review leader The author Specialized professionals: –Standards enforcer –Maintenance expert –User representative

OHT 8.5 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Peer Reviews - more Tendency nowadays: diminish the value of manual reviews such as inspections and reviews. Empirical evidence, however, indicates convincing evidence that peer reviews are highly efficient and effective.

OHT 8.6 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Peer Reviews: Inspections / Walk-Throughs Walkthroughs and inspection differ in formality – Inspections emphasize the objective of corrective action; more formal Walkthroughs limited to comments on document reviewed. Inspections also look to improve methods as well. Inspections are considered to contribute more to general level of SQA.

OHT 8.7 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Peer Reviews: Inspections Inspections usually based on a comprehensive infrastructure: –Development of inspection checklists for each type of design document as well as coding languages, which are periodically updated. –Development of typical defect type frequency tables, based on past findings to direct inspectors to potential ‘defect concentration areas.’ –Training of competent professionals in inspection process issues – making it possible for them to serve as inspection leaders (moderators) or inspection team members –Periodic analysis of the effectiveness of past inspections to improve the inspection methodology –Introduction of scheduled inspections into project activity plan and allocation of the required resources, including resources for corrections

OHT 8.8 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Comparing the Two… Organizations typically modify methods to local considerations. Local protocols, team structure, etc. can be modified. So, differences between the two can be easily blurred. Some view one as the other; vice versa Some argue that one is better than the other, and vice versa. Research has indicated that walkthroughs discover far fewer defects found but at the same cost.

OHT 8.9 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Much less formal… Note: author is not the presenter Author is the presenter

OHT 8.10 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Focus on Peer Reviews: So for these two peer review methods, we will look at: –Participants of peer reviews –Preparation for peer reviews (some major differences) –The peer review session (presenters and emphases are different) –Post peer-review activities (differ considerably) –Peer review efficiency (arguable) The principles that we talk about can apply to both design peer reviews and code peer reviews.

OHT 8.11 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Participants of Peer Reviews Optimally, 3-4 participants Should be peers of the software system designer-author. –This allows for free discussion without any intimidation. Need a good blend of individual types: a review leader, the author, and specialized professionals as needed for the focus of the review. Review Leader –Moderator in inspections; Coordinator in walkthroughs. –Must be well-versed in project development and current technologies –Have good relationships with author and development team –Come from outside the project team –History of proven experience in coordination / leadership settings like this. –For inspections, training as a moderator is required.

OHT 8.12 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Participants of Peer Reviews Specialized Professionals – note these are experienced folks. These differ by review type: inspections / walkthroughs Inspections: –A designer – generally the systems analyst responsible for analysis and design of software system reviewed –A coder or implementer – one who is thoroughly acquainted with coding tasks, preferably the leader of the designated coding team. Able to detect defects leading to coding errors and other software implementation issues. –A tester – experienced professional, preferably leader of assigned testing team who focuses on identification of design errors usually detected during the testing phase.

OHT 8.13 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Participants of Peer Reviews Specialized Professionals differ by review type : walkthroughs Walk Throughs: –A standards enforcer – team member specialized in development standards and procedures; locate deviations from these standards and procedures. These problems substantially affect the team’s long-term effectiveness for both development and follow-on maintenance. –A maintenance expert – focus on maintainability / testability issues to detect design defects that may hinder bug correction and impact performance of future changes. –A maintenance expert - Focuses also on documentation (completeness / correctness) vital for maintenance activity. –A user representation – need an internal user (if customer is in the unit) or an external representative - review’s validity due to his/her point of view as user-customer rather than the designer-supplier.

OHT 8.14 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Participants of Peer Reviews Team Assignments Presenter: –For inspections: The presenter of document; chosen by the moderator; should not be document’s author Sometimes the software coder serves as presenter due to the familiarity of the design logic and its implications for coding. –For walk-throughs: Author most familiar with the document should be chosen to present it to the group. Some argue that a neutral person should be used.. Scribe: –Team leader will often serve as the scribe and record noted defects to be corrected.

OHT 8.15 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Preparation for a Peer Review Session Peer Review Leader’s Preparation for the session: For Design Document: Select the most difficult / complex sections; sections prone to defects. The most critical sections / where defect can cause severe damage –Select team members Limit review session to two hours – absolutely. Schedule up to two sessions a day if review tasks is sizable. Schedule right after the document is ready for inspection. Don’t wait…. –Distribute the document to the team members prior to the review session.

OHT 8.16 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Preparation for a Peer Review Session Peer review team’s preparations for review session: For inspections: team members, preparation is quite thorough; –For walkthrough brief. –Inspection: participants must read document and list comments before inspection begins. In overview meeting, the author provides inspection team members with the necessary background for reviewing chosen document, project in general, logic, processes, outputs, inputs, interfaces. Tool for inspector’s review: checklist for specific documents. For walkthroughs: team briefly reads materials for general overview of project –Generally they lack detailed knowledge and its substantive area. –In most cases, team participants not required to prepare advance comments.

OHT 8.17 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The Peer Review Session Procedurally, presenter reads document section and may add an explanation. Participants may offer comments on doc or on comments Restrict discussion to identification of errors – no solutions. Presenter in walkthrough provides an overview Walkthrough Scribe records each error (location, description, type) – incorrect, missing, etc. Inspection scribe will add estimated severity of each defect, a factor to be used in the statistical analysis of defects found and for the foundation of preventive / corrective actions.

OHT 8.18 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The Peer Review Session See table 8.1:classifies errors from 5 to 1 (major to minor) Session Documentation –For inspections – much more comprehensive Inspection Session Findings Report – produced by scribe Inspection Session Summary Report – compiled by inspection leader after session or series of sessions dealing with the same document –Report summarizes inspection findings and resources invested int eh inspections… –Report serves as inputs for analysis aimed at inspection process improvement and corrective actions that go beyond the specific document or project. –For walkthroughs – copies of the error documentation should be provided to the development team and the session participants.

OHT 8.19 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The Post Review Session Here is the most fundamental differentiating element between the two peer review methods. Inspection: –Does not end with a review session or distribution of reports –Post inspection activities are conducted to attest to: Prompt, effective correction / reworking of all erorr Transmission of the inspection reports to controlling authority for analysis

OHT 8.20 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The Efficiency of Peer Reviews These activities are under constant debate. Some of the more common metrics applied to estimate the effectiveness of peer reviews, suggested by literature: –Peer review detection efficiency (average hours worked per defect detected) –Peer review defect detection density (average number of defects detected per page of the design document) –Internal peer review effectiveness (percentage of defects detected by peer review as a percentage of total defects detected by the developer

OHT 8.21 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The Efficiency of Peer Reviews (Not a lot of data on findings) An interesting study undertaken by Cusumano reports results of a study on the effectiveness of design review, code inspection, and testing at Fujitsu from 1977 to Findings are still of interest, as data shows substantial improvement in software quality associated with an increased share of code inspection and design reviews and a reduced share of software testing. Software quality measured here by the number of defects per 1000 lines of maintained code, detected by the users during the first six months of regular software system use. The results only refer to the inspection method; one guesses a similar result would apply to walkthrough methods.

OHT 8.22 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Year Defect detection method Defects per 1000 lines of maintained code Test % Design review % Code inspection %

OHT 8.23 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Comparison of Team Review Methods Consider the table on the next slide that provide a look- back on what is contained / omitted from peer reviews.

OHT 8.24 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Sections recommended for inclusion Sections of complicated logic Critical sections, where defects severely damage essential system capability Sections dealing with new environments Sections designed by new or inexperienced team members Sections recommended for omission “Straightforward” sections (no complications) Sections of a type already reviewed by the team in similar past projects Sections that, if faulty, are not expected to effect functionality Reused design and code Repeated parts of the design and code

OHT 8.25 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Similarly a review of methodologies: Really shows the differences in tabular form.

OHT 8.26 Galin, SQA from theory to implementation © Pearson Education Limited 2004 PropertiesDesign reviewInspectionWalkthrough Overview meetingNoYesNo Participant’s preparations Yes - thorough Yes - brief Review sessionYes Follow-up of corrections Yes No Formal training of participants NoYesNo Participant’s use of checklists NoYesNo Error-related data collection Not formally required Formally required Not formally required Review documentation Formal design review report 1) Inspection session findings report 2) Inspection session summary report

OHT 8.27 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Expert Opinions Most experts support quality evaluation by introducing additional capabilities for the internal review staff. The organization’s internal quality assurance activities are thereby reinforced. Experts suggest participation of an expert or his/her participation as an external review member if the following circumstances apply:

OHT 8.28 Galin, SQA from theory to implementation © Pearson Education Limited 2004 · Insufficient in-house professional capabilities in a specialized area. · Temporary lack of in-house professionals for review team. · Indecisiveness caused by major disagreements among the organization’s senior professionals. · In small organizations, where the number of suitable candidates for a review team is insufficient.