Another way is
to use the heuristic that a refactoring’s effects will be likely sites for
further refactoring. My current
algorithm sketch has each refactoring specifying weights for related program
elements and dependencies, reflecting their relative importance to the
programmer. Each element can be
rendered at certain levels of detail, and elements with higher weights are
given more screen space. Screen space
is allocated to maximize a weight*space score. |