cool!I tried and it worked for the "long method" rule (as in the example), but I could not make it work for "Message sent not implemented", do you know why? Maybe I have to put the message not implemented in the pragma? how? Also, how do you specify a false positive on a class, not on methods? (for example "Class not referenced") And for variables? (for example "Variables not referenced") Thanks! Hernan. On Tue, May 19, 2009 at 10:35 AM, Stéphane Ducasse < stephane.ducasse@inria.fr> wrote:
http://code.google.com/p/pharo/wiki/SmallLintPharoFixing
On May 19, 2009, at 1:55 PM, Hernan Wilkinson wrote:
Hi, some years ago I ported a tool we created in VisualAge called ExpectedSmallLintFailures to Squeak ( http://map.squeak.org/package/25c17dc0-bf31-4215-8ba9-bf0df8157449 ) That tool allows to register expected smalllint failures to avoid getting false positives everytime you run smalllint. I tried to load it yesterday in pharo and I had some problems because SmallLint's design has changed a lot (I like it much better the way it is now). I could loaded it finally, but it does not run. So, is there a way to register false positives in the "new small lint"? I'd like to know also if there is a way to run just the bugs or a specific rule (and not all the smalllint rules) using the code critics UI.
Thanks! Hernan.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project