-
Notifications
You must be signed in to change notification settings - Fork 102
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
Implement cyclomatic complexity (McCabe) metric on a function level #689
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the plugin, here are my questions and change requests.
I haven't checked how the tests work yet, when I do, I'll complement my review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not particularly satisfied with this solution as it creates strong coupling between the cpp
and the cpp_metrics
plugin. However, I couldn't come up with a better solution either so be it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried running the tests now, too. They pass and seem to satisfy the requirements. The modifications also work well, so I approve this PR.
@intjftw Next time please squash the commits according to the project guidelines, as the PR did not really have a clean version history (multiple "debug", "fix" and similar commits). |
Closes #682