Avoid classes with too many fields

Impact area

Scalability

Severity

Medium

Affected element

Apex Class

Rule ID

SF-0014

Impact

Classes that have too many fields can become unwieldy and hard to maintain.

Remediation

Refactor your classes to reduce the number of fields in each one of them.

Time to fix

45 min

What's here


Related content

PMD - Apex Class rules

PMD: TooManyFields





Last modified on Jun 10, 2020