-
Notifications
You must be signed in to change notification settings - Fork 281
FeatureEnvy and small methods #1535
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
Comments
I would be perfectly fine with making it less strict. Maybe everything less than 3 statements is fine? |
I just came here to suggest giving a tolerance option—e.g. tolerance of |
This is adding a configuration `max_calls` key for the FeatureEnvy smell detector Fixes troessner#1535
This is adding a configuration `max_calls` key for the FeatureEnvy smell detector Fixes troessner#1535
This is adding a configuration `max_calls` key for the FeatureEnvy smell detector Fixes troessner#1535
This is adding a configuration `max_calls` key for the FeatureEnvy smell detector Fixes troessner#1535
I'd like to upvote the use of three statemens or less being the default tolerance. Anything more than three statements would be fine for causing a violation because I often find that the current setting is too strict for most situations but once you go beyond three occurances, then yeah, you have a problem. Would definitely be nice to fold this in. |
I'm really beginning to dislike the FeatureEnvy detector for small methods:
Should we make this less strict? Require a larger difference? More statements? WDYT?
The text was updated successfully, but these errors were encountered: