General

GUI Reference: Warning and File Browse Sequences

Pages of some types may belong to browse sequences. If so, they will provide links for navigating within the sequence.

Browse sequences are available for all analyses, regardless 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.

Introduction

Where possible, the CodeSonar GUI will provide warning browse sequences. A warning browse sequence facilitates stepping through Warning Reports for the warnings in a recently-viewed table without needing to navigate back and forth to the table. Similarly, the GUI will provide file browse sequences that facilitate stepping through Source Listings.

Warning Browse Sequences

A Warning Report will belong to a warning browse sequence if one of the following is true.

Warning Report pages that belong to a browse sequence will include browse sequence navigation links relative to that sequence.

File Browse Sequences

A Source Listing will belong to a file browse sequence if one of the following is true.

Source Listing pages that belong to a browse sequence will include browse sequence navigation links relative to that sequence.

Terminology

We use the following general terminology.

belong to a browse sequence We say a GUI page belongs to a browse sequence if it is:
  • a Warning Report that belongs to a warning browse sequence, or
  • a Source Listing that belongs to a file browse sequence.
establishing page The establishing page for a browse sequence is the Analysis tab or search results page containing the table of warning or file instances on which the sequence is based.

Summary

The following table summarizes the properties of the available browse sequence kinds.

Browse Sequence Kind Sequence Page Type Establishing Page Types
warning browse sequence Warning Report Analysis: Warnings tab; Warning Search Results
file browse sequence Source Listing Analysis: Files tab; File Search Results

Navigating Browse Sequences

If a Warning Report belongs to a warning browse sequence (or a Source Listing belongs to a file browse sequence), navigation links for the browse sequence will be displayed in the page heading.

Page Type Browse Sequence Navigation Links
Warning Report annotated screenshot fragment: warning browse sequence navigation links
<Prev Navigate to the Warning Report for the previous warning in the browse sequence. If the first (or only) warning is shown in the current Warning Report, this option is not available.
numw of numtotal Navigate to the establishing page for the warning sequence.
  • numw is the sequence position of the warning shown in the current Warning Report.
  • numtotal is the total number of warnings in the browse sequence.
Next> Navigate to the Warning Report for the next warning in the browse sequence. If the last (or only) warning is shown in the current Warning Report, this option is not available.
A Warning Report that belongs to a warning browse sequence will also offer a Save and Next button alongside the Save changes button in its Change Warning form.
Source Listing annotated screenshot fragment: file browse sequence navigation links
<Prev Navigate to the Source Listing for the previous file in the browse sequence. If the first (or only) file is shown in the current Source Listing, this option is not available.
numw of numtotal Navigate to the establishing page for the file sequence.
  • numw is the sequence position of the file shown in the current Source Listing.
  • numtotal is the total number of files in the browse sequence.
Next> Navigate to the Source Listing for the next file in the browse sequence. If the last (or only) file is shown in the current Source Listing, this option is not available.

Browse Sequence Changes

Browse sequences are based on the search and sort queries used to construct the establishing page. The results of these queries may change while you are browsing the sequence.

In many cases, the browse sequence can be seamlessly adapted to reflect these changes. If it cannot, CodeSonar will provide a mechanism for reestablishing the browse sequence as described below.

When Problems Occur

There are two main problems that can affect browse sequences: substantial sequence changes and session loss.

Problem: Substantial Sequence Change

In some cases the browse sequence may undergo changes substantial enough that it cannot be automatically adapted. If this happens, CodeSonar will display a message next to the browse sequence navigation links, including a link to the establishing page for the sequence.

To reestablish the sequence:

  1. Use the link provided to navigate to the establishing page.
  2. Choose a table entry to open a Warning Report (or Source Listing, for file browse sequences) that belongs to the browse sequence.
    You should now be able to browse through the sequence using the navigation links.

Problem: Session Loss

User sessions can be lost in various ways, including the following.

If a user session is lost, browse sequence information associated with that session will also be lost. CodeSonar will display an error message indicating that it could not maintain the browse sequence, but will generally not be able to provide a link to the establishing page. However, the establishing page may still be available in your web browser history.

To reestablish the sequence:

  1. If possible, use your web browser history to navigate back to the establishing page.
    Otherwise:
    1. Manually navigate to an establishing page.
      • If the browse sequence was based on the contents of a Warning Search Results or File Search Results page, perform the corresponding search again.
      • If the browse sequence was based on the contents of an Analysis page Warnings or Files tab, navigate to the Analysis page and then choose the appropriate tab.
    2. Select your desired visibility filter.
    3. Perform any required table sorting.
  2. Choose a table entry to open a Warning Report (or Source Listing, for file browse sequences) that belongs to the browse sequence.
    You should now be able to browse through the sequence using the navigation links.