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
General

GUI Reference: Chart Table

Each Chart page has a corresponding Chart Table page that presents the same data in non-graphical format. The two page types have similar structure and functionality.

Saved charts are securable resources. Permission requirements for charting are discussed in Charts and Chart Tables: Permissions.

Chart tables are available for all analyses, regardless of the language or languages involved. However, tables of procedure data will only include data from C/C++, C#, and Java code: procedure information is not available for other languages.



Navigating to

Important Note: the CodeSonar Web GUI makes extensive use of JavaScript. Make sure JavaScript is enabled in your web browser.

A Chart Table page can be reached in any of the following ways.

From Chart: Select View Table from the View menu to show a table of the information displayed in the chart.
From Analysis Expand the Charts and Tables section, then select a table link to view one of the shortcut warning tables.
From Project Expand the Charts and Tables section, then select a table link to view one of the shortcut project tables.
From Home Expand the Charts and Tables section, then select a chart or table link to view one of the shortcut hub tables.

Page Properties

Output formats CSV, JSON, XML (chart_table.xsd)
Visibility Filter Applied Visible Warnings or none, depending on the chart domain
RBAC Permissions Needed
Page AccessANALYSIS_READ
PROJECT_READ
Page Contents/FunctionalityANALYSIS_EXISTS
ANALYSIS_READ
ANALYSIS_WARNING_EXISTS
NAMEDSEARCH_EXISTS
NAMEDSEARCH_READ
PROJECT_EXISTS
SAVEDCHART_DELETE
SAVEDCHART_EXISTS
SAVEDCHART_READ

Contents and Usage

The following annotated screenshot shows the various parts of a Chart Table page.

Annotated Screenshot: Analysis Page standard header breadcrumbs page heading Options menu bar the table chart details standard footer

Standard Header See GUI Reference: Standard Header.
Breadcrumbs The Chart Table page breadcrumbs depend on the scope of the chart (as specified on the search tab of the chart wizard):
  • Home > Chart: Chart_Description if the chart includes warnings/files from the entire hub.
  • Home > [Other_ProjectTree_Ancestors >] Project_Name > Chart: Chart_Description if the chart scope is restricted to a single project.
  • Home > [Other_ProjectTree_Ancestors >] Project_Name > Analysis_Name > Chart: Chart_Description if the chart scope is restricted to a single analysis.
Where:
  • Chart_Description is a short, automatically generated description of the data displayed in the chart.
  • Home links to the GUI Home page.
  • Together with the Home link (corresponding to the root project tree), Other_ProjectTree_Ancestors represents the project tree ancestors of the analyzed project as a >-separated sequence of project tree names. Each name links to the corresponding Project Tree page.
  • Project_Name links to the corresponding Project page.
  • Analysis_Name links to the corresponding Analysis page.
Page Heading Chart: Chart_Description
Options menu bar Contains three menus:
File menu Has the same items, with the same functionality, as the File menu on a Chart page.

Note that Save this chart will save the chart associated with this Chart Table (including information about the current zoom region, if any).

Edit menu Has the same items, with the same functionality, as the Edit menu on a Chart page.

In particular, clicking Update Chart in a Chart Wizard opened through one of these items will cause an updated chart (not an updated table) to be displayed.

View menu The only available item is View chart, which navigates back to the Chart page associated with this Chart Table.
Table The table of data, where each table row represents one piece of information in the chart:
if chart is... ...each table row corresponds to a...
plain or clustered bar (column) bar (column)
stacked bar (column) bar (column) segment
pie slice
line point
scatterplot point
  • The table columns will correspond to the chart categories and values. If the chart data is grouped, there will be an additional table column for the grouping categories.
  • The table has the standard CodeSonar table pagination controls (but not, at present, column management controls).
  • Click on a row to list the elements summarized by that row in a search results page for the appropriate search domain.
  • If the table is displaying warning counts, it is sensitive to the Visible Warnings setting (otherwise, it isn't).
  • The table contents also depend on the applicable CodeSonar permissions.
Chart Details A natural language description of the scope of the table.
Standard Footer See GUI Reference: Standard Footer.

Navigating from

view the search results corresponding to a particular line in the table Click on the table line.
view the information in the table as a chart Select View Chart from the View menu.
view parent analysis information (if any) Click the analysis name in the page breadcrumbs.
view parent project information (if any) Click the project name in the page breadcrumbs.

Related Tasks

 

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