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

Add new rule: Classes should not be too complex #10

Open
fabriciocolombo opened this issue Oct 9, 2015 · 0 comments
Open

Add new rule: Classes should not be too complex #10

fabriciocolombo opened this issue Oct 9, 2015 · 0 comments
Milestone

Comments

@fabriciocolombo
Copy link
Owner

Even when the Cyclomatic Complexity of a class is very high, this complexity might be well distributed among all methods. Nevertheless, most of the time, a very complex class is a class which breaks the Single Responsibility Principle and which should be re-factored to be split in several classes.

Maximum complexity allowed: 200

@fabriciocolombo fabriciocolombo added this to the 0.3.3 milestone Oct 9, 2015
@fabriciocolombo fabriciocolombo modified the milestones: 0.3.4, 0.3.3 Dec 18, 2015
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

1 participant