Class categegory statistics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Class categegory statistics

Hannes Hirzel
Hello

I have started adapting a code snippet to Cuis for doing a class
statistics by category (packages)

Adapted from: http://wiki.squeak.org/squeak/3087 , does not work yet.


String streamContents:
[ :stream | self systemCategoryList do:
       
        [ :cat | stream nextPutAll: '!', cat asString, String crlfString .
               
                (SystemOrganizer new listAtCategoryNumber:
                        (self systemCategoryList indexOf: cat ))
                        do: [ :class | stream nextPutAll: '-', class asString, String crlfString.
                                ]
                        ]
].



Could go later into menu 'Help' / 'Useful expressions' workspace.

-- Hannes

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org