[Cs5500] AspectJ to help debugging
Karl Lieberherr
lieber at ccs.neu.edu
Tue Oct 4 05:04:19 EDT 2011
Yesterday we mentioned that a contribution of the Law of Demeter was that we can
measure the coupling in OO software using a simple rule.
Many LoD violations => high coupling
Few LoD violations => low coupling
This paper describes a program that counts LoD violations using AspectJ:
http://www.ccs.neu.edu/research/demeter/papers/law-of-demeter/checker/AspectJ-LoD-aosd-2003.pdf
Take a look to get a first impression of AspectJ. You may want to use AspectJ as
a debugging helper for SCG court.
-- Karl
More information about the Cs5500
mailing list