Skip to content

Conversation

@dejan2609
Copy link
Contributor

@dejan2609 dejan2609 commented Oct 18, 2025

Jira ticket: KAFKA-19809

Related link: https://checkstyle.org/releasenotes.html#Release_12.0.1

⚠️ quick and dirty (aka skeleton) solution

Reviews are welcome!

Relates to: checkstyle/checkstyle#16003

@github-actions github-actions bot added triage PRs from the community kraft build Gradle build or GitHub Actions clients group-coordinator small Small PRs labels Oct 18, 2025
<module name="ClassDataAbstractionCoupling">
<!-- default is 7 -->
<property name="max" value="25"/>
<property name="max" value="27"/>
Copy link
Contributor Author

@dejan2609 dejan2609 Oct 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Options:

  1. increase limit (like here)
  2. create a baseline (skip/suppress this check for existing cases/classes)
  3. change existing classes and keep the old property value max limit

<module name="ClassFanOutComplexity">
<!-- default is 20 -->
<property name="max" value="52"/>
<property name="max" value="55"/>
Copy link
Contributor Author

@dejan2609 dejan2609 Oct 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In a similar case, we also have three options:

  1. increase limit (like here)
  2. create a baseline (skip/suppress this check for existing cases/classes)
  3. change existing classes and keep the old property value max limit

<suppress checks="ImportControl" files="(JaasTestUtils).java" />

<suppress checks="FinalLocalVariable" files="."/>
<suppress checks="FinalParameters" files="."/>
Copy link
Contributor Author

@dejan2609 dejan2609 Oct 19, 2025

@github-actions github-actions bot removed the triage PRs from the community label Oct 20, 2025
@dejan2609
Copy link
Contributor Author

Can you please take a look @chia7712 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants