Skip to content

Checkstyle rules ready for implementation #7068

@optionsome

Description

@optionsome

Guideline

We have read through the list of check-style checks and found a set we would like to start with. Please feel free to create PRs with on or more rules in them, but:

  • If a check touch more than 3 files, please make a separate PR with just one check in it - then it is much faster to review.
  • All check witch is trivial and is already in place (not file modifications needed) can be included in one PR. Do as many as you like.
  • If the check require configuration, test it and present it at a developer meeting.
  • The "Maybe later" section list checks we will test out later or we suspect more work is needed upfront. If you want to use some of these, please present in a dev meeting first. We are likly to add these when we encounter a "problem" in a review. They are good ways of documenting what is expected.
  • When you start implementing a check, select it. When the PR is ready, add a link to the PR behind.

Checks

We list rules here that can be added (mostly one-by-one) to our project:

Maybe later

  • *Complexity
  • DescendantToken
  • DesignForExtension
  • ExecutableStatementCount
  • FileLength
  • IllegalImport
  • IllegalTokenText
  • MissingJavadocMethod
  • MissingJavadocType
  • NoClone
  • UnusedCatchParameterShouldBeUnnamed
  • UnusedLambdaParameterShouldBeUnnamed
  • VisibilityModifier
  • AnonInnerLength

For Raptor and maybe A*:

Some checks might not be important to have on all code, but for AStar and Raptor checks witch might impact performance could be added.

  • FinalClass

Metadata

Metadata

Assignees

No one assigned

    Labels

    !Technical DebtImprove code quality, no functional changes.+Keep OpenKeep issues open. For epics and architecture doc, not on +Roadmap. Excluded from Stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions