24 October 2020
The PMD team is pleased to announce PMD 6.29.0.
This is a minor release.
apex-performance) finds operations in loops that may hit governor limits such as DML operations, SOQL queries and more. The rule replaces the three rules “AvoidDmlStatementsInLoops”, “AvoidSoqlInLoops”, and “AvoidSoslInLoops”.
DoNotCallSystemExithas been renamed to
DoNotTerminateVM, since it checks for all the following calls:
Runtime.halt(int). All these calls terminate the Java VM, which is bad, if the VM runs an application server which many independent applications.
apex-performance) are deprecated in favour of the new rule
OperationWithLimitsInLoop. The deprecated rules will be removed with PMD 7.0.0.