Skip to content

Add cognitive complexity as well #1

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

Open
selfrefactor opened this issue Feb 1, 2024 · 1 comment
Open

Add cognitive complexity as well #1

selfrefactor opened this issue Feb 1, 2024 · 1 comment

Comments

@selfrefactor
Copy link
Owner

So I would ask to also add the sonarqube cognitive complexity metric which deviates from cyclomatic complexity

Moved from selfrefactor/rambda#718

@selfrefactor
Copy link
Owner Author

so you mean to add this library https://www.npmjs.com/package/sonarqube-scanner ?

I think that it could be also possible to use https://github.com/SonarSource/eslint-plugin-sonarjs and I will give it a try.

Also, I'd like some feedback do you like that complexity below 12 are displayed as square with inner square?

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