Docsity

REFINING THE SYSTEM IN SRE, Slides of Software Engineering

Partial preview of the text

Download REFINING THE SYSTEM IN SRE and more Slides Software Engineering in PDF only on Docsity!

3 rd^ July,

Engr. Ali SOFTWARE REQUIREMENTS ENGINEERING LECTURE # 10 Refining the System Definition (Software Requirements)

 (^) Software Requirements  (^) Software System Behavior  (^) Relationship between Features and Software Requirements  (^) The Requirements Dilemma

  • (^) Excluding Project Information
  • (^) Excluding Design Information  (^) Requirements VS Design  (^) Iteration between Requirements & Design  (^) Requirement Specification.

Presentation

Outline

Software System

Behavior

6  (^) Davis [1999] suggests that we need five major classes of things in order to fully describe the behavior of a software system (Figure 1).  (^) Inputs to the system — not only the content of the input but also, as necessary, the details of input devices and the form, look, and feel of the input.  (^) Outputs from the system — a description of the output devices, such as voice- output or visual display, that must be supported, by the system.  (^) Functions of the system — the mapping of inputs to outputs, and their various combinations.  (^) Attributes of the system — such typical non-behavioral requirements as reliability, maintainability, availability, etc.

Figure 1:: System elements

Software System

Behavior

7

Relationship between Features and Software Requirements 9

 For example, suppose we are developing a defect-tracking system for

a software development organization.

 Table 1 shows the relationship between one of the features identified

in the Vision

document and its associated set of requirements.

 This mapping will form the backbone of a requirements management

concept known as "traceability“.

Table 1 :: Prioritized Features List

Vision Document Feature Software Requirements

Feature 30: The defect-tracking system will provide trending information to help the user assess project status. SR30.1: Trending information will be provided in a histogram report showing time on the x-axis and number of defects on the y-axis SR 30 .2: The user can enter the trending period In units of days, weeks or months. SR 30 .3: An example trending report is shown in Attached Figure1.

The Requirement Dilemma : What Vs How 10

The Requirements

Dilemma

13

 Excluding Project Information

 (^) The budget could be seen as requirement too; however, this is another type of information that doesn't fit our definition and therefore doesn't belong with the overall system or software requirements.

The Requirements

Dilemma

14Excluding Project Information  (^) Information describing how we'll know that the requirements have actually been met — test procedures or acceptance procedures— also don't meet the definition and therefore don't belong in the requirements.

The Requirements

Dilemma

16  (^) Although the reference to Visual Basic appears to be a violation of the recommended guidelines (because it doesn't represent any input, output, function, or behavioral attribute), it's useful to ask, "Who decided to impose the requirement that the histogram be implemented in Visual Basic, and why was that decision made?“

The Requirements

Dilemma

17  (^) If a technical developer decides to insert a reference to Visual Basic because of a preference for the language, it obviously has no legitimate place in the list of requirements.  (^) If the customer refuses to pay for a system unless it's written in Visual Basic, the best course of action is to treat it like a requirement, although we will place it in a special class, called design constraints.  (^) Nevertheless, it's an implementation constraint that has been imposed on the development team.

Iterating Requirements and

Design

19

 In reality, the requirements versus design activities must be

iterative. Requirements discovery, definition, and design decisions

are circular. The process is a continual give and take, in that

Are Design Constraints True Requirements? 20

Modern SRS

Package

23  (^) Historically the most popular technique for documenting requirements was to use natural language.  (^) This technique was revised and improved and eventually a number of standards developed for these documents, including IEEE 830 standard for Software Requirements Specification.  (^) The modern SRS package plays no of crucial roles::  (^) It serves as a basis of communication among all parties  (^) It represents an agreement among all parties  (^) It serves as a project manager’s reference standard  (^) It serves as input to the design, implementation and testing teams  (^) It controls the evolution of the system throughout development phase of the project

Modern SRS

Package

24

Software Requirements

Specification

Version 1.

approved

Prepared by