Task: Chart The Change in a Project's Warning Counts Over Time

This kind of chart displays the changes in project warning counts over subsequent analyses.

See Charts and Chart Tables: Permissions for details of the permissions that apply to charts and charting operations.



This task will produce a chart similar to the following:

screenshot fragment: line graph showing warning counts by analysis

Method

  1. If the CodeSonar Web GUI is not already open, open it now.
  2. View the Project page for the project you are interested in.
  3. Click the Charts and Tables link under the page heading.

    screenshot: Project page with Charts and Tables section marked

  4. The page will expand to show the available chart and table shortcuts.

    screenshot fragment: expanded Charts and Tables section

  5. Click the chart link next to warnings over time.

    The line chart will be displayed in a Chart page.

  6. Choose the active Visible Warnings setting so that the chart displays only active warnings.
  7. There are a number of things you can do with this chart, including:

Edit the Chart

You might want to edit the chart to display a separate line for each warning class, or to display the change in warning counts over time for a second project on the same set of axes.

Display separate lines for each warning class

  1. Select Change groups from the chart Edit menu.

    screenshot fragment: menu selection

    The charting wizard will open with the groups tab displayed.

  2. Click add group.
  3. Select Class from the Group By list. The wizard window should look like the following (the contents of the preview screen will depend on your data).

    screenshot: GROUPS tab of chart wizard showing final selection

  4. Click Update Chart.

    The displayed chart will now have a separate line for each warning class.

Ungroup the chart data

Change back to a single warning count line for the whole analysis.

  1. Select Change groups from the chart Edit menu.
  2. Click the remove group link next to the Group By list.
  3. Click Update Chart.

Display warning counts for a second project on the same set of axes

Add another set of data to the graph.

  1. Select Change data from the chart Edit menu.

    screenshot fragment: menu selection

    The charting wizard will open with the data tab displayed.

  2. Click add project. The tab contents will expand to include a new Project selection list.
  3. Select the name of the project to add to the chart from the new Project list. The wizard window should look like the following (depending on your project names and data).

    screenshot: DATA tab of chart wizard showing final selection

  4. Click Update Chart.

    The displayed chart will now have a separate line for each project. Depending on the time periods over which the projects were analyzed, the lines on the chart may not overlap, or may be different lengths.

Links