Hello,
I just created some visualizations (Marcus's idea) using DistributionMap
with SmallLint rules to check how distributed are the lint problems in a
class. I enclosed some figures with the distribution for some packages of
Moose.
So, the small boxes represent methods. The red color is a method with more
than 3 lint problems, the orange 2 problems, green 1 problem and white no
problem.
We can clearly see a lot of "lint problems" in Famix package. Of course, we
have some false-positives mainly for Glamour and Mondrian as we can check in
[1].
Btw, I also created a job in Hudson to generate a simple report with
smallLint rules in Moose (and Pharo):
Job:
https://pharo-ic.lille.inria.fr/hudson/view/LintReport/job/LintReportMoose
Report:
https://pharo-ic.lille.inria.fr/hudson/view/LintReport/job/LintReportMoose/…
regards,
[1] Lukas Renggli, Stéphane Ducasse, Tudor Gîrba and Oscar Nierstrasz, “
Domain-Specific Program Checking,” Proceedings of the 48th International
Conference on Objects, Models, Components and Patterns (TOOLS’10)
--
Andre Hora