{
"id": "commented-out-code",
"language": "all",
"group": "maintainability",
"listingTitle": "Remove commented-out code",
"title": "Remove commented-out code",
"mvvm": false,
"defaultSeverity": "info",
"legacyGroup": "maintainability",
"why": "Disabled source in comments rots, obscures current behavior, and duplicates version-control history.",
"suggestion": "Delete the disabled code and recover it from version control if it is needed later.",
"version": 4,
"semanticMaturity": "token",
"securityKind": "none",
"taxonomy": [
"maintainability"
],
"requirements": [
"sourceText"
],
"packs": [
"clean-code"
],
"implementation": "src/rules/clean_code.rs",
"languages": [],
"frameworks": [],
"languageVersions": [],
"limitations": [
"Recognizes likely disabled statements in single-line slash and hash comments; documented examples and common mathematical notation are excluded."
]
}