LL065
Nested procedure
Object Pascal — Delphi & Free Pascal
Info
Maintainability
Nested procedures reduce readability and cannot be unit-tested independently
nested procedures reduce readability and cannot be unit-tested independently.
Why this severity
nested procedures reduce readability and cannot be unit-tested independently.
Known false positives
small closures used for thread synchronization callbacks.
Remediation example
procedure TMyClass.HelperWork; begin // extracted from parent method end;