
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth exploration of static testing in software development, focusing on two key methods: fagan inspection and peer ratings. It delves into the objectives, processes, techniques, and follow-up activities of fagan inspection, including its categorization of defects, typical operations, and rework. Additionally, it discusses peer ratings, a technique for evaluating anonymous programs based on quality, maintainability, extensibility, usability, and clarity.
Typology: Slides
1 / 40
This page cannot be seen from the preview
Don't miss anything!

































STATIC TESTING
Introduction to static testing Objective of static testing Static Testing Methods Inspections Walkthroughs Desk Checking Peer Ratings
5 Consider using a two-step approach to static testing. In the first step, clean up the cosmetic appearance of the document: Syntax Checking i.e. Spelling , Grammar , Sentence Structure i.e. Punctuations , and formatting etc. The benefit of doing the first step is that when the document is cosmetically clean, the readers can concentrate on the content. The liability of skipping the first step is that if the document is not cosmetically clean, the readers will surely stop reading the document for meaning and start proofreading the content. In the second step, use whatever techniques seem appropriate to focus expert review on document contents e.g. Walkthrough, Inspection etc.
Fagan Inspection Gilb Inspection Two Person Inspection N-Fold Inspection Meetingless Inspection
8
Planning & Preparation Inspection / Collection Correction & Follow-up
10
11
13
14
16 The ideal time for the inspection session appears to be from 90 to 120 minutes. Since the session is a mentally taxing experience, longer sessions tend to be less productive. Most inspections proceed at a rate of approximately 150 program statements per hour. For that reason, large programs should be examined in multiple inspections, each inspection dealing with one or several modules or subroutines. Note that for the inspection process to be effective, the appropriate attitude must be established. If the programmer views the inspection as an attack on his or her character and adopts a defensive posture, the process will be ineffective. Rather, the programmer must approach the process with an ego less attitude so the the session can be productive
17 Some software artifacts are small enough to be inspected by one or two inspectors Similarly, such reduced size inspection teams can be used to inspect software artifacts of limited size, scope or complexity The so called Two Person Inspection was proposed to simplify the Fagan inspection, with an Author-Inspector pair
19 Experimental evidences indicates that most of the discovered defects are indeed discovered by individual inspectors during the preparation step of Formal Inspections like Fagan and Gilb The defect detection ratio in the meeting session lies in the range of 5% to 30% Therefore there is a possibility of eliminating inspection meetings entirely, thus significantly reducing the overall inspection cost This results in a so called meetingless inspection, where individual inspectors do not communicate with each other
20 One of the main drawback of this approach is the high False Alarm rate Another drawback of this approach is duplication of errors Various ways of communication can be used to pass the individual inspection results to the author, e.g through direct communication with the author, or through some defect repository