Creating a Code Search Report

To create a custom report:

  1. Select objects from the Repository Browser.
    Note: You can select objects from different projects with different object types. If you don't select files but a project, the report will be run for all programs in it.
  2. Select Code Search Reports > Code Search Reports... from the Reports menu or from the context menu in the Repository Browser.
  3. When the Code Search Reports window opens, expand the list box. It lets you choose from a few items: <New Report>, previously-created reports (if any), Performance optimization queries and Migrate Net Express to VC. Select<New Report>.
  4. Select categories and subcategories of queries from the tree structure. Note that when you select a category, you automatically select all it subcategories.

    The Only show queries for project/object types is checked by default and the queries displayed in the tree structure are only the ones for the project/object types that you have selected. If you uncheck this option, all possible queries will be displayed.

    When Only show selected queries for saved reports is checked and you have selected an already saved report from the list at the top, only the queries selected for it will be displayed. If you are creating a new report, all queries are shown in the tree.

  5. In the Report name field write a name for the custom report or use the default one. The report name must be unique and not used for any other report.
  6. Select a save location for the report. The default one is the Output\Custom Reports folder of the workspace.
  7. From the options below you can choose if you want to generate an HTML report and if you want to make the report available to other users.
  8. Click Save to save the report.
  9. Click Run to save and run the report.
Note: The report is generated in a folder with the same name as the report. It has a date/time stamp so as to avoid overwriting.
Note: The last ten reports that were run will be saved and you can access them from the Repository Browser by right-clicking and then selecting Code Search Reports. Running the report a report from the list of previously-created reports will show results but no report file will be generated.