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

Refactoring code in public/src/modules/handleBack.js to reduce its Cognitive Complexity from 17 to the 15 allowed #181

Open
eenkhbol opened this issue Jan 24, 2025 · 2 comments
Assignees

Comments

@eenkhbol
Copy link

The issue in the code is that the function onBackClicked has a high cognitive complexity. The function contains way too many nested if statements that make it hard to follow the logic and hard to read.

@eenkhbol
Copy link
Author

I would like to work on this please!

Copy link

Great! I assigned you (@eenkhbol) to the issue. Have fun working on it!

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