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

High cyclomatic and cognitive complexity in initButtons method #162

Open
Sonath21 opened this issue May 20, 2024 · 0 comments
Open

High cyclomatic and cognitive complexity in initButtons method #162

Sonath21 opened this issue May 20, 2024 · 0 comments

Comments

@Sonath21
Copy link

The initButtons method in the project has extremely high cyclomatic complexity (52.0) and cognitive complexity (156.0). These values significantly exceed the acceptable limits, indicating that the method is difficult to understand, test, and maintain. In order to manage it, you could refactor the initButtons method by breaking it down into smaller, more manageable sub-methods to reduce complexity and improve code maintainability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant