ACS Broadcast Mail

nutmegactΛογισμικό & κατασκευή λογ/κού

10 Νοε 2012 (πριν από 5 χρόνια και 1 μήνα)

209 εμφανίσεις

Requirements Analysis
and Design and UML

UMDNJ

Ed Castagna

Research Administration Systems
Programmer/Analyst

Requirements Analysis and
Design and UML


Sponsorship & Sponsor Vision


Other Source of Requirements


Full Project Life Cycle


Requirements (UML Use Case Diagram, UML
Activity Diagram)


Design


Develop Application


Test Application


Move Application to Production


Documentation and Support

UMDNJ

UMDNJ

Requirements Analysis and
Design and UML


99% of the time programmers are working
with something that they want to get working
right.


1% of the time remaining they are looking
for the next thing to work on.

UMDNJ

UMDNJ

Sponsorship & Project
Vision


Sponsor will bear the costs of the effort.


Sponsor will assign essential (must
-
have) ,
follow
-
on (high priority) and wish list (low
priority) Functional Requirements (FR).


Create a Sponsor Vision Document with the
Sponsor

UMDNJ

UMDNJ

Requirements Sources


The sponsor will probably be too busy to be
constantly involved.


If that is the case, they may wish to delegate
requirements to some people who they
would like you to use to come up with
Functional Requirements

UMDNJ

UMDNJ

Requirements


Requirements are a list what the product will
do


List all the different roles that will need to use
the system.


List all of the functions that the application will
do


List which roles will perform which functions


Requirements details need to be saved for the
Software Requirements Specification, but are
left off some UML documents for clarity.

UMDNJ

UMDNJ

Requirements


Our First UML Document


A Use Case
Diagram


What Users perform what functions?


(ie. What Actors are associated with what Use
Cases?)


Keep it simple: Too much on a page is not easy
to get your arms around.

UMDNJ

UMDNJ

UMDNJ

Requirements


Wimbledon Use
Case Diagram

Requirements


Refining Use Case Diagrams


Defining the steps which will be carried out
within a specific use case


A Use Case Scenario refines a Use Case
Diagram


It is a textual description of what steps
happen when a user within a specific role
does a function within the system

UMDNJ

UMDNJ

Requirements


Use Case
Scenario: Create Draw


USE Case ID and Name: Create Draw


Description: The system creates draw (the tree of
who will be playing who within a Wimbledon
tournament) from the registered tennis players


Actors: Tournament Director


Priority: Essential


Risk: High


There is a high risk involved if the
system cannot create a draw, play cannot begin.

UMDNJ

UMDNJ

Requirements


Use Case
Scenario: Create Draw


Pre
-
conditions and assumptions:


Players have registered


Time for last registration has expired


The draw has not already been created


Trigger: The user presses the Create Draw
Button.

UMDNJ

UMDNJ

Requirements


Use Case
Scenario: Create Draw



Flow of Events:


All of the players in the first round are assigned
to matches


Assign the times for the first round


Assign the courts for the first round


Assign umpires for the first round matches

UMDNJ

UMDNJ

Requirements


Use Case
Scenario: Create Draw


Alternate Flow: There is no alternative flow
for a Create Draw


Post
-
Conditions:


The draw has been created


The draw will be able to be printed for posting in
the club house


The draw will be able to be printed for posting
around the stadium


The draw will be able to be reviewed on the
public web site without any scores

UMDNJ

UMDNJ

Requirements


Use Case
Scenario: Create Draw


Non Functional Requirements


Reliable


around the clock usage


Ease of Use


can be used without support


5 Second Response time to enter key presses on
the application.

UMDNJ

UMDNJ

Requirements


The next UML Document is an Activity Diagram


Put the use case scenario “flow of events” into an
Activity Diagram


From the Activity Diagram, a user can see what
system related activities will lead to completing a
use case


Each Activity Diagram only reflects one way
through the application


Each Activity Diagram can be used as a test case

UMDNJ

UMDNJ

Requirements


Activity Diagram:
Create Draw

Requirements Analysis and
Design and UML



NetBeans 5.5.1 has UML Plug
-
in to create
UML Models


I haven’t investigated NetBeans
Implementation, but some allow code
framework and code creation using UML
Diagrams.


Do you want to see NetBeans Demo for
Creating these Documents?

UMDNJ

UMDNJ

Requirements Analysis and
Design and UML



For another day:


Design ( Class Diagram, Collaboration Diagram,
Component Diagram, Deployment Diagram, Sequence
Diagram, State Diagram)


Develop Application (Class Diagram, Collaboration
Diagram, Component Diagram, Sequence Diagram,
State Diagram)


Test Application (Activity Diagram)


Move Application to Production (Deployment Diagram)


Documentation and Support (All Diagrams)

UMDNJ

UMDNJ

Requirements Analysis and
Design and UML




Q & A



Ed Castagna IST/BST/RAS


castageg@umdnj.edu


UMDNJ

UMDNJ