Systems Analysis - PowerPoint PPT Presentation

1 / 26
About This Presentation
Title:

Systems Analysis

Description:

Convert the use-case descriptions from 'black-box' to 'white-box' ... Remove actors. Remove attributes and operations. 11/11/09. Management Information Systems ... – PowerPoint PPT presentation

Number of Views:16
Avg rating:3.0/5.0
Slides: 27
Provided by: Srid60
Category:

less

Transcript and Presenter's Notes

Title: Systems Analysis


1
Systems Analysis
  • Dr. V. Sridhar
  • Associate Professor
  • IT Systems Group
  • Indian Institute of Management
  • Lucknow

2
Use Case Analysis Overview
  • Use Case Analysis is performed by the Designer,
    once per iteration per use-case realization
  • Supplement use-case specifications
  • For each use-case realization
  • Find Classes from use-case behaviour
  • Distribute use-case behaviour to classes
  • For each resulting analysis class
  • Describe attributes and associations
  • Describe responsibilities
  • Qualify Analysis Mechanisms
  • Unify Analysis Classes
  • Checkpoints

3
Use-Case Realisation
  • A use-case realisation describes how a particular
    use-case is realized within the Design Model in
    terms of collaborating objects
  • A use-case realisation in the Design Model can be
    traced to a use-case in the Use-case model
  • Use-case realisation can be represented using
  • Interaction Diagrams
  • Sequence Diagrams and Collaboration Diagrams
  • Class Diagrams

4
Supplement Use-Case Descriptions
  • The description of each use-case is not always
    sufficient for finding analysis classes and their
    objects
  • Convert the use-case descriptions from
    black-box to white-box
  • The system displays a list of course offerings
  • The system retrieves and displays a list of
    current course offerings from the course catalog
    legacy database

5
Class
  • An abstraction
  • Describes a group of objects with common
  • Properties (attributes)
  • Behavuior (operations)
  • Relationships
  • Semantics
  • Emphasises relevant characteristics
  • Suppresses other characteristics
  • A class contains
  • Class name, structure (attributes),
    behaviour(operations)

6
Find Classes from Use-Case Behaviour
  • The complete behaviour of a use-case has to be
    distributed to analysis classes
  • Use of stereotypes
  • Boundary, control and entity classes
  • Analysis class represents an early conceptual
    model for things in the system which have
    responsibilities and behaviour
  • Analysis classes handle primarily functional
    requirements
  • The first step towards executables

7
Boundary Class
  • Intermediates between the interface and something
    outside the system
  • One boundary class per actor/use-case pair

Register for Courses
Course Catalog System
student
CourseCatalogSystem
RegisterForCoursesForm
8
Entity Class
  • Key abstractions of the System
  • Sources of inspiration
  • Glossary
  • Business Domain Model
  • Use-case flow of events
  • How to find Entity Classes?
  • Underline noun clauses in the use-case flow of
    events
  • Remove redundant candidates
  • Remove vague candidates
  • Remove actors
  • Remove attributes and operations

9
Candidate Entity Classes
  • Register for Courses (Create Schedule)
  • Definitions of Classes
  • CourseOffering A specific course offering for a
    course, including days and times of the week
  • Schedule The courses a student has selected for
    the current semester
  • Student A person enrolled in classes at the
    University

Schedule
CourseOffering
Student
10
Control Class
  • Provides coordinating behaviour in the system
  • One control class per use case

Register for Courses
Course Catalog System
student
RegistrationController
11
Analysis Classes
Register for Courses
Course Catalog System
student
RegisterForCoursesForm
Schedule
CourseOffering
RegistrationController
Student
CourseCatalogSystem
12
Distribute use-case Behaviour to Classes
  • For each use-case flow if events
  • Identify analysis classes
  • Allocate use-case responsibilities to analysis
    clases
  • Model analysis classes interactions in
    Interaction Diagrams

13
Allocating Responsibilities to Classes
  • Use analysis class stereotpes as guides
  • Boundary Classes
  • Behaviour that involves communication with an
    actor
  • Entity Classes
  • Behaviour that involves the data encapsulated
    within the abstraction
  • Control Classes
  • Behaviour specific to a use-case or part of a
    very important flow of events

14
Anatomy of Sequence Diagrams
15
(No Transcript)
16
(No Transcript)
17
Describe Responsibilities
  • Statement of something an object can be asked to
    provide
  • The actions that the object can perform
  • The knowledge that the object maintains and
    provides to other objects

18
(No Transcript)
19
Describe Attributes
  • Attribute
  • Used to store information
  • Attribute name should be a noun that clearly
    states what information the attribute holds
  • Description of the attribute should dscribe what
    information is to be stored in the attribute
  • Sources for Attributes
  • Domain knowledge, requirements, glossary, domain
    model, business model

20
(No Transcript)
21
Describe an Association
  • The semantic relationship between two or more
    classifiers that specifies connections among
    their instances

22
(No Transcript)
23
(No Transcript)
24
More on Class Diagrams
  • Association
  • Structural relationship specifying that objects
    of one thing are connected to objects of another
  • Navigation
  • allows navigation from one kind of objects to
    another
  • Unless specified navigation is bi-directional
  • Arrowhead pointing to the direction of traversal
  • Aggregation
  • Model a whole/part relationship
  • Represents has-a relationship
  • Generalisation
  • Relationship between general thing (super class
    or parent) and a more specific kind of a thing
    (subclass or child)
  • Child is substitutable for the parent
  • Direction from child to parent

25
More on Class Diagram
  • Composition
  • Variations of simple aggregation
  • Has strong ownership and coincident lifetime as
    part of the whole
  • Subclasses once created, they live and die with
    the superclass
  • Dependency
  • Specifies that a change in the specification of
    one thing may affect another thing that uses it,
    but not necessarily the reverse
  • Directed to the thing that is depended on

26
Unify Analysis Classes
  • Before design Analysis classes need to be
    filtered to ensure that a minimum number of new
    concepts have been created
  • Merge classes that define similar behaviour
  • Merge entity classes that define the same
    attributes aggregate the bahviour of merged
    classes
  • Evaluate the results
  • Verify that the analysis classes meet the
    functional requirements of the system
  • Verify that the analysis classes and their
    relationships are consistent with the
    collaborations they support
Write a Comment
User Comments (0)
About PowerShow.com