General

GUI Reference: Procedure Search Results

Displays the results of procedure searches.

A procedure search can be performed for any analysis, but procedure search results will only include procedures from analyzed C/C++, C#, and Java code.

For the results of searches in other domains, see Search Results.



Important Note: the CodeSonar Web GUI makes extensive use of JavaScript. Make sure JavaScript is enabled in your web browser.

Navigating to

The Procedure Search Results page can be reached in any of the following ways.

From Advanced Search: Issue a search in the Procedures tab (only available if there is a focal analysis).
From Analysis Procedures: Issue a search using the simple search tool.
From Saved Searches: Click on a line in the Procedures tab.

Page Properties

Output formats CSV, JSON, XML (procedure_search.xsd)
Visibility Filter Applied Visible Procedures
RBAC Permissions Needed
Page AccessANALYSIS_READ
PROJECT_READ
Page Contents/FunctionalityNAMEDSEARCH_WRITE
For more information, see Searching: Permissions.

Contents and Usage

The following annotated screenshot shows the various parts of a Procedure Search Results page.

Annotated Screenshot: Procedure Search Results Page standard header breadcrumbs page heading Save link Other Domains suggestions result table standard footer

Standard Header See GUI Reference: Standard Header.
Breadcrumbs Home > [Other_ProjectTree_Ancestors >] Project_Name > Analysis_Name > Procedure Search Results
where
  • Home links to the GUI Home page.
  • Together with the Home link (corresponding to the root project tree), Other_ProjectTree_Ancestors represents the project tree ancestors of the analyzed project as a >-separated sequence of project tree names. Each name links to the corresponding Project Tree page.
  • Project_Name is the name of the analyzed project, and links to the corresponding Project page.
  • Analysis_Name is the value of the Analysis property for this analysis, and links to the corresponding Analysis page.
Page Heading Project_Name : Analysis_Name : Search Results : Procedures
Save link Expands to provide functionality for saving the current search. See Save a Search for full details.

Saved procedure searches are available (subject to NAMEDSEARCH_EXISTS permissions) in several GUI locations:

'Other Domains' suggestions Shortcut links to execute the same query in different domains.
  • One link is provided to for every domain to which the search query is applicable.
  • If the search is not applicable to any other domains, this section is not included.
Table of results A table describing all procedures that match the search conditions.

The procedures and properties listed in the table are (usually) from the most recent analysis of the project: CodeSonar will display a notification message at the top of the table if the information is from an analysis other than the one originally specified as the search scope. For further information, see Procedures: Availability.

Standard Footer See GUI Reference: Standard Footer.

Saving a Search

See Searching: Saved Searches: Permissions for details of the permissions required to save a named search.

To save a search:

  1. Click to open the Save form, as in the example below.

    Annotated Screenshot Fragment: Save This Search link, with expansions

  2. To save the search, enter a name in the text box and click Save.

Navigating from

view a procedure definition in a source listing Click the Procedure name in a result table entry. The source listing will be scrolled to the corresponding procedure definition when it opens.