LL051
Commented-out code
Object Pascal — Delphi & Free Pascal
Info
Maintainability
Commented-out code clutters the source and is better tracked by version control
commented-out code clutters the source and is better tracked by version control.
Why this severity
commented-out code clutters the source and is better tracked by version control.
Known false positives
pseudo-code examples or illustrative snippets in documentation comments.
Remediation example
// Remove the dead code entirely; retrieve it // from source control history if needed.