Ccodemod

codemod/typescript-maintainability-audit-bundle

Run a coordinated TypeScript maintainability audit across type-safety, function complexity, collection usage, module exports, naming consistency, TODO comments, and unused imports without rewriting source files.

typescripttsxmaintainabilityanalysisbundlemetrics
PRO
2 executions

Run locally

npx codemod @codemod/typescript-maintainability-audit-bundle

This is a Pro codemod. Preview changes and insights for free, no login or code sharing required. Applying changes and accessing insights requires a paid plan and sign in.Learn more

@codemod/typescript-maintainability-audit-bundle

Run a coordinated, read-only TypeScript maintainability audit without rewriting source files. The bundle invokes focused child codemods that report findings and metrics for type-safety, function size, parameter arity, control-flow complexity, collection API usage, string coercion, module exports, naming consistency, TODO comments, and unused imports. The workflow uses independent nodes so compatible child codemods can be scheduled concurrently by the runner.

Included Codemods

  • @codemod/report-typescript-any-usage@0.1.4
  • @codemod/typescript-function-length-metrics@0.1.3
  • @codemod/detect-excessive-function-parameters@0.1.3
  • @codemod/detect-deep-control-flow-nesting@0.1.3
  • @codemod/detect-duplicate-conditional-branches@0.1.3
  • @codemod/detect-unused-typescript-imports@0.1.5
  • @codemod/detect-high-cognitive-complexity-js@0.1.3
  • @codemod/detect-indexof-existence-checks@0.1.6
  • @codemod/detect-filter-single-item-retrieval@0.1.4
  • @codemod/prefer-array-some-existence-checks@0.1.3
  • @codemod/detect-map-followed-by-flat@0.1.3
  • @codemod/detect-redundant-promise-wraps-async@0.1.4
  • @codemod/detect-mixed-string-addition@0.1.2
  • @codemod/detect-javascript-void-operator-use@0.1.4
  • @codemod/detect-unneeded-object-spread-fallbacks@0.1.4
  • @codemod/report-large-switch-case-counts@0.1.5
  • @codemod/report-todo-comment-tags-ts@0.1.4
  • @codemod/typescript-unnamed-default-exports@0.1.4
  • @codemod/ts-detect-name-convention-violations@0.1.4
  • @codemod/avoid-negated-condition-with-else@0.1.4
  • @codemod/detect-array-callback-thisarg-usage@0.1.3
  • @codemod/await-member-access-mining@0.1.4
  • @codemod/combine-consecutive-variadic-calls@0.1.3
  • @codemod/consistent-builtin-constructor-style@0.1.5
  • @codemod/dedicated-default-import-export-syntax@0.1.4
  • @codemod/detect-complex-index-access-at@0.1.3
  • @codemod/detect-dom-removechild-removal@0.1.4
  • @codemod/detect-empty-nested-blocks-ts@0.1.4
  • @codemod/detect-empty-test-and-suite-titles@0.1.3
  • @codemod/detect-filereader-over-blob-methods@0.1.3
  • @codemod/detect-for-loops-better-expressed-while@0.1.4
  • @codemod/detect-foreach-prefer-for-of-ts@0.1.4
  • @codemod/detect-functions-defined-in-loops@0.1.3
  • @codemod/detect-index-loop-for-of-candidates@0.1.5
  • @codemod/detect-invalid-builtin-argument-types@0.1.3
  • @codemod/detect-invalid-labeled-statements-ts@0.1.3
  • @codemod/detect-invariant-function-returns@0.1.4
  • @codemod/detect-non-numeric-array-indexes@0.1.4
  • @codemod/detect-replaceall-global-regex@0.1.4
  • @codemod/detect-this-alias-assignment@0.1.4

Output

Each child codemod emits its own findings and stable metrics. Use the combined output to prioritize maintainability cleanup across high-risk TypeScript hotspots before planning targeted transformations.

License

MIT

Ready to contribute?

Build your own codemod and share it with the community.