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.

    • Select the Search all schemas option button, to locate unused entities in all schemas in your JADE database.

    • In the combo box below the Search selected schema option button, select the schema in which you want to locate unused entities.

    • Select the Search selected schema and all sub-schemas option button and in the combo box above the option button, select the schema in which you want to locate unused entities in that schema and its subschemas.

    • Select the Search selected class in selected schema option button and in the combo box below the option button, select the class of the schema selected in the first combo box or that has a local copy class that will be scanned for unused entities.

      For details about filtering the entries displayed in the list box associated with the combo box, see "Filtering Entries in Combo Box and List Box Text", in Chapter 2.

  3. In the Reporting Options group box:

    • Uncheck the Classes check box if you do not want to report on or display unused classes. This check box is checked by default; that is, unused classes are output to the report or displayed in a table in the Unused Class Entities form.

    • Uncheck the Properties check box if you do not want to report on or display unused properties. This check box is checked by default; that is, unused properties are output to the report or displayed in a table in the Unused Class Entities form.

    • Uncheck the Constants check box if you do not want to report on or display unused class constants. This check box is checked by default; that is, unused class constants are output to the report or displayed in a table in the Unused Class Entities form.

    • Uncheck the Methods check box if you do not want to report on or display unused methods. This check box is checked by default; that is, unused methods output to the report or displayed in a table in the Unused Class Entities form.

  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.

2016.0.01 and higher