Scribe-Android icon indicating copy to clipboard operation
Scribe-Android copied to clipboard

Fix linting issues caused due to Cyclomatic Complex Method

Open angrezichatterbox opened this issue 1 year ago • 0 comments

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 avatar Sep 14 '24 04:09 angrezichatterbox