Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space CPPTDESKDEV and version 10.3.2

...

  • Enable Static Analysis: Determines whether C++test performs static analysis, which involves checking whether the selected resources follow the rules that are enabled for this Test Configuration.
  • Limit maximum number of tasks reported per rule to: Determines whether C++test limits the number of violations (tasks) reported for each rule, and—if so—the maximum number of violations per rule that should be reported during a single test. For instance, if you want to see no more than five violations of each rule, set this parameter to 5. The default setting is 1,000.
  • Do not apply suppressions: Determines whether C++test applies the specified suppressions. If suppressions are not applied, C++test will report all violations found.
  • Analyze files with parse errorsCode parsing problems: Determines whether how C++test should analyze files with parse errors. By default, this option is disabled, which means that no results will be reported for files with parse errorsThe following options are available:
    - Ignore:  This option is enabled by default. C++test will ignore code parsing problems and report Static Analysis findings. Note that in some cases, analyzing files with parse errors may produce inaccurate results.
    - Warning: C++test will report Static Analysis findings, and code parsing problems will be reported as set up problems and warnings.
    - Error: C++test will not report Static Analysis findings if code parsing problems occur. Set up problems and warnings will be reported.

Rules Tree tab

  • Determines which rules are checked during static analysis. Use the rules tree and related con-trols to indicate which rules and rule categories you want checked during static analysis.
    • To view a description of a rule, right-click the node that represents that rule, then choose View Rule Documentation from the shortcut menu.
    • To enable or disable all rules in a specific rule category or certain types of rules within a specific rule category, right-click the category node, then choose Enable Rules>[desired option] or Disable Rules> [desired option].

    • To search for a rule, use the Filter field at the top of the rules tree. By default, this search covers only rule names. If you want to search throughout rule descriptions, click the Search also in rule descriptions button to the right of this filter.
    • To hide the rules that are not enabled, click the Hide Disabled button. If you later want all rules displayed, click Show All.

...