[Q] Squeak author statistics

Norton, Chris chrisn at Kronos.com
Fri Aug 2 23:30:23 UTC 2002


Hiya.

I used my lunch hour to snoop around in Squeak 3.2.  Specifically I was
looking for statistics on those author initials that you see in the Browser
when you turn on the annotation pane preference.  Surprisingly, I got lost
in the code and didn't find what I was looking for!  (Yes, I used method
finder, etc.)

As I understand it, and my understanding of this area is rudimentary at
best, each selector has a CompiledMethod and that CompiledMethod has a link
(in its last 3 digits) to the source code in the sources file and that's
where you get your method sources.  Where is the author initials and
timestamp information kept?

What I was trying to do, was to create a script that would generate a list
of all of the author initials in the image, along with a count of how many
methods each person touched...  Just for fun.  :-)

I suppose someone has already written this script and I just haven't found
it yet.  In any case, will one of you experts please explain briefly how the
source code is maintained in the Squeak image?  Or could you please point me
to a description of this mechanism on the web?

Thanks so much!

---==> Chris

PS>  If I don't receive a reply within the next week or so, I'll dig in,
find it out for m'self and post a follow-up.



More information about the Squeak-dev mailing list