Reviewing UML models

You can run a UML Model Review analysis configuration on a UML model to detect 15 different types of problems in the model. For example, you can check your model for broken semantic relationships, missing specifications, or correct Java™ naming conventions. UML review rules are grouped into five categories: completeness, correctness, Java naming, style, and traceability.

To review a UML model:

  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 page, 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 page, complete the following steps:
    1. In the Analysis Domains and Rules list, select Model Review for UML.
    2. On the Properties tab, refine the scope of the analysis to include referenced or closed resources.
    3. In the Analysis Domains and Rules list, expand Model Review for UML and expand any of the five rules categories. Select the check boxes for all the rules that you want to check.
  6. Optional: To change the severity rating, select the rule and change the severity on the Properties tab.
  7. Click Apply and 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 results.
    • To export model review analysis results to an XML file, click Export. Select 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 the 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