Analysis: CRUDE Matrix



index
Disabled back button Next Section
printable version




Section 0: Module Objectives or Competencies
Course Objective or Competency Module Objectives or Competency
The student will be able to assess and apply Object-Oriented analysis and design methods like use cases to express user requirements, UML modeling, and other OO approaches. Understand the rules and style guidelines for CRUDE matrices.
Understand the processes used to create CRUDE matrices.
Be able to create CRUDE matrices.


Section 1: Overview

CRUD was discussed in relation to data flow diagramming.

CRUDE analysis is one useful technique to identify how the underlying objects in the problem domain work together to collaborate in support of the use cases



Section 2: Example

The following figure shows the CRUDE matrix based on the Make Old Patient Appt use case:

Example of a CRUDE matrix.

Each cell in the matrix represents the interaction between instances of the classes.

For example, in the use case for Make Appt shown below, an instance of the Receptionist actor creates an instance of the Appointment class.

Sequence Diagram for Make Appointment.


Section 3: Details

A CRUDE matrix is most useful as a system-wide representation, unlike the interaction diagrams and behavioral state machines.

Once a CRUDE matrix is completed for the entire system, the matrix can be scanned quickly to ensure that every class can be instantiated.


The more interactions among a set of classes, the more likely they should be clustered together in a collaboration.


CRUDE analysis also can be used to identify complex objects.