Reaves.dev

v0.1.0

built using

Phoenix v1.7.12

Object Oriented Analysis

Stephen M. Reaves

::

2023-09-11

Notes about Lesson 4 of CS-6310

Summary

Analysis

Analysis := the process of understanding a problem

Object Oriented Analysis

OOA is a requirements analysis technique

History

OOA pays primary attention to objects

Prior to OOA, the predominant method was structured design

Objects were seen as a better starting point than functions because functions change more frequently than objects during maintenance.

How?

Look through requirements documents, identifying nouns and verbs

Steps

  1. Candidate Object Classes are indicated by the occurrence of nouns.
  2. The nouns can the be organized into related groups termed classes.
  3. Look for adjectives and model those as attributes.
  4. Action Verbs can be modeled as operations.
  1. Stative Verbs are modeled as relationships.

Technique

  1. Obtain textual description of problem
  2. Underline all nouns
  3. Organize nouns into groups to become candidate classes
  4. Underline all adjectives
  5. Assign adjectives as attributes of candidate classes
  6. Underline verbs, differentiating action vs stative
  7. Assign action verbs as operations on classes
  8. Assign stative verbs as attributes or relationships

Issues

Initial Class Model Diagram

Groups form candidate classes

Conclusions are always tentative