On this page: Target audience: CAST AI Administrator |
Summary: this page lists:
The changes listed assume that an upgrade from CAST AIP 8.2.3 to CAST AIP 8.2.4 has taken place. |
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:
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.
The following is a general description of the steps that should be taken in order to compare pre and post upgrade results:
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.
A bug has been discovered that could cause the number of critical violations to drop between successive snapshots on the same unchanged source code. While nothing specific has been done to fix this issue, related AIP source code has been modified and the issue is unlikely to now re-occur. 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.
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 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.
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.
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.
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.
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
Starting from CAST AIP 8.2.4, an additional method is used alongside the existing methods:
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.
N/A