You can perform the impact and/or gap analysis in your project using the Dependency Matrix feature, which is a powerful way for representing traceability relations between multiple elements from different packages, levels of abstraction, views, or other relations that cannot be represented on diagrams, for example, relations through UML tags. You can create your own dependency matrices or even custom dependency matrix types for visualization of various traceability relations.You only need to define a relevant traceability property as dependency criteria for this.
The following figure depicts an example of traceability relations between several model elements.
Example of traceability relations
These relations can be represented by the following traceability properties:
- Realizing relations (use cases classes):
- Realizing Class
- Realizing Element
- All Realizing Elements
- Specifying relations (classes use cases):
- Specifying Use Case
- Specifying Element
- All Specifying Elements
You can create a dependency matrix to visualize these traceability relations. The following steps will show you how to create a dependency matrix for the Realizing Class predefined property.
To create a dependency matrix for the Realizing Class predefined property:
- Create a Dependency Matrix diagram.
- Define row and column type element types as follows:
- For the row type, select "Use Case",
- For the column type, select "Class"
- Define row and column scopes as follows:
- For the row scope, expand Data > Requirements > MagicTest and select Administration.
- For the column scope, expand Data > Design > MagicTest and select UI.
- Define the Realizing Class property as dependency criteria.
- Rebuild the matrix.
Defining criteria for visualization of traceability relationships that can be represented by Realizing Class predefined property
The following figure depicts the created dependency matrix showing the traceability relationships between use cases and them realizing design classes (the highlighted intersections mark the traceability relations depicted in Figure 10).