Hi!
I replaced maxHierarchyOfChildren by subclassHierarchyDepth in
Famix-Extensions. This method is tested in GroupTest. I am not sure this is
the right place to test it. If someone has a better location, I am happy to
change it.
I also added a test for the ahh metric. Cyrille, I change the definition of
ahh, maybe you want to have a look at it. I am not sure whether I preserved
its behavior or not. Check #testAverageHierarchyHeight please.
Comment of Famix-Extensions-AlexandreBergel.120:
-=-=-=-=-=-=-=-=-=-=-=-=
Removed maxHierarchyOfChildren from FAMIXClass and added
subclassHierarchyDepth.
Provide a better version (I hope :) of MooseGroup>>ahh.
These two methods are tested in GroupTest, class that belongs to
Moose-ModelTest
-=-=-=-=-=-=-=-=-=-=-=-=
Comment of Moose-ModelTest-AlexandreBergel.60:
-=-=-=-=-=-=-=-=-=-=-=-=
I moved the method GroupTest>>model from 'unclassified category' to a new
method category called 'utility'.
Added GroupTest>>testAverageHierarchyHeight and
GroupTest>>testSubclassHierarchyDepth
-=-=-=-=-=-=-=-=-=-=-=-=
Cheers,
Alexandre
--
View this message in context:
http://moose-dev.97923.n3.nabble.com/Getting-the-depth-of-the-subclass-hier…
Sent from the moose-dev mailing list archive at
Nabble.com.