@ -14,11 +14,26 @@ This is a {{ site.pmd.release_type }} release.
|
||||
|
||||
### New and noteworthy
|
||||
|
||||
#### New rules
|
||||
|
||||
* The new Apex rule {% rule apex/performance/EagerlyLoadedDescribeSObjectResult %} finds
|
||||
`DescribeSObjectResult`s which could have been loaded eagerly via `SObjectType.getDescribe()`.
|
||||
|
||||
```xml
|
||||
<rule ref="category/apex/performance.xml/EagerlyLoadedDescribeSObjectResult" />
|
||||
```
|
||||
|
||||
|
||||
### Fixed Issues
|
||||
|
||||
* apex
|
||||
* [#3532](https://github.com/pmd/pmd/issues/3532): \[apex] Promote usage of consistent getDescribe() info
|
||||
|
||||
### API Changes
|
||||
|
||||
### External Contributions
|
||||
|
||||
* [#3538](https://github.com/pmd/pmd/pull/3538): \[apex] New rule EagerlyLoadedDescribeSObjectResult - [Jonathan Wiesel](https://github.com/jonathanwiesel)
|
||||
|
||||
{% endtocmaker %}
|
||||
|
||||
|
@ -162,6 +162,7 @@
|
||||
</properties>
|
||||
</rule>
|
||||
<!-- <rule ref="category/apex/performance.xml/AvoidDebugStatements" /> -->
|
||||
<!-- <rule ref="category/apex/performance.xml/EagerlyLoadedDescribeSObjectResult" /> -->
|
||||
|
||||
<!-- NAMING -->
|
||||
<rule ref="category/apex/codestyle.xml/ClassNamingConventions" message="Class names should begin with an uppercase character">
|
||||
|
13
pmd-core/src/main/resources/rulesets/releases/6400.xml
Normal file
13
pmd-core/src/main/resources/rulesets/releases/6400.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<ruleset name="6400"
|
||||
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">
|
||||
<description>
|
||||
This ruleset contains links to rules that are new in PMD v6.40.0
|
||||
</description>
|
||||
|
||||
<rule ref="category/apex/performance.xml/EagerlyLoadedDescribeSObjectResult" />
|
||||
|
||||
</ruleset>
|
Reference in New Issue
Block a user