Skip to content

[TECHNICAL] More rules for Detekt #4541

Open

Description

@JuancaG05

There were some rules that could not be addressed in the first issue of Detekt (#4506) due to their big scope. These are:

  • CognitiveComplexMethod
  • NestedBlockDepth
  • LoopWithTooManyJumpStatements

In this issue, they will be enabled in the rule set and the related code smells will be fixed.

  • Research (if needed)
  • Create branch technical/detekt_2
  • Development tasks
    • Enable and fix CognitiveComplexMethod
    • Enable and fix NestedBlockDepth
    • Enable and fix LoopWithTooManyJumpStatements
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch technical/detekt_2 into master

Activity

  1. added this to the 4.6 - Next milestone on Feb 7, 2025
  2. goonerDroid commented on Apr 8, 2025

    @goonerDroid
    Contributor

    @JuancaG05 I would like to pick up this issue, can you confirm anyone has started contributing to this issue yet?

  3. JuancaG05 commented on Apr 8, 2025

    @JuancaG05
    ContributorAuthor

    Hey @goonerDroid! Thanks a lot for your disposal! 💯

    In this case, I think it's a way more complex issue, and to do a good refactor the developer must have a deep knowledge of the code, so let's leave this one for the team 😀.

    In any case, if you want contribute in some other issues, check the issues we have with label Contributions are welcome, or if you want something easier, the ones with label Junior Job 🚀.

  4. removed their assignment
    on Apr 21, 2025
  5. modified the milestones: 4.6 - Next, Backlog on May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions