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 src/flags.js #53

Open
fdounis opened this issue Sep 2, 2024 · 2 comments
Open

Refactoring code in src/flags.js #53

fdounis opened this issue Sep 2, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@fdounis
Copy link

fdounis commented Sep 2, 2024

Description

Refactor the function in src/flags.js to reduce its Cognitive Complexity from 16 to 15, as it exceeds the project's allowed threshold. Cognitive Complexity measures how difficult a function is to understand, taking into account nested structures, conditionals, and loops.

Community forum reference

No response

@fdounis fdounis added the enhancement New feature or request label Sep 2, 2024
@fdounis
Copy link
Author

fdounis commented Sep 2, 2024

I would like to work on this please!

Copy link

github-actions bot commented Sep 2, 2024

Great! I assigned you (@fdounis) 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
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant