Chapter 7 Requirements Engineering. Requirements Engineering-I

Similar documents
copyright 1996, 2001, 2005! R.S. Pressman & Associates, Inc.!

Requirements Analysis Concepts & Principles. Instructor: Dr. Jerry Gao

Sofware Requirements Engineeing

Applying Use Cases to Microcontroller Code Development. Chris Gilbert Cypress Semiconductor

Project Management Concepts

Requirements Engineering Processes. Feasibility studies. Elicitation and analysis. Problems of requirements analysis

Using Use Cases for requirements capture. Pete McBreen McBreen.Consulting

Contents. Introduction and System Engineering 1. Introduction 2. Software Process and Methodology 16. System Engineering 53

Requirements Engineering Process

CS 389 Software Engineering. Lecture 2 Chapter 2 Software Processes. Adapted from: Chap 1. Sommerville 9 th ed. Chap 1. Pressman 6 th ed.

Using Use Cases on Agile Projects

Chap 1. Introduction to Software Architecture

Course Outline. Foundation of Business Analysis Course BA30: 4 days Instructor Led

SOFTWARE REQUIREMENTS

VAIL-Plant Asset Integrity Management System. Software Development Process

Use Cases. Massimo Felici. Massimo Felici Use Cases c

Object-Oriented Systems Analysis and Design

Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions

STSG Methodologies and Support Structure

How To Plan A Project

Requirements Analysis that Works!

Software Requirements Specification

Lecture 9: Requirements Modelling

Exhibit F. VA CAI - Staff Aug Job Titles and Descriptions Effective 2015

A Comparison of SOA Methodologies Analysis & Design Phases

Fundamentals of Information Systems, Fifth Edition. Chapter 8 Systems Development

Object-oriented design methodologies

SOFTWARE ENGINEERING IT 0301 Semester V B.Nithya,G.Lakshmi Priya Asst Professor SRM University, Kattankulathur. School of Computing, Department of IT

FREE ONLINE EDITION. (non-printable free online version) Brought to you courtesy of Sprint-IT &

Use Case Diagram. Tom Polanski, Analex Corporation CSCI Object-Oriented Analysis and Design (Spring 2001) Homework #3 Use Cases

Business Requirements Guidelines

Requirements Engineering Processes. Ian Sommerville 2006 Software Engineering, 8th edition. Chapter 7 Slide 1

Iterative Software Development -

Chapter 5: Requirements Analysis and Validation Organizational Requirements Engineering

Object-Oriented Design Guidelines

White Paper What Solutions Architects Should Know About The TOGAF ADM

Software Development Processes. Software Life-Cycle Models. Process Models in Other Fields. CIS 422/522 Spring

Cover. Business-Oriented Network Management Solution. Whitepaper (UPM 4.1)

EXIN Agile Scrum Foundation

Software Engineering. Session 3 Main Theme Requirements Definition & Management Processes and Tools Dr. Jean-Claude Franchitti

AGILE - QUICK GUIDE AGILE - PRIMER

Requirements / Use Case Specification

3C05: Unified Software Development Process

Section Five Learning Module D:

How To Write A Project Plan

Ten steps to better requirements management.

Template for IT Project Plan. Template for IT Project Plan. [Project Acronym and Name]

Applying 4+1 View Architecture with UML 2. White Paper

User experience storyboards: Building better UIs with RUP, UML, and use cases

Software Requirements Specification (SRS)

Chapter 13. Competitive Negotiation: Evaluation Criteria

Process Flowcharting for SOP Development, Implementation, Training and Maintenance

Content Protection in Silverlight. Microsoft Corporation

SOFTWARE DEVELOPMENT MAGAZINE: MANAGEMENT FORUM December, Vol. 7, No. 12 Capturing Business Rules. By Ellen Gottesdiener,

Questions? Assignment. Techniques for Gathering Requirements. Gathering and Analysing Requirements

What is a life cycle model?

SYSTEMS ENGINEERING AND MANAGEMENT FOR SUSTAINABLE DEVELOPMENT - Vol. I - System Requirements - Buys R.T.

Chapter 10 Practical Database Design Methodology and Use of UML Diagrams

Scan to PC Desktop: Image Retriever 5.2 for Xerox WorkCentre C2424

Requirements engineering

Fourth generation techniques (4GT)

INTERNATIONAL FRAMEWORK FOR ASSURANCE ENGAGEMENTS CONTENTS

6. MEASURING EFFECTS OVERVIEW CHOOSE APPROPRIATE METRICS

Mind Mapping to Gantt Charts

Develop Project Charter. Develop Project Management Plan

