Reviewing UML models for trace relationship issues

You can run the UML Model Review analysis configuration on a UML model to detect three different types of traceability problems in the model. You can check your model for missing specifications, missing implementations, and circular trace relationships. You can inspect the results of the analysis and correct the reported problems.
To review a UML model for trace relationship issues:
  1. Click Run > Analysis.
  2. In the Analysis window, right-click Analysis; then click New.
  3. In the Name field, type a name for the configuration.
  4. On the Scope tab, select one of the following options:
    • To analyze all the resources in your workspace, click Analyze entire workspace.
    • To analyze resources in a working set that you previously defined, click Analyze a resource working set and select the resource working sets to include in the analysis.
    • To analyze specific projects, click Analyze selected projects and select the projects to include in the analysis.
  5. On the Rules tab, complete the following steps:
    • From the Analysis Domains and Rules list, select Model Review for UML.
    • On the Properties tab, refine the scope of the analysis to include referenced or closed resources.
    • From the Analysis Domains and Rules list, expand Model Review for UML; then expand the Traceability category. Select the check boxes for all the rules you want to analyze.
  6. Optional: To change the severity rating, select the rule and change the severity on the Properties tab.
  7. Click Apply; then click Analyze. The results are displayed in the Analysis Result view, on the Model Review for UML tab.
  8. Optional: To work with the results of the analysis, in the Analysis Result view, click the Model Review for UML tab and complete any of the following steps:
    • To filter the results to display only problems, click Filter. Click Filter again to display all the results.
    • To export the analysis results to an XML file, click Export. Specify the export format and file name and click OK.
    • To generate an HTML or PDF report of the analysis results, click Report, select the report format, and click OK.
    • To navigate from a result in Analysis Result view to a problematic element in the Project Explorer view, either right-click the result; then click View result or double-click the result.
    • To apply a quick fix, select and right-click a result; then select the suggested fix.

Feedback