JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.2p0 | CONFIDENTIAL | CodeSecure Inc |
Use this page to perform a search by specifying the desired values of one or more properties in a selected search domain.
Advanced searches are significantly more expressive than ordinary full text searches, but do not capture the full expressiveness of search language searches.
Important Note: the CodeSonar Web GUI makes extensive use of JavaScript. Make sure JavaScript is enabled in your web browser.
The Advanced Search page can be reached from any page in the CodeSonar GUI.
| From all pages: | Click Advanced Search in the standard header. |
|---|---|
| By URL: | http://hub_location/adv_search.html (global context) |
| Output formats | none | ||||
|---|---|---|---|---|---|
| Visibility Filter Applied | none | ||||
| RBAC Permissions Needed |
|
The following annotated screenshot shows the various parts of an Advanced Search page.
| Standard Header | See GUI Reference: Standard Header. | ||||||
|---|---|---|---|---|---|---|---|
| Breadcrumbs |
Depending on the context in which the Advanced Search link was
selected.
where
|
||||||
| Page Heading | Advanced Search: <domain> where <domain> identifies the domain tab that is currently selected. |
||||||
| Domain Tabs |
Specify search domain: Warnings,
Files, Code,
Procedures, Metrics, Analyses, or Projects.
The Warnings, Files, Analyses, and Projects tabs are always
available. The Code, Procedures, and Metrics tabs are only
available if the Advanced Search link was selected from a page
related to a specific analysis. For the purpose of this
determination, a Project page is
considered to be related to the most recent analysis of that
project. (Note: When a GUI page is related to a particular analysis A, we say that A is the focal analysis of that page.) |
||||||
| Search Controls |
Every tab has basic search controls at the top.
|
||||||
| Search conditions | The fields in this section depend on which domain tab is selected. | ||||||
| Standard Footer | See GUI Reference: Standard Footer. |
The tables in the following sections provide full information about each search conditions that can be specified in each domain tab:
The operator applied when multiple terms are entered for a single condition is OR (at least one term must be matched). There is one exception: behavior for the field labeled "where the warning report contains..." is controlled by the "[all of | the exact phrase | at least one of]" menu provided.
| Field | Comparison to field contents | Notes | |
|---|---|---|---|
Warning: GeneralFull text search; high-level location information. |
|||
| where the warning report contains |
Full text search across all warning fields. This can be very
slow in large databases: if a full text search seems to be
taking a long time, try expressing your search requirements
with field-specific search conditions instead.
Use the pull-down menu to specify the relationship between warning contents and the value(s) you enter. The options are:
|
||
| where the warning report doesn't contain | The search results will include only warnings that don't contain any of the specified words in any field. | ||
| where the project name contains | Only available when scope is "all projects, most recent analyses" or "all projects, all analyses". | ||
| where the analysis name contains | Only available when scope is "all projects, most recent analyses" or "all projects, all analyses". | ||
| where the file name contains | |||
| where the file path [contains | doesn't contain] |
Use the pull-down menu to specify the relationship between the
file path and the value(s) you enter. The options are:
|
||
| where the procedure name contains | |||
Warning: ClassInformation about the warning's class. |
|||
| Class Name | EXACT | Select required warning class names from the list. The list contains all classes for which at least one warning instance has been submitted to the hub. Selections will be ORed with the conditions specified in the Class Name Contains field (if any). | |
| Class Name Contains | CONTAINS | Specify a substring that must appear in the warning class name. Class name conditions specified in this field will be ORed with the class names selected from the Class Name checklist (if any). | |
| Categories | CONTAINS | Specify a substring that must appear in the warning class categories string. | |
| Significance | EXACT | Select required warning class significance values from the list. | |
Warning: DetailsSpecific information about the warning instance. |
|||
| ID | EXACT |
Search terms are matched against:
|
|
| Score | Depends on menu selection. |
Use the pull-down menu to specify the relationship between
warning score and the value(s) you enter. The options are:
|
|
| Date | Depends on menu selections. |
Use the first of the two pull-down menus to select the date
field to match against: Detected,
First
Detected, or Modified.
Use the second menu to select a date range.
|
|
| Line Number | special |
Matches against the warning's Line
Number as follows.
|
|
| Source Excerpt | CONTAINS | Matches against the warning's Listing. | |
Warning: PropertiesUser-modifiable properties of a warning group. |
|||
| Owner | EXACT | ||
| Priority | EXACT | ||
| State | EXACT | ||
| Finding | EXACT | ||
| Field; comparison to field contents | Notes |
|---|---|
| where the file name contains | |
| where the file path [contains | doesn't contain] |
Use the pull-down menu to specify the relationship between the
file path and the value(s) you enter. The options are:
|
| where the project name contains | Only available when scope is "all projects, most recent analyses" or "all projects, all analyses". |
| where the analysis name contains | Only available when scope is "all projects, most recent analyses" or "all projects, all analyses". |
| Field | Comparison to field contents | Notes |
|---|---|---|
Code: GeneralToken names; location information. |
||
| where the code contains any of the tokens | Each result returned by the search will describe an occurrence of a token whose name exactly matches a word specified here. | |
| where the file name contains | ||
| where the file path contains | ||
Code: Token PropertiesThe kind and usage of a particular token occurrence. |
||
| kind | EXACT | |
| usage | EXACT |
Select the usage or usages required from the list provided.
|
| Field | Comparison to field contents | Notes |
|---|---|---|
| where the procedure name contains | ||
| where the procedure name doesn't contain | ||
| where the file name contains | ||
| where the file path [contains | doesn't contain] |
Use the pull-down menu to specify the relationship between the
file path and the value(s) you enter. The options are:
|
|
| Field | Comparison to field contents | Notes |
|---|---|---|
Metrics: GeneralSpecify the component search for the resulting metric report. |
||
| where the procedure name contains | ||
| where the file name contains | ||
| where the file path [contains | doesn't contain] |
Use the pull-down menu to specify the relationship between the
file path and the value(s) you enter. The options are:
|
|
Metrics: Metric TypesSpecify the metrics included in the resulting metric report. In particular, if no metric types are selected then the resulting report will always be empty. If no metrics of a given granularity were computed, the list for that granularity is omitted from the tab. |
||
| Procedure | EXACT | Provides a list of all procedure-granularity metrics (built-in and user-defined) computed by the focal analysis. |
| File | EXACT | Provides a list of all file-granularity metrics (built-in and user-defined) computed by the focal analysis. |
| Compilation Unit | EXACT | Provides a list of all compilation-unit-granularity metrics (user-defined only - there are no built-in ones) computed by the focal analysis. |
| Field | Comparison to field contents | Notes |
|---|---|---|
Analysis: GeneralHigh-level information about the analysis and the analyzed project. |
||
| where the analysis name contains | ||
| where the analysis name doesn't contain | ||
| where the analysis description [contains | doesn't contain] |
Use the pull-down menu to specify the relationship between the
analysis description and the value(s) you enter. The options
are:
|
|
| where the project name contains | ||
Analysis: DetailsSpecific information about the analysis. |
||
| Started | Depends on menu selection. |
Use the menu to select a date range.
|
| Finished | Depends on menu selection. | See notes for Started. |
| Warning Count | Depends on menu selection. |
Use the pull-down menu to specify the relationship between
warning count and the value(s) you enter. The options are:
|
| File Count | Depends on menu selection. | See notes for Warning Count. |
| Machine | CONTAINS | |
| Address | CONTAINS | |
| Install | CONTAINS | |
| User | CONTAINS | |
| Field; comparison to field contents | Notes |
|---|---|
Project: GeneralHigh-level information about the project. |
|
| where the project name contains | |
| where the project name doesn't contain | |
| where the project description [contains | doesn't contain] |
Use the pull-down menu to specify the relationship between the
project description and the value(s) you enter. The options
are:
|
Project: DetailsSpecific information about the project. |
|
| Created |
Use the menu to select a date range.
|
| view search results | Execute a search by specifying one or more search conditions and clicking Search. |
|---|
To report problems with this documentation, please visit https://support.codesecure.com/.