Page tree
Skip to end of metadata
Go to start of metadata

On this page:

Target audience:

CAST AI Administrator

Summary: this page lists:

  • impacts of changes made in CAST AIP 8.2.5 on Quality Model results
  • other impacts of changes made in CAST AIP 8.2.5
  • miscellaneous result changes

The changes listed assume that an upgrade from CAST AIP 8.2.4 to CAST AIP 8.2.5 has taken place.

Introduction

Each CAST AIP release provides new features which improve the value of the platform and justify an upgrade. However, there are a number of changes or improvements which can impact the measurement results/grades:

  • New or improved Quality Rules to perform deeper analysis
  • Updates to the Assessment Model, e.g. changes to rule weights, severity or thresholds. This can be mitigated by using the "Preserve assessment model" option during the upgrade.
  • Improvements of the language analysis, e.g. more fine-grained detection of objects or links
  • Extended automatic discovery of files included in the analysis
  • Bug fixes to improve the precision of results
  • And, unfortunately, a new release may also introduce new bugs which may impact the results until they are discovered and removed

Below is a list of changes made to the current release of CAST AIP that are known to cause impacts to results. You can also consult Case Study - Measurement changes after upgrade for selected customer applications which provides a more detailed analysis based on a few sample applications.

Analyzing the root causes of impacts to measurement results/grades

The following is a general description of the steps that should be taken in order to compare pre and post upgrade results:

  • Step 1: Take a snapshot (including a source code analysis) with the previous release of CAST AIP before upgrading to the new release of CAST AIP
    • Check the list of applications to be analyzed, the list of files per application and list of SQL objects from the Analysis Service.
  • Step 2: Compare the source code in version 1 (before upgrade) with the source code in the new version 2 (after upgrade)
    • Compare the list of analyzed files, list of files per application and list of SQL objects between the two Analysis Services
  • Step 3: Compare the results of the application analysis and snapshot post upgrade. This can be done by comparing the snapshots available in the Dashboard Service to find the differences in:
    • Quality rules
    • Violations

    • Grades at Business Criteria level

    • Function Points

    • Transactions

    • Lines of code

  • Step 4: Compare the data functions and transactions across the source Analysis Service and the target Analysis Service post upgrade.

Impacts of changes made in CAST AIP 8.2.5 on Quality Model results post upgrade

JEE

Avoid directly instantiating a Class used as a managed bean - 7964

A bug has been discovered that causes the CAST Engineering Dashboard to report more violations than the total number of checked objects for the above named Quality Rule. This bug has now been fixed, therefore after an upgrade to CAST AIP 8.2.5 and the generation of a post upgrade snapshot on the same source code, results may differ.

Pages should use error handling page - 2232

A bug has been discovered that causes false violations to be reported for the above named Quality Rule. This bug has now been fixed, therefore after an upgrade to CAST AIP 8.2.5 and the generation of a post upgrade snapshot on the same source code, results may differ.

Other impacts of changes made in CAST AIP 8.2.5

JEE/EJB

A bug has been discovered that causes a missing "fireLink" between between the "reject" method of the remote interface and its implementation in the bean class. This bug has now been fixed, therefore after an upgrade to CAST AIP 8.2.5 and the generation of a post upgrade snapshot on the same source code, results may differ.

JEE/Struts

A bug has been discovered that causes links from JSP files to Struts Action Mappings to be absent if a sub-class of ActionServlet is used as servlet class in the web.xml. This bug has now been fixed, therefore after an upgrade to CAST AIP 8.2.5 and the generation of a post upgrade snapshot on the same source code, results may differ.

A bug has been discovered where a Use link between a JSP file and a Struts Action is missing in 8.2.x. This same link was present in previous releases of CAST AIP. This bug has now been fixed, therefore after an upgrade to CAST AIP 8.2.5 and the generation of a post upgrade snapshot on the same source code, results may differ.

JEE/Servlet and Servlet Mapping

A bug has been discovered that causes the web application descriptor web.xml to be ignored during an analysis. Due to this, Servlet and Servlet Mapping objects defined in the web.xml are not saved to the Anaysis Service schema. This bug has now been fixed, therefore after an upgrade to CAST AIP 8.2.5 and the generation of a post upgrade snapshot on the same source code, results may differ.

Microsoft SQL Server irregular table names - checksum changes

A bug has been fixed in the CAST Delivery Manager Tool for the extraction of Microsoft SQL Server tables with irregular names (i.e. table names that use spaces, non-ASCII characters and other characters not supported in regular identifiers). This bug fix causes a code only checksum change extraction results if the same databases are extracted with CAST AIP 8.2.5. This code only checksum change will therefore mean that the database tables are reported as "modified" in the CAST dashboards when they are re-analyzed. Note that the impact is only visible in the CAST dashboards when a NEW extraction of the same databases is run using CAST AIP 8.2.5 and the results of this extraction are subsequently analyzed with CAST AIP 8.2.5. If you upgrade to CAST AIP 8.2.5 and do not re-extract the existing source code, then no impact is visible.

A bug has been discovered that causes the analyzer to not create a valid AccessExecute (Ae) link between the caller VB.NET method and the implementation of the abstract method. This bug has now been fixed, therefore after an upgrade to CAST AIP 8.2.5 and the generation of a post upgrade snapshot on the same source code, results may differ.

Miscellaneous result changes

N/A

 

  • No labels