RESM Lecture-15
RESM Lecture-15
RESM Lecture-15
Lecture # 15
Defect Removal
Inspections - 1
Inspections, by all accounts, do a better job of error removal than any competing technology, and they do it at a lower cost
Robert Glass
Inspections - 2
Inspections are conducted by a group of people working on the project, with the objective to remove defects or errors Every member of the inspection team has to read and evaluate requirements documents before coming to the meeting and a formal meeting is conducted to discuss requirements errors
5
Inspections - 3
Requirements errors detected during this inspections save lot of money and time as requirements errors do not flow into the design and development phases of software development process
6
Inspections - 4
A complete description of inspections must address five dimensions:
Technical Managerial Organizational Assessment Tool support
7
Requirements
Design
Coding
Documentation
Testing
Maintenance
Defect Discovery
Chaos Zone
8
Requirements
Design
Coding
Documentation
Testing
Maintenance
Defect Discovery
9
Observations
Requirements engineers are trained to write requirements documents, but have no training on reading/reviewing requirements documents Reviewers typically rely on ad hoc reading techniques, with no well-defined procedure, learning largely by doing
10
11
Ad hoc Review
A review with no formal, systematic procedure, based only individual experience
12
Checklist Review
A list of items is provided to reviewers, which makes this inspection process more focused
13
Defect-based Reading
Provides a set of systematic procedures that reviewers can follow, which are tailored to the formal software cost reduction notation
14
Different Perspectives - 1
PBR operates under the premise that different information in the requirements is more or less important for the different uses of the document Each user of the requirements document finds different aspects of the requirements important for accomplishing a particular task
16
Different Perspectives - 2
PBR provides a set of individual reviews, each from a particular requirements users point of view, that collectively cover the documents relevant aspects This process is similar to constructing system use cases, which requires identifying who will use the system and in what way
17
Steps in PBR
Selecting a set of perspectives for reviewing the requirements document Creating or tailoring procedures for each perspective usable for building a model of the relevant requirements information Augmenting each procedure with questions for finding defects while creating the model Applying procedures to review the document
18
Two Questions
What information in these documents should they check? How do they identify defects in that information?
19
Focused
PBR helps reviewers concentrate more effectively on certain types of defects, rather than having to look for all types
20
Identifying Defects
A series of questions are used to identify different types of requirements defects Requirements that do not provide enough information to answer the questions usually do not provide enough information to support the user. Thus, reviewers can identify and fix defects beforehand
22
Missing Information - 1
Any significant requirement related to functionality, performance, design constraints, attributes, or external interface not included Undefined software responses to all realizable classes of input data in all realizable classes of situations
24
Missing Information - 2
Sections of the requirements document Figure labels and references, tables, and diagrams Definitions of terms and units of measures
25
Ambiguous Information
Multiple interpretations caused by using multiple terms for the same characteristic or multiple meanings of a term in a particular context
26
Inconsistent Information
Two or more requirements that conflict with one another
27
Incorrect Facts
A requirement-asserted fact that cannot be true under the conditions specified for the system
28
Extraneous Information
Unnecessary or unused information (at best, it is irrelevant; at worst, it may confuse requirements users)
29
Miscellaneous Defects
Other errors, such as including a requirement in the wrong section
30
Allow training
Reviewers can train to better understand the parts of a representation or work product that correspond to particular questions
31
38
Summary
Discussed defect removal and in particular inspections using, perspective-based reading
39
References - 1
Software Engineering: A Practitioners Approach by Roger S. Pressman A Handbook of Software Quality Assurance edited by G. Gordon Schulmeyer and James L. McManus Customer-Oriented Software Quality Assurance by Frank P. Ginac Software Quality: Analysis and Guidelines for Success by Capers Jones
40
References - 2
How Perspective-Based Reading Can Improve Requirements Inspections by Forrest Shull, Ioana Rus, & Victor Basili, IEEE Computer, July 2000, pp. 73-79
41