Avoid types with excessive Lines of Code count

Impact area

Manageability

Severity

Medium

Affected element

Apex Class

Rule ID

SF-0011

Impact

Excessive LoC Count on a method indicate that it is burdened with too many responsibilities.

Remediation

Refactor the code to reduce its complexity.

Time to fix

60 min




Last modified on Dec 23, 2022