Back

LL092

Too many methods

Object Pascal — Delphi & Free Pascal
Warning
Maintainability

Files with more than 50 methods are hard to navigate and likely have too many responsibilities

files with more than 50 methods are hard to navigate and likely have too many responsibilities.

Why this severity

files with more than 50 methods are hard to navigate and likely have too many responsibilities.


Known false positives

generated binding files or comprehensive utility units.

Remediation example

// Split OrderUtils.pas into:
// OrderValidation.pas, OrderFormatting.pas

Reconnecting… Connection lost. Reload