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

Rule to work out simple complexity measure for functions #88

Merged
merged 9 commits into from
Oct 11, 2015

Conversation

justinmclean
Copy link
Contributor

Warn if function have too many branch points in them and suggest they be broken up.

@ryaneberly
Copy link
Contributor

@justinmclean
You probably want to be caseinsensitive

name.equalsIgnoreCase("cfif")

@justinmclean
Copy link
Contributor Author

Just about every other rule allso uses equals, do these also need to be updated?

justinmclean added a commit that referenced this pull request Oct 11, 2015
Rule to work out simple complexity measure for functions
@justinmclean justinmclean merged commit f05b414 into dev Oct 11, 2015
@justinmclean justinmclean deleted the simplecomplexity branch October 11, 2015 12:45
@ryaneberly
Copy link
Contributor

I would need to test that. I'm almost certain that is the case. Just noticed it on this one :-)

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

Successfully merging this pull request may close these issues.

2 participants