The key linkage of Strategy, Process and Requirements

PROJECT MANAGEMENT PLAN CHECKLIST

44-76 mix 2. Exam Code:MB Exam Name: Managing Microsoft Dynamics Implementations Exam

Partnering for Project Success: Project Manager and Business Analyst Collaboration

KEY CONCEPTS AND IDEAS

Project Management. On-Site Training and Facilitation Services. For more information, visit

CA Cloud Service Delivery Platform

UML Diagram Types. Use Cases do the Following. Use Case Diagram

Geography AQA GCE Mark Scheme 2011 January series. Version 1.0. klm. General Certificate of Education January Unit 2.

Agile QA Process. Anand Bagmar Version 1.

Business Analyst Work Plan. Presented by: Billie Johnson, CBAP CSM

Thesis seminar THE7TF007

INFORMATION AND EDUCATIONAL TECHNOLOGY

Rubrics for Assessing Student Writing, Listening, and Speaking High School

Troubleshooting: 2 Solutions to Common Problems

SOFT 423: Software Requirements

Software Development Processes. Software Life-Cycle Models

Configuration Management in the Data Center

Why are PMO s are Needed on Large Projects?

Workflow and Process Analysis for CCC

Sectoral dictionary of competencies. page 1

Table of Contents. CHAPTER 1 Web-Based Systems 1. CHAPTER 2 Web Engineering 12. CHAPTER 3 A Web Engineering Process 24

Introduction to Project Management

4.4 What is a Requirement? 4.5 Types of Requirements. Functional Requirements

To introduce software process models To describe three generic process models and when they may be used

To be used in conjunction with the Invitation to Tender for Consultancy template.

Project Portfolio Management (PPM) IT Project and Portfolio Management. State: New York. Department of Taxation and Finance

Software Engineering. Software Processes. Based on Software Engineering, 7 th Edition by Ian Sommerville

(Refer Slide Time: 01:52)

A complete software development process of a general report publication service implemented using Web Services

Neighborhood Council A Neighborhood Council is an officially recognized advisory body that is part of the Los Angeles Citywide System of Neighborhood

Story Card Based Agile Software Development

Introducing collaborative based recommendation systems to the online brokerage domain

Security System. User Guide for the LED Command Center

Transcription:

Software Engineering: A Practitioner s s Approach, 6/e Chapter 7 Requirements Engineering copyright 1996, 2001, 2005 R.S. Pressman & Associates, Inc. For University Use Only May be reproduced ONLY for student use at the university level when used in conjunction with Software Engineering: A Practitioner's Approach. Any other reproduction or use is expressly prohibited. 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 1 Requirements Engineering-I! Inception ask a set of questions that establish! basic understanding of the problem! the people who want a solution! the nature of the solution that is desired, and! the effectiveness of preliminary communication and collaboration between the customer and the developer! Elicitation elicit requirements from all stakeholders! Elaboration create an analysis model that identifies data, function and behavioral requirements! Negotiation agree agree on a deliverable system that is realistic for developers and customers 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 2

Requirements Engineering-II! Specification can can be any one (or more) of the following:! A written document! A set of models! A formal mathematical! A collection of user scenarios (use-cases)! A prototype! Validation a a review mechanism that looks for! errors in content or interpretation! areas where clarification may be required! missing information! inconsistencies (a major problem when large products or systems are engineered)! conflicting or unrealistic (unachievable) requirements.! Requirements management 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 3! Identify stakeholders Inception! who else do you think I should talk to?! Recognize multiple points of view! Work toward collaboration! The first questions! Who is behind the request for this work?! Who will use the solution?! What will be the economic benefit of a successful solution! Is there another source for the solution that you need? 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 4

Eliciting Requirements! meetings are conducted and attended by both software engineers and customers! rules for preparation and participation are established! an agenda is suggested! a "facilitator" (can be a customer, a developer, or an outsider) controls the meeting! a "definition mechanism" (can be work sheets, flip charts, or wall stickers or an electronic bulletin board, chat room or virtual forum) is used! the goal is! to identify the problem! propose elements of the solution! negotiate different approaches, and! specify a preliminary set of solution requirements 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 5 Eliciting Requirements Conduct FAST meetings Make lists of functions, classes Make lists of constraints, etc. Elicit r equirements yes formal prioritization? no Use QFD to prioritize requirements informally prioritize requirements define actors draw use-case diagram write scenario Create Use-cases complete template 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 6

