In the mean time, if you email hello@codeclimate.com we can configure it manually for your OSS repo.
527 karma · joined September 9, 2011
In the mean time, if you email hello@codeclimate.com we can configure it manually for your OSS repo.
Edit: We also automatically ignore minified files. If you need a hand with anything please shoot us an email and we can help you out (hello@codeclimate.com)
It looks for all the big issues (XSS, CSRF, SQLi). In many cases it means keeping track of where user input enters the system (e.g. params) and how it is eventually used. So if you interpolate a param into a string and then give that string to ActiveRecord, it will produce a warning with high confidence you're vulnerable to SQL injection.
We run it every 2-3 hours on your repo, then look for new things that come up and send out alerts.
More info about Security Monitor is here: https://codeclimate.com/security-monitor
http://blog.codeclimate.com/blog/2012/02/07/what-code-goes-i...
But really, in short, don't worry too much about it. Plan on reorganizing once or twice as you find what works for you.
-Bryan
* RE: Strategy pattern. My understanding of the strategy pattern is it simply refers to "algorithms are encapsulate and can be selected at runtime". (http://en.wikipedia.org/wiki/Strategy_pattern)
* RE: New class per object query. Agreed that grouping these can make sense. Had to keep the example brief.
* RE: Events. That's another approach -- thanks for the suggestion.
* RE: "View Model" vs. "View". I had it as "View Model" in the original draft and got feedback from reviewers that they are usually called just "Views". :-) I've heard it both ways .
Thanks for the questions!
-Bryan