This section explains how to configure quality task reporting preferences.

Sections include:

Configuring Task Reporting Preferences

To configure general options related to how tasks are displayed in the Quality Tasks view:

  1. Choose Parasoft> Preferences to open the Preferences dialog.
  2. Select the Quality Tasks category in the left pane.
  3. Modify settings as needed. Options are described below.
OptionDescription
Clear existing tasks on startupSpecifies whether tasks from previous tests are cleared upon startup.
Include source control and DTP details in tasks during analysisSpecifies whether new tasks include source control and DTP details. In the UI, details include revision, time, and comments. In reports, only the revision number is shown.
Keep tasks tree always expandedSpecifies whether the task tree always expanded. 
Automatically expand tasks tree during testingSpecifies whether the task tree is automatically expanded during testing. 
Decorate code markers when tasks become out of dateSpecifies whether markers are placed next to tasks that are now outdated (i.e., because the current source code does not match the analyzed code).
Import out of date tasks for modified resource

Allows C/C++test t to import violations generated for files that have been changed locally since the time that the task was generated. If these tasks are imported, they will be marked as "out-of-date" if the Decorate code markers when tasks become out of date option (described above) is also enabled.

Relocate tasks during importAllows C/C++test to import tasks into a project with different logical layout (compared to the original project analyzed - e.g., if the project on your desktop system is different than the one on the machine running the command line interface). See the section below for information on requirements and limitations

Relocating Tasks During Import: Requirements and Limitations

Requirements

Server Set-up

For reports generated with pre-2023.2 C/C++test version: you can relocate tasks upon import to desktop installations if the generated reports contain information about physical file paths i.e., if they were generated with the Add absolute file paths to XML data option enabled. This option is no longer supported starting with version 2023.2.

Desktop Set-up

To ensure that mapping between physical paths on the server and desktop is defined:

  1. Go to Parasoft> Preferences> Quality Tasks.
  2. Enable the Relocate tasks during import option.
  3. Click New to open the relocation dialog.
  4. Enter mapping details by specifying the Original location, the physical location on the server, and Local location, the equivalent physical location on the desktop.
  5. Click OK to add the entry to the table.

    Entries are processed from top to bottom; the first matching entry will be used.

Limitations

Relocation can be used only for importing tasks. Other elements of the team workflow, like GUI Suppressions or Authorship Mapping, will not be relocated automatically.


  • No labels