Quality Function Deployment! Function deployment determines the value (as perceived by the customer) of each function required of the system! Information deployment identifies data objects and events! Task deployment examines the behavior of the system! Value analysis determines the relative priority of requirements 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 7 Elicitation Work Products! a statement of need and feasibility.! a bounded statement of scope for the system or product.! a list of customers, users, and other stakeholders who participated in requirements elicitation! a description of the system s s technical environment.! a list of requirements (preferably organized by function) and the domain constraints that apply to each.! a set of usage scenarios that provide insight into the use of the system or product under different operating conditions.! any prototypes developed to better define requirements. 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 8

Use-Cases! A collection of user scenarios that describe the thread of usage of a system! Each scenario is described from the point-of-view of an actor a a person or device that interacts with the software in some way! Each scenario answers the following questions:! Who is the primary actor, the secondary actor (s)?! What are the actor s s goals?! What preconditions should exist before the story begins?! What main tasks or functions are performed by the actor?! What exceptions might be considered as the story is described?! What variations in the actor s s interaction are possible?! What system information will the actor acquire, produce, or change?! Will the actor have to inform the system about changes in the external environment?! What information does the actor desire from the system?! Does the actor wish to be informed about unexpected changes? 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 9 Use-Case Diagram Arms/disarms system Accesses system via Internet sensors homeowner Responds to alarm event Encounters an error condition system administrator Reconfigures sensors and related system features 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 10

Building the Analysis Model! Elements of the analysis model! Scenario-based elements! Functional processing narratives for software functions! Use-case descriptions of the interaction between an actor and the system! Class-based elements! Implied by scenarios! Behavioral elements! State diagram! Flow-oriented elements! Data flow diagram 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 11 Class Diagram From the SafeHome system Sensor name/id type location area characteristics identify() enable() disable() reconfigure() 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 12

State Diagram turn copier on Initialization system status= not ready display msg = please wait display status = blinking subsystems ready Reading commands system status= Ready display msg = enter cmd display status = steady not jammed paper full entry/ switch machine on do: run diagnostics do: initiate all subsystems entry/ subsystems ready do: poll user input panel do: read user input do: interpret user input turn copier off start copies Making copies system status= Copying display msg= copy count = display message=#copies display status= steady entry/ start copies do: manage copying do: monitor paper tray do: monitor paper flow copies complete paper tray empty paper jammed problem diagnosis system status= Jammed display msg= paper jam display message=location display status= blinking entry/ paper jammed do: determine location do: provide corrective msg. do: interrupt making copies load paper system status= load paper display msg= load paper display status= blinking entry/ paper empty do: lower paper tray do: monitor fill switch do: raise paper tray not jammed Figure 7.6 Preliminary UML state diagram for a photocopier 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 13 Analysis Patterns Pattern name: A descriptor that captures the essence of the pattern. Intent: Describes what the pattern accomplishes or represents Motivation: A scenario that illustrates how the pattern can be used to address the problem. Forces and context: A description of external issues (forces) that can affect how the pattern is used and also the external issues that will be resolved when the pattern is applied. Solution: A description of how the pattern is applied to solve the problem with an emphasis on structural and behavioral issues. Consequences: : Addresses what happens when the pattern is applied and what trade-offs exist during its application. Design: : Discusses how the analysis pattern can be achieved through the use of known design patterns. Known uses: : Examples of uses within actual systems. Related patterns: : One or more analysis patterns that are related to the named pattern because (1) it is commonly used with the named pattern; (2) it is structurally similar to the named pattern; (3) it is a variation of the named pattern. 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 14

Negotiating Requirements! Identify the key stakeholders! These are the people who will be involved in the negotiation! Determine each of the stakeholders win conditions! Win conditions are not always obvious! Negotiate! Work toward a set of requirements that lead to win-win 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 15 Validating Requirements-I! Is each requirement consistent with the overall objective for the system/product?! Have all requirements been specified at the proper level of abstraction? That is, do some requirements provide a level of technical detail that is inappropriate at this stage?! Is the requirement really necessary or does it represent an add-on feature that may not be essential to the objective of the system?! Is each requirement bounded and unambiguous?! Does each requirement have attribution? That is, is a source (generally, a specific individual) noted for each requirement?! Do any requirements conflict with other requirements? 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 16

Validating Requirements-II! Is each requirement achievable in the technical environment that will house the system or product?! Is each requirement testable, once implemented?! Does the requirements model properly reflect the information, function and behavior of the system to be built.! Has the requirements model been partitioned in a way that exposes progressively more detailed information about the system.! Have requirements patterns been used to simplify the requirements model. Have all patterns been properly validated? Are all patterns consistent with customer requirements? 6/e and are provided w ith permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 2005 17