Warnings for definitions (Professional Edition only)

In this section, you will learn how to use the warnings for definitions feature within the OCLWorkshop2009Demo project.
This feature checks on demand for a project if definitions are used in queries or tests and if they are documented.
The results are represented as warnings.

  1. Make sure that all libraries are parsed. For this step you can use Project > Clean... and select the appropriate projects.
  2. Clean a project

  3. If the problems view is not visible, select the menu item Window > Show View > Problems.
  4. In the Package Explorer view, select a project.
  5. Right click on the selected project and select the menu item Definition-not-used Check.

    Right click on project

  6. The definitions that are not used in queries or tests or are not documented are shown as warnings in the problems view.

    Project Statistics in the editor

  7. On double click on a warning you can navigate to the definition.