17
Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li

Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Embed Size (px)

Citation preview

Page 1: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Chapter 3 – The Analysis WorkflowCSC532: Fall 2003Original presentation byJoshua HughesZehra RaoshanKiran BalaganiGuang Li

Page 2: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Main Goal

Understand customers requirements to gain momentum towards design.

Primary Result – Analysis Model

ArtifactsWorkersActivities

Page 3: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Artifacts

Usually contains attributes, not

operations.

Boundary ClassesControl ClassesEntity Classes

Page 4: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Use Case Diagram

Swipe Card

Enter Pin

Check Account

Page 5: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Boundary Object

An object with which an actor

interacts.

Example: ATM keypad

Symbol:

Page 6: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Control Object

An object that embodies applicationlogic.Example: Validation

Authenticated

Validation

Symbol:

Page 7: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Entity Object

An object that contains long-lived

information.

Example: Database

Symbol:

Authenticated

Validation

User: John Doe

Pin: 1234

Account number: 111111111Account value: $25,678.56

Address: PO box 7543 Ruston, La 71270

Page 8: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Use Case Realization-Analysis

Use Case – A sequence of actions that actors and system perform to produce results of value.

Collaboration – A collection of classes and other elements that work together to provide some behavior.

Use Case Realization-Analysis – A collaboration that describes how actors perform given a use case.

Robustness Analysis – Looking at each sentence of the use case.

Robustness Diagram - UML collaboration diagram.

Page 9: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Example of Robustness Diagram:

Authenticated

Validation

User: John Doe

Pin: 1234

Account number: 111111111

Account value: $25,678.56

Address: PO box 7543 Ruston, La 71270

Validation AccountATM Keypad

Actor

Page 10: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Analysis Package and Analysis Model:-

Analysis Package – UML package that contains analysis classes and use case realizations-analysis.

Eg:- Service Package

Analysis Model – A package of analysis packages. (Considered correct when it contains all of the use case realization-analysis.)

Architecture Description – View of analysis model. - Analysis packages and relationships - Use case realization-analysis - Analysis classes participating in the use case

realization-analysis

Page 11: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Workers –the key roles within the analysis workflow:-

ARCHITECT:-

Within the analysis workflow, the architect is responsible for

– outlining the analysis model

Page 12: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Workers –the key roles within the analysis workflow:-

USE CASE ENGINEER:-

Builds use case realizations-analysis.

COMPONENT ENGINEER:-

o Ensuring that the analysis classes and use case realizations defined by the use case engineer (s) work well together.

o Getting the contents of one or more analysis packages.

Page 13: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Activities performed within the analysis workflow:-

Perform architectural

analysis

Analyze a Use case

Analyze aclass

Analyze a package

Page 14: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Perform Architectural Analysis:-

Creating outlines of the analysis model and the architecture as a whole

Identifying the first cut of packages that the development team will define while performing the following activities– Analyze a Use Case and Analyze a Class

Analyze a Use Case:-

Building a use case realization-analysis for a use case.

Page 15: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Analyze a Class:-

Expanding the definition of analysis class

A component engineer is responsible for this activity

Refining and expanding the various kinds of relationships that each analysis class is involved in.

Highly cohesive and loosely coupled components are desirable.

Page 16: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

Analyze a Package:-

Building an analysis package that was defined during architectural analysis.

Component engineer plays a vital role.

Traceability between the packages should be high.

Architect captures the changes to the analysis packages and ensures that the changes don’t threaten the integrity of the architecture.

Page 17: Chapter 3 – The Analysis Workflow CSC532: Fall 2003 Original presentation by Joshua Hughes Zehra Raoshan Kiran Balagani Guang Li This presentation will

?