[Squeakfoundation]identifying existing apps to package
avi at beta4.com
Wed Feb 12 19:13:57 CET 2003
On Wed, 12 Feb 2003, Ned Konz wrote:
> I'd like to start the packaging process for parts of the 3.5 image, as
> I know Daniel and others have written tools for static analysis; I was
> hoping someone could come up with a good way to actually discover the
> contents of the different packages (strongly coupled clusters of
> otherwise independent classes along with class extensions that they
> use or that refer to them). Plus, I'd like to get the names of the
> major writers of the existing code.
The hard part, I think, is associating class extensions with the right
package. I added some dependency queries to PackageInfo as a step towards
being able to do this; PackageInfo>>browseExternalReferences is
particularly useful when trying to carve out the image manually, but I
never got anywhere with an automated tool to do this. My vague thought
was that any external references to that package (ie, methods that use
that package's methods or classes) could be evaluated for inclusion in the
package, and brought in if that would make the package have fewer external
references in total. After a few iterations this ought to converge on
some kind of rough approximation of the right methods, I hope - but I've
never tried it.
Is that the kind of tool you were thinking of?
More information about the Squeakfoundation