Chapter 9 요구사항 모델링: 시나리오 기반 방법론 Requirements Modeling: Scenario-Based Methods 임현승 강원대학교 Revised from the slides by Roger S. Pressman and Bruce R. Maxim.

Slides:



Advertisements
Similar presentations
Lecture 8 Systems Analysis: Concept and Principles
Advertisements

Chapters 7 & 9 System Scope
Analysis Modeling.
Chapter 8 Analysis Engineering Software Engineering: A Practitioner’s Approach by Roger S. Pressman.
Requirements Elicitation Techniques
7.1 A Bridge to Design & Construction
Chapter 5 Understanding Requirements
Unit-III Requirements Engineering
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Chapter 8 Analysis Modeling
Analysis Concepts and Principles
Introduction to Software Engineering Dr. Basem Alkazemi
Analysis Concepts and Principle.
Chapter 6 Requirements Modeling: Scenarios, Information, and Analysis Classes Slide Set to accompany Software Engineering: A Practitioner’s Approach,
Functional Modeling Chapter 6.
Chapter 7: The Object-Oriented Approach to Requirements
Building The Analysis Model. Object-Oriented Analysis The object oriented analysis define all classes, the relationships and behavior associated with.
USE Case Model.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 7 Requirements Engineering Software Engineering: A Practitioner’s Approach, 6/e Chapter.
Chapter 7 Requirement Modeling : Flow, Behaviour, Patterns And WebApps.
Chapter 4 Requirements Engineering
Understanding Requirements. Requirements Engineering
These slides are designed to accompany Web Engineering: A Practitioner’s Approach (The McGraw-Hill Companies, Inc.) by Roger Pressman and David Lowe, copyright.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Requirement Engineering. Review of Last Lecture Problems with requirement Requirement Engineering –Inception (Set of Questions) –Elicitation (Collaborative.
Software Requirements Part 2 Requirements Engineering Modeling.
Chapter 4 – Requirements Engineering Lecture 3 1Chapter 4 Requirements engineering.
Chapter 11 Analysis Concepts and Principles
Chapter 7 Requirements Engineering
Software Engineering Saeed Akhtar The University of Lahore Lecture 7 Originally shared for: mashhoood.webs.com.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 8: Analysis Modeling Software Engineering: A Practitioner’s Approach, 6/e Chapter.
Chapter 8 요구사항 이해 Understanding Requirements
Developed by Reneta Barneva, SUNY Fredonia for CSIT 425 Requirements Modeling.
1.  A customer walks into your office, sits down, looks you straight in the eye and says, “I know you think you understand what I said, but what you.
1 Structuring Systems Requirements Use Case Description and Diagrams.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Chapter 4 프로세스 모델 Process Models
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 7: Requirements Engineering Software Engineering: A Practitioner’s Approach, 6/e.
1 Chapter 5 Lecture 5: Understanding Requirements Slide Set to accompany Software Engineering: A Practitioner’s Approach, 7/e by Roger S. Pressman Slides.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
1 Modeling System Requirements with Use Cases. 2 Why Do We Need Use Cases? Primary challenge in a system design process –ability to elicit correct and.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Software Design: Principles, Process, and Concepts Getting Started with Design.
Analysis Modeling CpSc 372: Introduction to Software Engineering
By Germaine Cheung Hong Kong Computer Institute
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
1 Chapter 8 Building the Analysis Model (1) Analysis Concepts and Principles.
Requirement Engineering. Recap Elaboration Behavioral Modeling State Diagram Sequence Diagram Negotiation.
Chapter 10 요구사항 모델링 : 클래스 기반 방법론 Requirements Modeling: Class-Based Methods 임현승 강원대학교 Revised from the slides by Roger S. Pressman and Bruce R. Maxim for.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Building analysis model  Analysis modeling uses a combination of text and diagrammatic forms to depict requirements for data function and behavior in.
Prof. Hany H. Ammar, CSEE, WVU, and
Requirement Engineering
28/08/2006SE6161 Prinsip dan Konsep Analisis Analysis Concepts and Principles.
Requirement engineering & Requirement tasks/Management. 1Prepared By:Jay A.Dave.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Requirements Engineering Determining and Defining the Requirements for the Project.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
CSCI 383 Object-Oriented Programming & Design Lecture 7 Martin van Bommel.
Requirements Models Representing the Product in Ways Other than Text.
1 8.1 Requirements Analysis Rules of Thumb Rules of Thumb Models should focus on requirements that are visible within the problem or business domain. The.
Object-Oriented Analysis
Chapter 9 Requirements Modeling: Scenario-Based Methods
Object Oriented Analysis and Design
Chapter 5 Understanding Requirements
Software Engineering: A Practitioner’s Approach, 6/e Chapter 8 Analysis Modeling copyright © 1996, 2001, 2005 R.S. Pressman & Associates, Inc. For University.
Chapter 5 Understanding Requirements
Chapter 5 Understanding Requirements.
Presentation transcript:

Chapter 9 요구사항 모델링: 시나리오 기반 방법론 Requirements Modeling: Scenario-Based Methods 임현승 강원대학교 Revised from the slides by Roger S. Pressman and Bruce R. Maxim for the book “Software Engineering: A Practitioner’s Approach, 8/e”

Requirements Analysis specifies software’s operational characteristics indicates software's interface with other system elements establishes constraints that software must meet Objectives To describe what the customer requires To establish a basis for the creation of a software design To define a set of requirements that can be validated once the software is built

Requirements Analysis Requirements analysis allows the software engineer (called an analyst or modeler in this role) to: elaborate on basic requirements established during earlier requirement engineering tasks build models that depict user scenarios, functional activities, problem classes and their relationships, system and class behavior, and the flow of data as it is transformed.

Elements of Analysis Model

Requirements Modeling Scenario-based System from the user’s point of view Class-oriented Defines objects, attributes, and relationships Flow-oriented Shows how data are transformed inside the system Behavioral Show the impact of events on the system states

Requirements Model as a Bridge

Rules of Thumb The model should focus on requirements that are visible within the problem or business domain. The level of abstraction should be relatively high. Each element of the analysis model should Add to an overall understanding of software requirements And provide insight into the information domain, function and behavior of the system. Delay consideration of infrastructure and other non-functional models until design. Minimize coupling throughout the system. Be certain that the analysis model provides value to all stakeholders. Keep the model as simple as it can be.

Domain Analysis Software domain analysis is the identification, analysis, and specification of common requirements from a specific application domain, typically for reuse on multiple projects within that application domain . . . [Object-oriented domain analysis is] the identification, analysis, and specification of common, reusable capabilities within a specific application domain, in terms of common objects, classes, subassemblies, and frameworks . . . Donald Firesmith

Domain Analysis Define the domain to be investigated. Collect a representative sample of applications in the domain. Analyze each application in the sample. Develop an analysis model for the objects.

Scenario-Based Modeling “[Use-cases] are simply an aid to defining what exists outside the system (actors) and what should be performed by the system (use-cases).” Ivar Jacobson (1) What should we write about? (2) How much should we write about it? (3) How detailed should we make our description? (4) How should we organize the description?

What to Write About? Inception and elicitation—provide you with the information you’ll need to begin writing use cases. Requirements gathering meetings, QFD, and other requirements engineering mechanisms are used to identify stakeholders define the scope of the problem specify overall operational goals establish priorities outline all known functional requirements, and describe the things (objects) that will be manipulated by the system. To begin developing a set of use cases, list the functions or activities performed by a specific actor.

How Much to Write About? As further conversations with the stakeholders progress, the requirements gathering team develops use cases for each of the functions noted. In general, use cases are written first in an informal narrative fashion. If more formality is required, the same use case is rewritten using a structured format similar to the one proposed in Chapter 8.

Use-Cases a scenario that describes a “thread of usage” for a system actors represent roles people or devices play as the system functions users can play a number of different roles for a given scenario

Developing a Use-Case What are the main tasks or functions that are performed by the actor? What system information will the 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?

Reviewing a Use-Case Use-cases are written first in narrative form and mapped to a template if formality is needed Each primary scenario should be reviewed and refined to see if alternative interactions are possible Can the actor take some other action at this point? Is it possible that the actor will encounter an error condition at some point? If so, what? Is it possible that the actor will encounter some other behavior at some point? If so, what?

Use-Case Diagram

Exceptions Describe situations (failures or user choices) that cause the system to exhibit unusual behavior Brainstorming should be used to derive a reasonably complete set of exceptions for each use case Are there cases where a validation function occurs for the use case? Are there cases where a supporting function (actor) fails to respond appropriately? Can poor system performance result in unexpected or improper use actions? Handling exceptions may require the creation of additional use cases

Activity Diagram Supplements the use case by providing a graphical representation of the flow of interaction within a specific scenario

Swimlane Diagrams Allows you (modeler) to represent the flow of activities described by the use-case and at the same time indicate which actor (if there are multiple actors involved in a specific use-case) or analysis class has responsibility for the action described by an activity rectangle

Summary The objective of requirements modeling Create a variety of representations that describe what the customer requires Establish a basis for the creation of a software design Define a set of requirements that can be validated once the software is built Scenario-based models depict software requirements from the user’s point of view The use case is the primary modeling element, which is a narrative or template-driven description of an interaction between an actor and the software We can also use activity diagrams and swimlane diagrams