{
"id": "oop-repeated-strategy-dispatch",
"language": "all",
"group": "maintainability",
"listingTitle": "Consolidate repeated variant dispatch",
"title": "Consolidate repeated variant dispatch",
"mvvm": false,
"defaultSeverity": "info",
"legacyGroup": "maintainability",
"why": "Repeated switches over the same variants distribute strategy selection.",
"suggestion": "Consider variant-owned behavior or one strategy boundary.",
"version": 4,
"semanticMaturity": "project",
"securityKind": "none",
"taxonomy": [
"maintainability"
],
"requirements": [
"declarations"
],
"packs": [
"dart-oop",
"oop",
"csharp",
"typescript"
],
"implementation": "src/languages/dart/oop/smells.rs",
"languages": [
"dart",
"csharp",
"java",
"javascript",
"typescript"
],
"frameworks": [],
"languageVersions": [],
"limitations": [
"Requires three switches over at least three identical variants across two files.",
"Comments, strings, generated, test, example, and vendored sources follow normal analysis classification and suppression controls."
]
}