Analyzing Traceability Links in Rhapsody

This lesson guides you through how to analyze the traceability links.

Once the link is made between a Requirement and a Model Element, the ReqXChanger provides analytic information.

To analyze traceability links, we advise you to create traceability views.
To do this, we have defined three tables that you can reuse in your models:

Requirements Details

The Requirements Details Table displays the following information for a Requirement:

To create a Requirements Details View, select the "Requirements" Package. Right-click and select the menu Add New > ReqXChangerTables > RequirementsDetails.
Set a name to the Requirements Details View created, for example "Requirements Details".
Double-click on the View to open it.

This view shows all Model Requirements, such as:


In our example, we can see that the Requirement called "LLR4" is traced by the Architecture Elements "CoffeeBeans" and "Control".

Requirements Hierarchy

The Requirements Hierarchy Table displays the Requirement of the Project hierarchically. For each Requirement, it also displays:

Finally, the table gives for each Package, the percentage of Requirement covered by an Architectural Element.

To create a Requirements Hierarchy View, select the "Requirements" Package. Right-click and select the menu Add New > ReqXChangerTables > RequirementsHierarchy.
Set a name to the Requirements Hierarchy View created, for example "Requirements Hierarchy".
Double-click on the View to open it.

This view shows Requirements hierarchically, such as:


In our example, we can see that the Requirements in the Package "QualityRequirements" are covered at 7.69%.

Links

To create a Links View, select the "Requirements" Package. Right-click and select the menu Add New > ReqXChangerTables > LinksView.
Set a name to the Links View created, for example "Links".
Open the View Specification (Right-Click and then Features...). Change the scope to be "CoffeeMachineTraining" (the name of the Project).


The Links Table displays the Name of the 'to' and 'from' Elements having a Dependency to a Requirement, such as: