Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The parent technical criterion for this rule was incorrectly set to "61020: Programming Practices - Modularity and OO Encapsulation Conformity", but it has been changed to "61014: Programming Practices - Error and Exception Handling". Therefore, after an upgrade to CAST AIP 8.3.16 and the generation of a post-upgrade consistency snapshot on unchanged source code, results may change. Grades for the new and previous parent technical criteria and Health Factors will change.

...

The following rules have been disabled in CAST AIP 8.3.16, therefore after upgrade to this release and the generation of a post upgrade consistency snapshot on unchanged source code, results may differ:

  •   Avoid using literals in assignments (hardcoded values) (7522)
  •   Avoid "SELECT *" queries (7344)

Bug correction

Various bugs have been fixed in this release, therefore after upgrade to this release and the generation of a post upgrade consistency snapshot on unchanged source code, results may differ:

Avoid using AT Events in combination of LOOP AT .... WHERE constructs (7536)This rule has been found to not function correctly in previous releases of CAST AIP. This bug has now been fixed, therefore, after an upgrade to CAST AIP 8.3.16 and the generation of a post-upgrade consistency snapshot on unchanged source code, results may change. You may have violations for this rule where previously there were none.
Avoid empty catch blocks (7788)

A bug has been discovered which was causing violations to be not reported for the following syntax:

Code Block
CATCH SYSTEM-EXCEPTIONS.

ENDCATCH.

This bug has now been fixed, therefore, after an upgrade to CAST AIP 8.3.16 and the generation of a post-upgrade consistency snapshot on unchanged source code, results may change. You may have violations for this syntax where previously there were none.

Avoid using hardcoded paths (7526)

A bug has been discovered which was causing violations to be not reported if they occurred in the VALUE part of DATA statements, for example:

Code Block
DATA d TYPE char22 VALUE 'c:/mypath'.

This bug has now been fixed, therefore, after an upgrade to CAST AIP 8.3.16 and the generation of a post-upgrade consistency snapshot on unchanged source code, results may change. You may have violations for this syntax where previously there were none.

Other impacts of changes made in CAST AIP 8.3.16

...