Kdd Techniques for Abstraction of Legacy Software Systems