Scribe-Android
Scribe-Android copied to clipboard
Fix linting issues caused due to Cyclomatic Complex Method
Terms
- [X] I have searched open and closed feature requests
- [X] I agree to follow Scribe-Android's Code of Conduct
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 :)