Page tree

Versions Compared

Key

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

...

A bug has been discovered that causes CAST AIP to report 0 violations to the above named Quality Rule (i.e. grade is always set to 4). This bug has now been fixed, therefore after an upgrade to CAST AIP 8.2.6 and the generation of a post upgrade snapshot on the same source code, results may differ: there will be an increase in the number of violations reported, improving accuracy.

Avoid Artifacts with high Commented-out Code Lines/Code Lines ratio - 7126

A bug has been discovered that causes CAST AIP to falsely report a violation to the above named Quality Rule. In addition, the Quality Rule routinely returns a value of over 100% for the comment out code. The false violation and incorrect % of commented out code is due to the fact that the analyzer does not support Oracle Conditional Compiler directives that start with $$. When one of these is encountered in the code, the Quality Rule is falsely violated. This bug has now been fixed (Oracle Conditional Compiler directives that start with $$ are now supported), therefore after an upgrade to CAST AIP 8.2.6 and the generation of a post upgrade snapshot on the same source code, results may differ: there will be a decrease in the number of violations reported and % values for commented out code will be correct, therefore improving accuracy.

JEE

Avoid testing floating point numbers for equality - 8096

A bug has been discovered that causes CAST AIP to falsely report a violation to the above named Quality Rule when floats are compared to NULL. This bug has now been fixed (if any of the operands is null while checking for floating point equality no violation will be reported), therefore after an upgrade to CAST AIP 8.2.6 and the generation of a post upgrade snapshot on the same source code, results may differ: there will be a decrease in the number of violations reported, improving accuracy.

Other impacts of changes made in CAST AIP 8.2.6

...

JEE

JavaScript files classed as external

A bug has been discovered where a JavaScript file that belongs to two overlapping Analysis Units will be classed as "internal" rather than "external" (i.e. not subject to Quality Rule examination, LOC counting etc.) even though the "Exclude standard Javascript libraries" option has been selected for both Analysis Units. This bug has now been fixed (JavaScript files belonging to two overlapping Analysis Units will be classed as "external"), therefore after an upgrade to CAST AIP 8.2.6 and the generation of a post upgrade snapshot on the same source code, results may differ.

Miscellaneous result changes

...