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

Generic/CyclomaticComplexity: support anonymous functions #742

Open
1 of 2 tasks
rodrigoprimo opened this issue Nov 27, 2024 · 1 comment
Open
1 of 2 tasks

Generic/CyclomaticComplexity: support anonymous functions #742

rodrigoprimo opened this issue Nov 27, 2024 · 1 comment

Comments

@rodrigoprimo
Copy link
Contributor

rodrigoprimo commented Nov 27, 2024

Is your feature request related to a problem?

While working on #684, I noticed that the sniff Generic.Metrics.CyclomaticComplexity doesn't check the cyclomatic complexity of anonymous functions, and I believe it should. That being said, I'm not too familiar with the concept of cyclomatic complexity, and I could be missing something.

@jrfnl
Copy link
Member

jrfnl commented Nov 27, 2024

Loosely related to #726. I think these two issues should probably be researched together and verified against an official definition for Cyclomatic Complexity (and possibly against some interpretations from other tools).

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

No branches or pull requests

2 participants