Added
Behavior>>numberOfInstanceVariables

ClassDescription>>numberOfLinesOfCode
ClassDescription>>numberOfMethods

fixed some typos in the comments.

Tests are also proposed
#2366

In the inbox: SLICE-FewMetricsDefinedOnClasses-Alexandre_Bergel.1

Cheers,
Alexandre




On 25 Apr 2010, at 03:08, Stéphane Ducasse wrote:

I thought that CompiledMethod has something because marcus use it to compute some stats now
rationalizing would be good.

so propose something on pharo and
numberOfInstanceVariables would be better

On Apr 24, 2010, at 10:53 PM, Alexandre Bergel wrote:

I would like to have numberOfMethods,
, numberOfAttributes defined in Behavior.

the problems is that numberOfAttributes is not the right vocabulary.
Did you check for the other ones if there is not already an equivalent?

Behavior>>instSize returns the number of named variables, tacking class inheritance into account. ClassDescription>>numberOfMethods returns the number of local (ie not defined in a trait) methods

Behavior has nothing close to FAMIXClass>>numberOfLinesOfCode.

Cheers,
Alexandre



Stef

Stef, does this make sense? Shall I produce a slice and put it PharoInbox?

Alexandre



Stef
On Apr 23, 2010, at 8:05 PM, Alexandre Bergel wrote:

hi!

What about adding in FAMIXClass:
withAllSubclasses, allSubclasses, superclasses, withAllSuperclasses, allSuperclasses

FAMIXClass should be somewhat polymorphic to Behavior.
That would be useful... I can do it.

Any opinion?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
Moose-dev mailing list
moose-...@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
moose-...@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
Moose-dev mailing list
moose-...@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
moose-...@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
Moose-dev mailing list
moose-...@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
moose-...@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to