Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linting issues caused due to Cyclomatic Complex Method #112

Open
2 tasks done
angrezichatterbox opened this issue Sep 14, 2024 · 0 comments
Open
2 tasks done
Labels
feature New feature or request good first issue Good for newcomers hacktoberfest Included as a part of Hacktoberfest help wanted Extra attention is needed refactor Refactor code to improve quality

Comments

@angrezichatterbox
Copy link
Member

Terms

Description

The CyclomaticComplexMethod rule is currently disabled. This rule helps in detecting methods with high cyclomatic complexity, which can make the code harder to test and maintain. Re-enabling this rule will aid in managing method complexity.

Steps to see which all lines have to be modified:

  • Comment or set to true the following line in detekt.yml:
CyclomaticComplexMethod:
    active: true

  • Run the command ./gradlew detekt.
  • Review the results to identify methods with high complexity that need refactoring.

Contribution

I would love to work on this issue and am more than willing to help anyone fix this issue :)

@angrezichatterbox angrezichatterbox added feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed refactor Refactor code to improve quality labels Sep 14, 2024
@andrewtavis andrewtavis added the hacktoberfest Included as a part of Hacktoberfest label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers hacktoberfest Included as a part of Hacktoberfest help wanted Extra attention is needed refactor Refactor code to improve quality
Projects
Status: Todo
Development

No branches or pull requests

2 participants