Page tree

Versions Compared

Key

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

...

A bug has been discovered that is causing the Quality Rule "Avoid instantiations inside loops - 7210" to be incorrectly violated (i.e. false positive violations are returned). These false positives relate to the situations where an object is created/instantiated when adding to an ArrayList. THis This bug has now been fixed, therefore after an upgrade to CAST AIP 8.2.4 and the generation of a post upgrade snapshot, results may differ for this Quality Rule, i.e. there will be a reduction in the number of violations for the Quality Rule.

Collection must be the same between getter and setter - 7498

A bug has been discovered that is causing the Quality Rule "Collection must be the same between getter and setter - 7498" to be incorrectly violated (i.e. false positive violations are returned). These false positives are returned despite the same collection being used. This bug has now been fixed, therefore after an upgrade to CAST AIP 8.2.4 and the generation of a post upgrade snapshot, results may differ for this Quality Rule, i.e. there will be a reduction in the number of violations for the Quality Rule.

Pages should use error handling page - 2232

A bug has been discovered that is causing the Quality Rule "Pages should use error handling page - 2232" to be incorrectly violated (i.e. false positive violations are returned). These false positives are returned despite the fact that the web.xml files have a specific error handling section and correctly link to a JSP error page. The bug was caused by the fact that the web.xml files were contained in third-party JAR files, and the resulting extraction during the analysis incorrectly marked them as internal objects, instead of external objects. This bug has now been fixed, therefore after an upgrade to CAST AIP 8.2.4 and the generation of a post upgrade snapshot, results may differ for this Quality Rule, i.e. there will be a reduction in the number of violations for the Quality Rule.

SAP SQL

Database table naming convention - prefix control - 7854

An improvement has been made to the Quality Rule "Database table naming convention - prefix control - 7854" for SAP SQL. In addition to the prefix "YT", the Quality Rule now takes into account "ZT" and "/" prefixes for table naming. Therefore after an upgrade to CAST AIP 8.2.4 and the generation of a post upgrade snapshot, results may differ for this Quality Rule, i.e. there may be a change in the number of violations for the Quality Rule.

Other impacts of changes made in CAST AIP 8.2.4

...

.NET

Generated code detection

A change has been made to the .NET analyzer to enhance the way in which generated code is detected. In previous releases of CAST AIP (since 8.0.x) generated code has been detected using a combination of the following methods

  • file name
  • file path
  • various attributes present in the source code

Starting from CAST AIP 8.2.4, an additional method is used alongside the existing methods:

  • the presence of the string "autogenerated" in the header comments of the file

Therefore after an upgrade to CAST AIP 8.2.4 and the generation of a post upgrade snapshot, results may differ for multiple Quality Rules/metrics.

Miscellaneous result changes

 N/A