code-buster 0.12.0

Repository-aware static analysis for AI-assisted development
Documentation
{
  "id": "boolean-option-explosion",
  "language": "all",
  "group": "maintainability",
  "listingTitle": "Replace a cluster of Boolean options",
  "title": "Replace a cluster of Boolean options",
  "mvvm": false,
  "defaultSeverity": "info",
  "legacyGroup": "yagni",
  "why": "Several Boolean parameters make call sites opaque and permit combinations that may not represent valid behavior.",
  "suggestion": "Keep only the required mode or use one purpose-named value when callers genuinely need multiple modes.",
  "version": 1,
  "semanticMaturity": "project",
  "securityKind": "none",
  "taxonomy": [
    "maintainability"
  ],
  "requirements": [
    "sourceText"
  ],
  "packs": [
    "diff-quality"
  ],
  "implementation": "src/rules/diff_quality.rs",
  "languages": [],
  "frameworks": [],
  "languageVersions": [],
  "limitations": [
    "Reports newly added single-line function declarations containing at least three Boolean parameters.",
    "Runs only for focused changes touching at most five production source files."
  ]
}