Changes in results post upgrade - 8.3.2

Summary: this page lists:

  • Impacts of changes made to AIP Core 8.3.2 on Quality Model results post upgrade
  • Other impacts of changes made in AIP Core 8.3.2

All changes in results related to the JEE Analyzer are now listed in the JEE Analyzer extension and will not appear in this page.

Impacts of changes made in AIP Core 8.3.2 on Quality Model results post upgrade

.NET

SCRAIP-31085 - Declare as static all Methods not using Instance members - 7270

A bug has been discovered that is causing new violations to be reported for the Quality Rule "Declare as static all Methods not using Instance members - 7270" after an upgrade to AIP Core 8.3.0 and 8.3.1 when the source code is unchanged. This bug has now been fixed and after an upgrade from AIP Core 8.3.0 or 8.3.1 to 8.3.2 and the generation of a post upgrade snapshot on the same source code, results may differ: the number of violations for this Quality Rule ith regard to C# constructors will be reduced in line with previous releases of AIP Core.

CAST Architecture Checker - change model properties

Following the introduction of the ability to change model properties directly in CAST Architecture Checker introduced in AIP Core 8.3.1, if you open a Architecture Model created and saved with a previous release of AIP Core (≤ 8.3.0), then you may be warned as follows:

This means that the Architecture Model was created with an older release of AIP Core that did not include the ability to set Properties on the model. As such, the CAST Architecture Checker has initialized these Properties in the Architecture Model with default values. These default values may not correspond to the values you may have set in the CAST Management Studio and therefore may impact results when the Architecture Model is used in an analysis. The Properties will remain as they are set in the CAST Management Studio until you open the model with the CAST Architecture Checker.

Other impacts of changes made in AIP Core 8.3.2

SAP ABAP

Generated code (i.e. generated/modified by the SAP user) is no longer taken into account for Rule calculations and is no longer displayed in the CAST dashboards. Only custom code is used for Rule calculations, therefore after an upgrade to AIP Core 8.3.2 and the generation of a post upgrade snapshot on the same source code, results may differ:

  • Line of code (LOC) values will be reduced
  • Rule results may be impacted (less violations)

.NET

SCRAIP-30787 - Removal of web technology analysis capabilities

A bug has been discovered which is causing web files (".asa", ".asp", ".htm", ".html", ".htc", ".js", ".vbs", ".css") to be saved as empty objects with LOC = 0. They should not be saved at all following the withdrawal of Web technology analysis capabilities announced in AIP Core 8.3.0. This bug has now been fixed and web files are no longer saved as empty objects, therefore after an upgrade to AIP Core 8.3.2 (from AIP Core  8.3.0) and the generation of a post upgrade snapshot on the same source code, results may differ.

All technos

SCRAIP-30497 - Internal bug impacting results

An internal bug was causing an annotated Analysis Unit to remain attached to a previous analysis job. As a result, the annotated Analysis Unit was not taken into account in the current analysis job and was therefore ignored during the module creation process. This bug has now been fixed therefore after an upgrade to AIP Core 8.3.2 and the generation of a post upgrade snapshot on the same source code, results may differ: increased number of artifacts and objects and increased lines of code. These values are now correct.

SCRAIP-30859 - Copy/Paste metrics bug

A bug was discovered in AIP Core 8.3.1 which was causing:

  • the calculation time of the "copy/paste" metrics to significantly increase in comparison to previous releases of AIP Core
  • incorrect results

This bug has now been fixed therefore after an upgrade to AIP Core 8.3.2 and the generation of a post upgrade snapshot on the same source code, results may differ for copy/paste metrics (such as Avoid Too Many Copy Pasted Artifacts - 7156).