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


Source Files

On occasion, you may want to see a source file in its entirety. The CodeSonar analysis caches copies of project source files for the most recent analysis of each project. The GUI Source Listing pages display source files with syntax coloring, hyperlinks, and highlighted endpoints.

Viewing a Source File

There are several ways to navigate to project source files. Since you are currently viewing a warning report, it will be most convenient to navigate from there.

  1. Do one of the following.
  2. If necessary, scroll up to the top of the page you have navigated to.

Source File Page

You should see a page that looks (something) like this:

Screenshot: Source Listing Page

Summary Information

  1. Click File Details at the top of the Source Listing to view additional information about the file.

    Screenshot: summary information on Source Listing page

    The Lines field can be expanded by clicking on its show details link.
  2. Click show details next to the Lines count to view more detailed line count figures.

    Screenshot: expanded Lines section

  3. The line directly under the page heading includes a link to a Warning Search Results page listing all warnings issued in the file.
    Click view all to view the list of warnings.
  4. Use your browser's Back button to return to the BasicCsharp.cs file listing.

Warning

Every warning location in the file is indicated with a warning annotation specifying how many warnings were issued at that location, and listing the classes and ID numbers of those warnings with links to the corresponding warning reports.

Screenshot: other warning annotation in a warning report

This is the end of the Basic Tutorial. If you like, you can go to the tutorial index and choose another tutorial exercise.

 

To report problems with this documentation, please visit https://support.codesecure.com/.