Ccodemod

codemod/java-maintainability-audit-bundle

Run a coordinated read-only Java maintainability audit across class design, control flow, exception handling, logging, naming, serialization, API contracts, comments, and style consistency.

javamaintainabilityanalysisauditbundlemetrics
PRO
2 executions
Use dashboard

Run locally

npx codemod @codemod/java-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/java-maintainability-audit-bundle

Run a coordinated read-only Java maintainability audit across class design, control flow, exception handling, logging, naming, serialization, API contracts, comments, and style consistency.

The bundle invokes focused read-only child codemods so teams can collect findings and metrics from a single workflow before planning targeted cleanup. The workflow uses independent nodes so compatible child codemods can be scheduled concurrently by the runner.

Included Codemods

  • @codemod/detect-catching-throwable-or-error@0.1.1
  • @codemod/detect-commented-out-java-code@0.1.1
  • @codemod/detect-constant-only-java-interfaces@0.1.1
  • @codemod/detect-dynamic-sql-formatting-java@0.1.1
  • @codemod/detect-empty-java-classes@0.1.1
  • @codemod/detect-explicit-jvm-gc-invocations@0.1.1
  • @codemod/detect-java-unnamed-package-usage@0.1.1
  • @codemod/detect-loop-based-array-list-copy@0.1.1
  • @codemod/detect-nested-java-switches@0.1.1
  • @codemod/detect-nonstatic-class-initializers@0.1.1
  • @codemod/detect-public-static-mutable-fields@0.1.1
  • @codemod/detect-redundant-nested-blocks-java@0.1.1
  • @codemod/detect-redundant-super-overrides-java@0.1.1
  • @codemod/detect-redundant-value-constructors@0.1.1
  • @codemod/detect-static-only-utility-instantiation@0.1.1
  • @codemod/detect-sun-package-usage-java@0.1.1
  • @codemod/detect-sync-on-lock-implementations@0.1.1
  • @codemod/detect-transient-in-nonserializable-java@0.1.1
  • @codemod/detect-uses-of-deprecated-java-apis@0.1.1
  • @codemod/java-abstract-class-name-convention@0.1.1
  • @codemod/java-abstract-class-role-mismatch@0.1.1
  • @codemod/java-anonymous-class-lambda-candidates@0.1.1
  • @codemod/java-anonymous-class-line-count@0.1.1
  • @codemod/java-array-brackets-on-type@0.1.1
  • @codemod/java-boolean-check-inversion-audit@0.1.1
  • @codemod/java-clone-overrides-contract-audit@0.1.1
  • @codemod/java-compareto-without-equals@0.1.1
  • @codemod/java-constructor-overridable-calls@0.1.1
  • @codemod/java-control-structures-curly-braces@0.1.1
  • @codemod/java-detect-deep-control-flow-nesting@0.1.1
  • @codemod/java-detect-duplicated-string-literals@0.1.1
  • @codemod/java-detect-exposed-mutable-members@0.1.1
  • @codemod/java-detect-missing-try-with-resources@0.1.1
  • @codemod/java-detect-overlong-methods@0.1.1
  • @codemod/java-detect-redundant-modifiers@0.1.1
  • @codemod/java-detect-shadowed-inherited-fields@0.1.1
  • @codemod/java-detect-unused-local-variables@0.1.1
  • @codemod/java-field-matches-enclosing-class@0.1.1
  • @codemod/java-field-method-name-collision@0.1.1
  • @codemod/java-finalize-override-visibility@0.1.1
  • @codemod/java-for-loop-invariant-stop-condition@0.1.1
  • @codemod/java-gratuitous-boolean-expressions@0.1.1
  • @codemod/java-if-else-if-missing-final-else@0.1.1
  • @codemod/java-lambda-method-reference-mining@0.1.1
  • @codemod/java-lambda-single-param-parens@0.1.1
  • @codemod/java-local-name-convention-audit@0.1.1
  • @codemod/java-logger-field-convention-audit@0.1.1
  • @codemod/java-main-method-throws-detector@0.1.1
  • @codemod/java-member-declaration-order-audit@0.1.1
  • @codemod/java-method-name-matches-class@0.1.1
  • @codemod/java-mine-missing-package-info@0.1.1
  • @codemod/java-missing-file-header-audit@0.1.1
  • @codemod/java-modulus-direct-equality-checks@0.1.1
  • @codemod/java-public-api-missing-javadoc@0.1.1
  • @codemod/java-public-final-constant-audit@0.1.1
  • @codemod/java-public-selector-arguments@0.1.1
  • @codemod/java-public-static-nonfinal-fields@0.1.1
  • @codemod/java-report-ternary-operator-usage@0.1.1
  • @codemod/java-return-empty-not-null@0.1.1
  • @codemod/java-string-to-primitive-parsing@0.1.1
  • @codemod/java-string-tostring-call-detection@0.1.1
  • @codemod/java-switch-case-missing-break@0.1.1
  • @codemod/java-switch-missing-default-clause@0.1.1
  • @codemod/java-switch-too-many-cases@0.1.1
  • @codemod/java-type-parameter-naming-audit@0.1.1
  • @codemod/java-unused-assignments-audit@0.1.1
  • @codemod/java-unused-method-parameters@0.1.1
  • @codemod/junit-disable-annotation-rationale@0.1.1
  • @codemod/serializable-comparator-usage-audit@0.1.1
  • @codemod/serializable-inner-class-static@0.1.1
  • @codemod/track-java-nopmd-suppressions@0.1.1
  • @codemod/track-java-suppresswarnings-usage@0.1.1

Excluded Transformations

The bundle intentionally excludes Java maintainability codemods that rewrite source files, including inherited-call qualification, redundant cast removal, EJB XML rewrites, annotation wrapping, and similar formatting or cleanup transforms. Run those packages separately when you want source edits.

Output

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

License

MIT

Ready to contribute?

Build your own codemod and share it with the community.