General

GUI Reference: Analysis Search Results

Displays the results of analysis searches.

Analyses in the list of search results can involve any language or languages, provided the analyses satisfy the search constraints.

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 Analysis Search Results page can be reached in any of the following ways.

From Advanced Search: Issue a search in the Projects tab
From Project or Home: Issue a search using the simple search tool.
From Saved Searches: Click on a line in the Analyses tab.

Page Properties

Output formats CSV, JSON, XML (analysis_search.xsd)
Visibility Filter Applied Visible Analyses
RBAC Permissions Needed
Page AccessANALYSIS_READ
PROJECT_READ
Page Contents/FunctionalityANALYSIS_DELETE
ANALYSIS_EXISTS
NAMEDSEARCH_WRITE
For more information, see Searching: Permissions.

Contents and Usage

The following annotated screenshot shows the various parts of an Analysis Search Results page.

Annotated Screenshot: Analysis Search Results Page standard header breadcrumbs heading Save link Other Domains suggestions Remove Analyses button Remove Logs button Remove .prj_files button result table Remove Analyses button Remove Logs button Remove .prj_files button standard footer

Standard Header See GUI Reference: Standard Header.
Breadcrumbs Home > [Other_ProjectTree_Ancestors >] Proj_Name > Analysis Search Results
Home > Analysis Search Results
depending on whether or not the search was restricted to a specific project, 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 project to which the search was restricted (if any), and links to the corresponding Project page.
Page Heading Proj_Name : Search Results: Analyses
Search Results: Analyses

depending on whether or not the search was restricted to a specific project.
Save link Expands to provide functionality for saving the current search. See Save a Search for full details.

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

  • The Analyses tab of the Advanced Search page provides a list of saved analysis searches: select a search from this list to execute it in its original scope (unless that scope no longer exists: see Searching: Saved Search Execution Scope: Analyses).
  • The Analyses tab of the Saved Searches page provides information about the current set of saved analysis searches, and provides deletion functionality. Click a row in the table of searches to execute the corresponding search in its original scope (unless that scope no longer exists: see Searching: Saved Search Execution Scope: Analyses).
  • The Visible Analyses selector provides a list of saved analysis searches: select a search from this list to impose the corresponding constraints on the page contents. The effect of the Visible Analyses selection is independent of the original scope of the search.
'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 analyses that match the search conditions. Click on any line in the table to navigate to the corresponding Analysis page.
  • The table has the standard pagination controls.
  • If an analysis is still in progress, values in metric and warning count columns will reflect the current counts.
The available table columns are as follows. Columns displayed by default are marked with an asterisk (*).
  Column Label Column Data
Analysis Information Analysis ID Analysis ID
Analysis * Analysis
Analysis Description Analysis Description
Parent Analysis ID Parent Analysis ID
Protected from Auto-deletion Protected?
Started * Started
Linking Started Linking Started
Finished Finished
Modified Modified
State * State
Hub User Analysis Launch Daemon . Hub User
Username Analysis Launch Daemon . System User
Build Machine Build Machine
Analysis Machine Analysis Launch Daemon . Machine
Address Analysis Launch Daemon . Address
Install Analysis Launch Daemon . Installation
Warning Count Warning Count
File Count File Count
Most Recent Most Recent?
Dry Run Dry Run?
Logs Present Logs Present?
.prj_files Location Analysis Directory . .prj_files Location
.prj_files Size Analysis Directory . .prj_files Size
.prj_files Exists Analysis Directory . .prj_files Exists
Every built-in and user-defined analysis-granularity metric class present in at least one analysis that has taken place on the hub (subject to ANALYSIS_READ permission), each labeled with the metric class description. Lines With Code (LCode) is displayed by default.
Every user-assigned property that is associated with at least one analysis that has taken place on the hub (subject to ANALYSIS_READ permission), each labeled with the property key. If a property value contains a URL, the URL is displayed as a hyperlink. By default, no user-assigned properties are displayed.
Project Information Project Name
Project ID Project ID
Project Description Project Description
Role-Permissions black key icon *
("Permissions Link")
Click grey key icon in a row to navigate to the Analysis Role-Permissions page for the corresponding analysis.
Remove Analyses button Click to remove one or more of the analyses. This button is available above and below the table of results. See Project: Removing Analyses for full instructions.
Remove Logs button Click to remove the logs from one or more of the analyses. This button is available above and below the table of results. See Project: Remove Logs for full instructions.
Remove .prj_files button Click to remove the project analysis directory and all contents from one or more of the analyses. This button is available above and below the table of results. See Project: Remove Project Analysis Directories for full instructions.
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 an analysis page Click corresponding row in a result table entry.