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 code listing for a single source file . The listing is enhanced with hyperlinking, syntax highlighting, and annotations.
For projects that have undergone multiple analysis runs, source listings are generally only available for files from the most recent analysis. For full details, see Source Files: Availability.
Source Listing pages are available for all available source files, independent of the language or languages involved.
Important Note: the CodeSonar Web GUI makes extensive use of JavaScript. Make sure JavaScript is enabled in your web browser.
The Source Listing page for a file can be reached in any of the following ways.
| From Analysis: |
|
|---|---|
| From Explore Callers | Click next to Go to Definition in the pop-up menu for a
call tree node (navigates to the corresponding procedure
definition within the listing). |
| From File Search Results: | Click any line in the result table. |
| Information
Window (on any applicable page) |
Click next to any file
name/line number link. |
| From Metric Report: | Click any line in any procedure-, file-, or compilation-unit-granularity result table. |
| From Procedure Search Results: | Click any line in the result table (navigates to the corresponding procedure definition within the listing). |
| From Search Callers results | Click Go to definition in the pop-up menu for a procedure name in the result table and select the |
| From Source Listing (within a file browse sequence) |
Click the <Prev (or Next>) browse sequence navigation link to navigate to the Source Listing for the previous (or next) warning in the sequence. |
| From Warning Report: |
Click any of the following.
|
| Output formats | XML (file_listing.xsd), text | ||||
|---|---|---|---|---|---|
| Visibility Filter Applied | Visible Warnings | ||||
| RBAC Permissions Needed |
|
The following annotated screenshot shows the various parts of a Source Listing page.
| Standard Header | See GUI Reference: Standard Header. The highlight legend is available. | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Breadcrumbs |
Home > [Other_ProjectTree_Ancestors >]
Project_Name > Analysis_Name >
File_Name where
|
|||||||||||||||||
| Browse Sequence Navigation Links | < Prev (File numw of
numtotal) Next > Provide navigation within the current file browse sequence. If the Source Listing does not belong to a browse sequence, these links are not shown. For full details, see Warning and File Browse Sequences: Navigating Browse Sequences. |
|||||||||||||||||
| Page Heading | Project_Name : Analysis_Name : File_Name | |||||||||||||||||
| Warning Summary |
A sentence specifying how many warnings were issued in this
file.
|
|||||||||||||||||
| File Information Options | There is one information section: File Details. It is hidden by default. | |||||||||||||||||
| File Details |
Click for general details about the file.
|
|||||||||||||||||
| Age Note |
If you have tried to obtain a listing for a file associated
with an old analysis of the project, CodeSonar will notify you
that only the most recently analyzed version of the file is
available, then display this newest version. As a reminder in
this case, a note is displayed above the annotated listing:
This most recent version is likely to be useful if the file has not changed, or only changed slightly, However, if the file has changed significantly then the most recent version may be misleading. For more information, see Source Files: Availability. |
|||||||||||||||||
| Options menu |
To open the Options menu, click Options at the top left of the listing.
The options are as follows.
With the exception of Show warnings, CodeSonar will remember your settings and apply them to all source listings. If you are logged in, the settings will be associated with your username and will still be applied the next time you log in. Otherwise, they will be applied for the remainder of your user session. |
|||||||||||||||||
| Annotated File Listing |
A pageable view of the file, with syntax highlighting and
annotations added by CodeSonar to mark important locations in
the code.
Information about the current page and navigation controls for viewing other pages are displayed at the top and bottom of the listing.
The listing contains the following features.
|
|||||||||||||||||
| Standard Footer | See GUI Reference: Standard Footer. | |||||||||||||||||
Source listings have warning and parse error annotations.

| navigate the source listing | See Source Coloring and Interaction. |
|---|---|
| navigate within the current file browse sequence (if any) | See Warning and File Browse Sequences: Navigating Browse Sequences. |
| warning search results: visible warnings in this file | Click view all in the Warnings line. |
| view the parse details log for the compilation unit containing this file | Open the File Details section and
click the file path link on the Compilation Unit line. (Only available if SEND_HOOK_LOG_TO_HUB=Yes and SEND_PARSE_LOG_TO_HUB=Yes.) |
| view the analysis build , parse, or analysis log | Open the File Details section, click show logs, then select the desired log from the list of links. |
To report problems with this documentation, please visit https://support.codesecure.com/.