Number of methods per class

Limit the number of methods allow per each Apex class, to encourage good design.

Lorenzo Frattini avatar
Written by Lorenzo Frattini
Updated over a week ago


The more methods a class has, the more complex it is. Large classes are often a symptom that  something in the code has grown so large that it cannot be effectively  handled.


  • Apex classes

Did this answer your question?