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.4.2

...

  1. Select Parasoft> Test Configurations.
  2. Select User-Defined> Parasoft’s Recommended Rules.
  3. In the Name field, replace the current name with <Your_Organization> Standards (e.g. ACME Standards).
    Image Removed
    Image Added

  4. Click Apply.
  5. Click the Static tab and verify that the Enable Static Analysis option is selected.
  6. Expand a rule category in the Rules Tree tab to explore the rules. Rules can be enabled individually, by category or by severity.
  7. Expand the Coding Conventions category
  8. Right click the Local variables and variables of class/parent classes/parent structs have different name should not use the same names as member variables [CODSTA-44-1] rule node and select View Rule Documentation.
    Image Removed
    Image Added

    The built-in knowledge base will launch and open to the documentation for the rule so you can  can determine if you want to include the rule in your Test Configuration set. Exit the documentation when ready to continue.
  9. Right-click the Coding Conventions for C++  [CODSTA-CPP] directory in the Rules Tree tab and select Enable Rules> rules> Enable All.
    Image Removed
    Image Added

    You can also right-click on a rule and select Disable rules to disable individual rules or categories, as well as enable rules based on severity.