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 |
A Parse Log logs the parsing activities of CodeSonar. If parse errors are encountered, they will be displayed on this page.
For example, if your compiler supports a keyword that CodeSonar doesn't understand, you will see a parse error on this page (but not in the build log). When you see parse errors on this page, you should attempt to resolve them; otherwise the quality of the CodeSonar analysis may be adversely affected.
Parse Log pages only contain logging information and links when configuration parameter SEND_HOOK_LOG_TO_HUB is set to Yes.
The parse log has two filtering options. The default filter is errors only, in which only failed compilations are displayed. The alternative is all compilations. The errors only filter is useful when you want to examine errors that occurred, or want a quick overview of the parse phase. The all compilations filter is useful when you want to confirm that all expected compilations took place.
| From any log page: | Click show logs (on the Finished line) to expand the list of logs, then click one of the links on the codesonar parse line. If the logs for the analysis have been deleted, the show logs link will not be active. | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| From Analysis: |
Expand the Analysis Details
section, then click one of the links on the Logs
codesonar parse line. If the logs for the analysis have
been deleted,
the Logs section will contain a "logs have been
deleted" notification instead of a table of links.
|
||||||||||||||||||||
| From Source Listing: | Expand the File Details section, click show logs (on the Finished line) to expand the list of logs, then click one of the links on the codesonar parse line. If the logs for the analysis have been deleted, the show logs link will not be active. | ||||||||||||||||||||
| by URL: |
The URL depends on the log
view and filter required:
|
| Output formats | XML (log_parse.xsd), text | ||
|---|---|---|---|
| Visibility Filter Applied | none | ||
| RBAC Permissions Needed |
|
The following annotated screenshot shows the various parts of a Parse Log page with the default errors only filter.
Note that if SEND_HOOK_LOG_TO_HUB=No, the page will not contain any logging information: the parse phase summary will show zero counts for all result types, and there will be no log entries.
The changes when the filter is changed to all compilations are shown in the following annotated screenshot.
| Standard Header | See GUI Reference: Standard Header. | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Breadcrumbs |
Home > [Other_ProjectTree_Ancestors >]
Project_Name > Analysis_Name > CodeSonar
Parse [Error] Log where
|
||||||||||||
| Page Heading | Project_Name : Analysis_Name : CodeSonar Parse [Error] Log | ||||||||||||
| Basic Analysis Information |
A table of basic information about the analysis:
|
||||||||||||
| Parse Phase Summary |
Summarizes the status of the compilation
units in the project. If the parse phase is still in
progress, numbers reflect the compilations that have occurred
so far: reload the page to update the numbers.
A color key at the far left of the parse phase summary shows how compilation unit lines in the log are colored to reflect their status.
Note: if SEND_HOOK_LOG_TO_HUB=No, the parse phase summary will show zero counts for all result types, regardless of the actual number of compilations and their outcomes. If logs for this analysis have been deleted, a deletion notification will be displayed instead of this and the remaining page sections. |
||||||||||||
| Filter Information | Specifies which filter is currently applied, and provides a link for changing to the other filter. | ||||||||||||
| Log |
The parse log is structured as a series of entries, where each
entry represents a single compiler invocation issued by the
hooked build
command.
|
||||||||||||
| Standard Footer | See GUI Reference: Standard Footer. |
| view the analysis build or analysis log or see a different view of the parse log | Click show logs, then select the desired log and view from the list of links. |
|---|---|
| view the native compilation details log for a compilation unit | Click the compiler command line in the header of the associated log entry. |
| view the parse details log for a compilation unit | Click the compilation unit name in the body of the associated log entry. |
| switch between filters | Use the link in the filter information section, as described above. |
To report problems with this documentation, please visit https://support.codesecure.com/.