Incremental Analysis has long helped
our users obtain faster analysis results, however, its implementation tended to be too cautious in detecting
changes to the runtime and type resolution classpaths, producing more cache invalidations than necessary.
We have now improved the heuristics to remove several bogus invalidations, and slightly sped up the cache
usage along the way.
PMD will now ignore:
Non class files in classpath and jar / zip files being referenced.
Changes to the order of file entries within a jar / zip
Changes to file metadata within jar / zip (ie: creation and modification time,
significant in multi-module / composite build projects where lateral artifacts are frequently recreated)
New rules
The new Apex rule AvoidDebugStatements finds usages of System.debug calls.
Debug statements contribute to longer transactions and consume Apex CPU time even when debug logs are not
being captured.
You can try out this rule like so:
The new Apex rule InaccessibleAuraEnabledGetter checks that an AuraEnabled
getter is public or global. This is necessary if it is referenced in Lightning components.
You can try out this rule like so:
Incremental Analysis has long helped
our users obtain faster analysis results, however, its implementation tended to be too cautious in detecting
changes to the runtime and type resolution classpaths, producing more cache invalidations than necessary.
We have now improved the heuristics to remove several bogus invalidations, and slightly sped up the cache
usage along the way.
PMD will now ignore:
Non class files in classpath and jar / zip files being referenced.
Changes to the order of file entries within a jar / zip
Changes to file metadata within jar / zip (ie: creation and modification time,
significant in multi-module / composite build projects where lateral artifacts are frequently recreated)
New rules
The new Apex rule AvoidDebugStatements finds usages of System.debug calls.
Debug statements contribute to longer transactions and consume Apex CPU time even when debug logs are not
being captured.
You can try out this rule like so:
The new Apex rule InaccessibleAuraEnabledGetter checks that an AuraEnabled
getter is public or global. This is necessary if it is referenced in Lightning components.
You can try out this rule like so:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps
pmd.version
from 6.35.0 to 6.36.0. Updatespmd-core
from 6.35.0 to 6.36.0Release notes
Sourced from pmd-core's releases.
... (truncated)
Commits
45d1605
[maven-release-plugin] prepare release pmd_releases/6.36.0d3ca90b
Prepare pmd release 6.36.0d7fd132
Merge pull request #3356 from oowekyala:issue3076-unusedAssignment-plusplusc1fa5f8
Fix testc22faea
Merge branch 'master' into issue3076-unusedAssignment-plusplus40a797f
[doc] Update release notes, fixed typobd5242f
[doc] Update release notes, fixed typo6599fe2
Merge branch 'master' into issue3076-unusedAssignment-plusplus7260e88
Merge pull request #3347 from adangel:issue-3340-guardlogstatement1e1fcf5
Merge pull request #3348 from oowekyala:issue3305-ioob-recordUpdates
pmd-java
from 6.35.0 to 6.36.0Release notes
Sourced from pmd-java's releases.
... (truncated)
Commits
45d1605
[maven-release-plugin] prepare release pmd_releases/6.36.0d3ca90b
Prepare pmd release 6.36.0d7fd132
Merge pull request #3356 from oowekyala:issue3076-unusedAssignment-plusplusc1fa5f8
Fix testc22faea
Merge branch 'master' into issue3076-unusedAssignment-plusplus40a797f
[doc] Update release notes, fixed typobd5242f
[doc] Update release notes, fixed typo6599fe2
Merge branch 'master' into issue3076-unusedAssignment-plusplus7260e88
Merge pull request #3347 from adangel:issue-3340-guardlogstatement1e1fcf5
Merge pull request #3348 from oowekyala:issue3305-ioob-recordDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)