Task: Chart A Project's Active Warnings by Directory

This kind of chart allows you to see at a glance whether there are project source directories that are responsible for disproportionately many warnings.

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: pie chart of warnings per directory

Method

  1. If the CodeSonar Web GUI is not already open, open it now.
  2. View the latest analysis of the project you are interested in.
  3. Choose the active Visible Warnings setting.
  4. Click Charts and Tables.

    screenshot:show options link marked

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

    screenshot fragment: show logs expansion

  5. Click the create new chart link to open the chart wizard.
  6. Select pie from the chart type tab.

    Screenshot: CHART TYPE tab with PIE selected

  7. Click next > to go on to the data tab.
  8. Select Directories from the Slices list and Number of Warnings from the Count list.

    Screenshot: DATA TYPE tab with DIRECTORIES/NUMBER OF WARNINGS selected

  9. Click Create Chart.
  10. Your chart will be displayed in a Chart page.
  11. There are a number of things you can do with this chart, including:

Links