Searching for Unused Schema Entities

The Schema menu in the Schema Browser enables you to locate unused classes, properties, class constants, and methods in one or more schemas. An entity is considered unused according to the following criteria.

To locate unused entities

  1. Select the Find Unused Class Entities command from the Schema menu in the Schema Browser.

    The Find Unused Class Entities dialog, shown in the following image, is then displayed.

  2. If you do not want to search for unused entities in the schema selected in the Schema Browser (the default value), perform one of the following actions in the Search Criteria group box.

  3. In the Reporting Options group box:

  4. If you want to output the unused entities to a print-ready preview instead of displaying them in a table in the Unused Class Entities form (the default output action), select the Print Preview option button in the Output Options group box.

  5. Click the Search button to initiate the search of unused entities that match your search criteria. Alternatively, click the Cancel button to abandon your selections.

If the selected schema or schemas are versioned, only the classes in the current version of the schema or schemas are searched for unused entities.

If you select the Print Preview output option, print‑ready output is produced, containing the following columns.

This list is ordered by schema name followed by class name and then unused constants, unused methods, and unused properties within each class.

For details about displaying unused entities output to the Unused Class Entities form, see "Displaying Unused Schema Entities", in the following section.